What does the registry consist of?

anonymity
Release: 2020-09-16 16:46:57
Original
8486 people have browsed it

The registry consists of keys, subkeys and value items. A key is a folder in the branch, and the subkey is the subfolder in this folder. The subkey is also a key. A value item is the current definition of a key, which consists of name, data type and assigned value composition.

What does the registry consist of?

The registryis composed of keys, subkeys and value items. A key is a folder in a branch, and a subkey is The subfolders and subkeys in this folder are also a key. A value item is the current definition of a key, consisting of name, data type, and assigned value. A key can have one or more values, each with a different name. If a value has an empty name, that value is the default value for the key.

HKEY_CLASSES_ROOTis used to control the extension of all files and information related to all executable files. The Windows custom protocols mentioned in this chapter are also registered in this item (will be described in later chapters) Detailed description);

HEKY_CURRENT_USERis used to manage the current user information of the system and related information of its applications, such as: currently logged in user information, including user login user name and temporary storage Password, application software information used by the current user, etc. When a user logs in, his information will be copied from the HEKY_USER table to this table. When the information in the HEKY_USER table changes, the information in the HEKY_CURRENT_USER table will also change accordingly;

HKEY_CURRENT_MACHINEUsed to store control system and software information, including all software device information on the network and hardware, such as file location, registered and unregistered status, version number, etc.; more commonly used, such as HKEY_LOCAL_MACHINE\Microsoft\Windows\ Register the program under CurrentVersion\Run, and the program will automatically run when Windows starts, etc. In fact, HKEY_CLASSES_ROOT information is included in HKEY_LOCAL_MACHINE\SOFTWARE\Classes, and HKEY_CLASSES_ROOT is just a mapping of its key value to facilitate information management;

HEKY_USERThe function is to combine the default user and The currently logged-in user's information is entered into the Registry Editor, but it is only used by those logged-in users whose profiles are active. When any information in HKEY_CURRENT_USER changes, the information in HKEY_USERS will also change accordingly.

HKEY_CURRENT_CONFIGUsed to store the current system configuration. For example, when Windows installs multiple drivers for the same hardware, multiple program information will be recorded in HEKY_CUREENT_MACHINE, and in HEKY_CURRENT_CONFIG only stores the driver information used by default. When Windows starts, it will call the relevant driver by default according to the configuration in HEKY_CURRENT_CONFIG.

The above is the detailed content of What does the registry consist of?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!