Learn about the Windows Registry - Part I

1. Introduction to the Registry

Registry is a database used to store Windows specifications. It records all information when you change, edit in Settings Menu, Control Panel .

2. Where the Registry is stored

In Win95 & 98, the Registry is recorded in 2 files: user.dat and system.dat in the Windows directory. In Windows Me, the Registry is stored in the Classes.dat file in the Windows folder. In Win2K Registry is saved in the "WindowsSystem32Config" folder.

3. Is the Registry editable?

Registry can edit directly, change parameters through the Registry Editor editor. Run Registry Editor by typing regedit in the Run window.

4. Structure of the Registry

The registry has a tree structure, similar to the directory structure. Usually there are six main branches. Each branch is assigned the task of keeping separate information. In the main branches there are many sub-branches. These sub-branches are also kept separate information.

  1. HKEY_CLASSES_ROOT: Save shared information for the entire system.
  2. HKEY_CURRENT_USER: Save the information for users Logon.
  3. HKEY_LOCAL_MACHINE: Save information about the system, hardware, software.
  4. HKEY_USERS: Save the information of all Users, each user is a branch with the ID number of that user
  5. HKEY_CURRENT_CONFIG: Save information about the current hardware in use.
  6. HKEY_DYN_DATA: This is also part of HKEY_LOCAL_MACHINE branch.

5. Data types used in the Registry

  1. REG_BINARY: Binary type
  2. REG_DWORD: Double Word style
  3. REG_EXPAND_SZ: Special extension string type. Example: "% SystemRoot%"
  4. REG_MULTI_SZ: Special string type
  5. REG_SZ: Standard string type

6. Why do you need to know about the Registry?

  1. The Registry stores all the information about the hardware, software, and user choices . controlling the contents of the Registry is an essential requirement for you to use your PC in a scientific way, better understanding the environment. The field is a Windows operating system.
  2. Want to go further in Windows-based programming, how to secure, cracking, and hacking you need to have a certain understanding of the Registry.
  3. Most of the Windows tricks that popular Vietnamese computer magazines have been and will be closely related to the Windows Registry.

7. Warning!

When using Registry Editor you must perform a Registry backup. Any changes can cause your computer to not start, hang, . Back up by running Registry Editor: File - Export . and save to a safe place.

If you do not have knowledge of Windows Registry, please read a bit of instructions below.

The following lines of the words: User Key, Sytem Key, or Key indicate the path to the branch to be repaired or created if it does not exist.

Note: User Key: is for that change to work with Logon users. System Key: is for that change to work for all users.

The Name line is the name of the key to be created, which is the sub-branch on the right side of the Registry

The Type line is the data type of the newly created key

Line: Value is the value of the key

ACTIVE DESKTOP

Whether or not the Desktop mode works:

User Key: HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Policies Explorer
System Key: The HKEY_LOCAL_MACHINE Software Microsoft Windows CurrentVersion Policies Explorer
Name: ForceActiveDesktopOn
Type: REG_DWORD (DWORD Value)
Value: (0 = default, 1 = enabled)

Some prevent the Desktop mode from working.

  1. NoChangingWallpaper - Do not allow changing Wallpaper image.
  2. NoComponents - Do not allow displaying components.
  3. NoAddingComponents - Do not allow adding new components.
  4. NoDeletingComponents - Do not allow to delete components.
  5. NoEditingComponents - Do not allow milk components.
  6. NoCloseDragDropBands - Does not allow drag and drop functionality on the Desktop.
  7. NoMovingBands - Does not allow dragging and dropping Taskbar to other places on the Desktop.
  8. NoHTMLWallPaper - Bitmaps (BMP) format only.

User Key: HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Policies ActiveDesktop.
System Key: HKEY_LOCAL_MACHINE Software Microsoft Windows CurrentVersion Policies ActiveDesktop.
Type: REG_DWORD (DWORD Value)
Value: (0 = disable restriction, 1 = enable restriction)

Hide Active Desktop function from Menu Settings on Start Menu.

User Key: HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Policies Explorer.
System Key: The HKEY_LOCAL_MACHINE Software Microsoft Windows CurrentVersion Policies Explorer.
Name: NoSetActiveDesktop
Type: REG_DWORD (DWORD Value)
Value: (0 = disable restriction, 1 = enable restriction)

Do not change the Active Destop mode.

User Key: HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Policies Explorer
System Key: The HKEY_LOCAL_MACHINE Software Microsoft Windows CurrentVersion Policies Explorer
Name: NoActiveDesktopChanges
Type: REG_DWORD (DWORD Value)
Value: (0 = disable restriction, 1 = enable restriction)

CONTROL PANEL

Do not allow changes to the styles of Controls.

This section will restrict part or all of the Appearance tab in Display. Assign value 0: to show, 1 to hide with key names given below.

  1. NoVisualStyleChoice - does not allow to change the style of windows and click.
  2. NoColorChoice - Not allowed to change the color scheme.
  3. NoSizeChoice - Not allowed to change the font size.

You access the following key:

  1. User Key: HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Policies System.
  2. Name: NoColorChoice, NoSizeChoice, NoVisualStyleChoice, SetVisualStyle.

Turn off Themes Settings in Display in Control Panel

Themes Settings to change the style of the push button windows. If you don't like it, save it by creating a new key named `NoThemesTab` and assigning it a value of 1.

  1. User Key: HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Policies Explorer.
  2. System Key: The HKEY_LOCAL_MACHINE Software Microsoft Windows CurrentVersion Policies Explorer.
  3. Name: NoThemesTab
  4. Type: REG_DWORD (DWORD Value)
  5. Value: (0 = default, 1 = enable restriction)

