Introduction
Central element of Windows since Windows NT and 95 (even if it already existed in Windows 3.1, with a more restricted role), the registry is a great unknown for a number of users. Among the common places that are circulating about him, you know vaguely that it grows as installations, and it would be a factor worsening performance of Windows, which in extreme cases, led to its relocation. However, if one examines them, it provides a number of important information on the system, and lets you modify certain parameters, namely the condition of use.
To see more clearly, we offer an overview of the registry: what is it, how it is structured, what are the important elements… We will try to answer these questions, and that the questions raised about its growing problems of size and potential impact this may have on performance.
Warning: the words and concepts that we will detail in this article may be too technical for a neophyte user. Modify the registry of Windows is a complex task that can lead to instability in the system or make it unusable. If this is your case, do not run in this operation without the guidance of an expert.
Definition of the registry
The registry database contains, all information relating to the configuration of Windows: Windows settings and applications built into the system, third-party software settings, preferences of different users of the system or file associations are stored. The base replaces the many text files containing such information in MS DOS and Windows 3.x (Autoexec.bat, Config.sys and other files. INI). Windows includes the famous course Regedit to view and edit the content. Little detail: even if we talk about Windows registry in our article, the term is commonly used, Microsoft generally uses the term Register.
Before embarking on the exploration of each key, it also seems important to explain the different types of data that may be encountered in the database. A directory of the registry is called a key. The key may contain different data:
- REG_BINARY: binary data figures it is strongly discouraged editing. These data are easy to spot in the editor: they present themselves as "ff 00 05 00 01 02 00 ... » "
- REG_DWORD: coded data from 32 bits, which can take the form decimal or hexadecimal
- REG_SZ: strings, frequently used in the base. It should be noted two other types of chains of character: the type REG_MULTI_SZ chains may contain several channels, while chains such REG_EXPAND_SZ are scalable and can contain variables.
Structure of the registry
The registry database is broken down into 5 main sections. Each section contains information relating to a category of parameters. These sections are also known as hives ( "Hives"), but they are more commonly called "key" in referring to sub-categories as sub keys.
HKEY_LOCAL_MACHINE
Also called HKLM, this branch includes mainly the system and equipment parameters such as security settings, adjusting software built into Windows and third-party software, access roads to applications, information on the hardware configuration or some parameters network. In examining the tree, there are including the following keys:
- HARDWARE: this subkey includes information on the hardware configuration, as detected by the Windows startup. By deploying in the sub-category Description, for example, you can find information on the processor, as reflected in the panel system from Microsoft. It is also in DeviceMap and RessourceMap, information on devices and system resources. The key is generated each startup from material detected.
- SECURITY and SAM: both contain key information on user accounts. he key change is impossible, even for a system administrator.
- SOFTWARE: as its name suggests, the key Software contains parameters relating to software included in Windows, as well as third-party software. It should be noted that in deploying the keys are held under the tree Publisher / Software. The parameters present in the key SOFTWARE are parameters that apply to all users. Other parameters specific to the user find the keys HKEY_USERS or HKEY_CURRENT_USER.
- SYSTEM: this subkey contains parameters equipment and system information, such as pilots or system memory. It should be noted that under contains two key games configuration, Windows always using the latest game configuration has not been a problem.
HKEY_ USERS and HKEY_CURRENT_USER
This branch is called usually HKU contains information about users of the system. There are parameters including the appearance of Windows, setting accessibility, location, account settings Outlook Express / Windows Mail, user settings for software, or even parameters printing. By deploying the key HKEY_USERS, we notice several entries, including a first entitled DEFAULT. This entry contains default settings that will apply to all users of the system. There are also entries for the different users of the machine, whose current user, which is also the root of the key HKEY_CURRENT_USER (HKCU) The information for each user break down as follows:
- AppEvents: records the sounds associated with events Windows
- Console: all the parameters windows command line (MS-DOS) as colors, fonts or size of the cursor
- Control Panel: includes all settings in the Control Panel (mouse settings, desktop theme, colors and accessibility, international parameters ...
- Identities: includes parameters Outlook Express / Windows Mail
- Keyboard: information on the keypad
- Printers: information on printers installed
- Session Information: displays the number of applications open
- Software: contains certain parameters users installed applications. This section is not the Software section of the key HKEY_LOCAL_MACHINE that stores software parameters valid for all users: here, the parameters are specific to the user in question. We find the same tree Publisher / Software.
HKEY_CLASSES_ROOT
This section contains all information relating to the combination of different types of files with applications that launch from the explorer. It is the merger of two information subkeys: HKEY_LOCAL_MACHINE \ Software \ Classes and HKEY_CURRENT_USER \ Software \ Classes. The tree lists the various file extensions and programs associated with them. In fact, this brings together key information from two other locations: HKEY_LOCAL_MACHINE \ Software for associations applying default, and HKEY_CURRENT_USER \ Software for the parameters that apply to the user, the latter being the first priority.
Changing the information contained in this key allows to specify the applications necessary to open a certain file type. The information contained correspond to the possibilities offered options since records Explorer in Windows XP (File Types tab) or from the panel Programs default in Windows Vista: the applications that support the extension (called "Applications recommended" when you change a file associations in the explorer), but also the actions associated with a file type (reading, opening new…).
HKEY_CURRENT_CONFIG
This branch is a copy of the information contained on the site HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Hardware Profiles \ Current. It gathers information on the hardware profile in use. This information is collected to start the PC.
Bookmarks