Registry structure

zhaozj2021-02-16  72

The registry is an internal database of Windows and is a huge tree-hierarchical database. It accommodates all configuration information of the application and computer system, the initialization information of the system, the application, and the association between the application, and the document file, the instructions, status, and attributes of the hardware device, and various status information and data. Mainly Win95, the system is mostly using the registry to control the system and application, edit the registry has a variety of methods, the most commonly used registry editor, enter regedit in the run, you can open, Win2000 and later is that the system can also be opened in the system. All data is organized by a tree structure with a key and subkey, just like the directory structure of our disk file system. Each key contains a set of specific information, and the key name of each key is associated with the information it contains. If a key contains a subkey, there will be " " symbols in the left side of the folder that represents this key in the Registry Editor window to indicate more content in this folder. If this folder is opened by the user, then this " " will become "-", we can open the registry tree like open the folder, of course, we sometimes don't know which key we are looking for. Which Below under the catalog, we have to search the corresponding keywords. Let's take a look at the meaning of the six branches of the topmost of the registered tree.

1.HKEY_CLASSES_ROOT

Management file system. According to the extension of the application installed in Windows, the root key indicates the name of the file type, and the program to be called by the file is opened accordingly.

2.HKEY_CURRENT_USER

Manage the current user information. The currently logged in user information stored in the local computer is saved in this root key, including the user's login user name and a temporary password. When the user logs in to Windows, the information is copied from the corresponding item in HKEY_USERS to the HKEY_CURRENT_USER.

3.HKEY_LOCAL_MACHINE

Manage the current system hardware configuration. The local computer hardware configuration data is saved in this root key. The sub-key under this root key is included in System.DAT to provide the information required for HKEY_LOCAL_MACHINE, or in a set of keys that can be accessed in the remote computer. Generally commonly used software information is saved in the sub-key Software under this key.

Many of this root key is similar to the setting items in the System.ini file.

4.hKey_Users

Manage the user information of the system. The user ID and password list stored in the local computer password list is stored in this root key. Each user's pre-configuration information is stored in the HKEY_USERS root key. HKEY_USERS is one of the root keys access to the remote computer.

5.HKEY_CURRENT_CONFIG

Manage the current user's system configuration. Save data defined in this root key (such as a display, etc.), which uses the document list (MRU), application configuration, and other information about the current user's Windows.

6.hKey_Dyn_Data

The management system runs data. The system is saved in this root key to dynamic data at runtime, which is changed every time, so the information under this root key is not placed in the registry.

转载请注明原文地址:https://www.9cbs.com/read-24188.html

New Post(0)