Turn off the change mode of Keyboard Navigation Settings in Control Panel:

User Key: HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Policies Explorer.
System Key: The HKEY_LOCAL_MACHINE Software Microsoft Windows CurrentVersion Policies Explorer.
Name: NoChangeKeyboardNavigationIndicators
Type: REG_DWORD (DWORD Value)
Value: (0 = default, 1 = enable restriction)

Prevent animation feature Animation Settings.

User Key: HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Policies Explorer.
System Key: The HKEY_LOCAL_MACHINE Software Microsoft Windows CurrentVersion Policies Explorer.
Name: NoChangeAnimation
Type: REG_DWORD (DWORD Value)
Value: (0 = default, 1 = enable restriction)

Control animation mode:

User Key: HKEY_CURRENT_USER Control Panel Desktop WindowMetrics
Name: MinAnimate
Type: REG_SZ (String Value)
Value: (0 = disable, 1 = enable)

Turn off Settings of Display in Control Panel:

This also means that you cannot change the resolution of the Settings screen.

User Key: HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Policies System.
System Key: HKEY_LOCAL_MACHINE Software Microsoft Windows CurrentVersion Policies System.
Name: NoDispSettingsPage
Type: REG_DWORD (DWORD Value)
Value: (0 = disabled, 1 = enabled)

Turn off the ScreenSaver section of Display in Control Panel:

When ScreenSaver is turned off, it does not turn off the ScreenSaver mode, which is hidden for changes to the ScreenSaver. So before you turn it off, you have to consider.

User Key: HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Policies System.
System Key: HKEY_LOCAL_MACHINE Software Microsoft Windows CurrentVersion Policies System.
Name: NoDispScrSavPage
Type: REG_DWORD (DWORD Value)
Value: (0 = disabled, 1 = enabled)

Turn off the Display background change item in Control Panel:

Do not change the wallpaper, Desktop background color.

User Key: HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Policies System.
System Key: HKEY_LOCAL_MACHINE Software Microsoft Windows CurrentVersion Policies System.
Name: NoDispBackgroundPage
Type: REG_DWORD (DWORD Value)
Value: (0 = disabled, 1 = enabled)

Turn off the Appearance section of Display in Control Panel.

User Key: HKEY_CURRENT_USER Software Microsoft Windows CurrentVersion Policies System.
System Key: HKEY_LOCAL_MACHINE Software Microsoft Windows CurrentVersion Policies System.
Name: NoDispAppearancePage
Type: REG_DWORD (DWORD Value)
Value: (0 = disabled, 1 = enabled)

5 ★ | 1 Vote

May be interested

  • 36 best free registry cleaning software 201836 best free registry cleaning software 2018
    registry cleaning software removes unnecessary items in the windows registry. registry cleaning software is especially useful when removing registry entries that point to files that no longer exist. the article will give a list of the 36 best free registry cleaning software.
  • How to disable Windows Registry on Windows 10How to disable Windows Registry on Windows 10
    the windows registry is one of the most important tools in windows 10. since it can profoundly change the way your operating system works, allowing every user on your pc to access it isn't a big deal. good opinion.
  • Backup and restore the Registry in Windows XP (The last part)Backup and restore the Registry in Windows XP (The last part)
    anyone who has ever used a computer is certainly familiar with how to make changes within the system through middleware. control panel is a good example. changing a setting within control panel means changing the contents of a particular registry. the only thing you can't know is what registry is and how it works
  • How to export the Registry key in WindowsHow to export the Registry key in Windows
    the windows registry is a centralized decentralized database used by windows to store system settings, hardware configurations, and user preferences. below, tipsmake provides two methods that you can use to export data from the windows registry.
  • How to fix a corrupted Registry on Windows 10How to fix a corrupted Registry on Windows 10
    registry on windows 10 plays a very important role on the system, when the registry is damaged, windows 10 often appears many different errors that affect the operation of the software.
  • How to re-enable Registry backup on Windows 10How to re-enable Registry backup on Windows 10
    in may 2020, microsoft announced that windows 10 will no longer automatically back up the registry starting with version 1803. you can still back up the registry manually, but in many cases, the automatic backup feature very helpful.
  • How to Fix Registry Errors in Windows 7How to Fix Registry Errors in Windows 7
    your windows 7 registry contains the entire 'blueprint' of your windows installation. if your registry gets corrupted, either through a bad driver, a failed uninstallation, or a variety of other reasons, you can usually quickly fix it by...
  • 50 Registry tricks to help you become a true Windows 7 / Vista 'hacker' (Part 2)50 Registry tricks to help you become a true Windows 7 / Vista 'hacker' (Part 2)
    aero shake is one of the interesting new features on windows 7. with this feature you can open the title bar window and shake it over and over to minimize everything. this is an interesting feature, but in some cases this feature makes users uncomfortable. so how to disable aero shake on windows 7?
  • Backup and restore Registry on WindowsBackup and restore Registry on Windows
    using the registry to edit the system is always one of the top choices of users and sometimes leads to situations that cause serious system failure.
  • Learn about HKEY_LOCAL_MACHINE (HKLM Registry Hive)Learn about HKEY_LOCAL_MACHINE (HKLM Registry Hive)
    hkey_local_machine, often abbreviated as hklm, is one of several registry hives that make up the windows registry.