What is the role of the Registry and registry?
Registry is a Windows 95 system used by Microsoft (which is still used by the latest Win2000 system). It is introduced to replace the ifiles in the original Win32 system,A new core database for managing and configuring system running parameters.This database integrates the initialization information of all systems and applications.It includes the description of hardware devices, associated applications and documents, window display mode, network connection parameters, and even network sharing settings related to computer security. Compared with the INI files in the old win32 system, it is convenient for management, high security, and suitable for network operations.
In form, the Registry and the INI file have two notable features: 1. The Registry uses binary login data, while the INI file uses simple text login data.
2. The Registry supports subkeywords. subkeywords at all levels have their own "key values". In the INI file, parameters in the section and section are supported.
Function, registry and. INI files have the following three features: 1. the registry allows tracking configurations for hardware, some operating system parameters, applications, and device drivers, which allows changes to certain configurations to take effect immediately without restarting the system.
2. Some hardware data logged on to the registry can be used to support the plug-and-play feature of Win95. When Win95 detects various devices on the machine, it stores the data in the registry. This check is usually performed during installation, but it is also required when Win95 is started or the original configuration is changed. For example, when a new hardware is installed, Win95 checks the registry to determine which resources are occupied, so as to avoid resource conflicts between the new device and the original device.
3. Through the registry, Administrators and Users can check system configurations and settings on the network to achieve remote management.
Predefined keywords
The Registry uses the "keyword" and "key value" to describe logon items and their data. All keywords start with "HKEY. In fact, a keyword is a handle. This Convention allows application developers to use registry APIs in programs. To this end, Win95 provides several API functions to add, modify, query, and delete registry logon items when developing Win95 applications. Keywords can be divided into two categories: one is defined by the system, usually referred to as the "predefined keyword"; the other is defined by the application, and the installed application software is different, the logon items are also different.
Because the information stored in the registry contains many parameters necessary for system startup, once a problem occurs, it will cause serious consequences such as system crash, in addition, because the registry contains many system parameters that cannot be operated by the operating system itself, it is indispensable for every old bird to understand and learn how to use the registry.