Linux Enterprise Cluster: Build a Highly Available Cluster with Commodity Hardware and Free Software

The registry concept itself isn't new to Windows. However, the modern registry is an impressive advance in improving system manageability from a single source—the registry database. This database was developed as a basis for all system-wide hardware and software parameters and custom user settings that exist in Windows.

The first successful operating system from the Windows family was Microsoft Windows 3.1. This system had three different types of configuration files:

In contrast to INI files, which were ASCII text files available for editing by any text editor or word processor, the Reg.dat file was a binary file. To edit this file, the user needed a special application called Registry Editor (Regedit.exe). When the user started the REGEDIT.EXE /v command, this application displayed the Reg.dat file as a hierarchical structure with nested parameters. However, the structure of Reg.dat was far simpler than the structures of the modern registry.

Drawbacks of INI Files

One of the most significant problems related to INI files was their manageability. The standard set of INI files, created during the installation of Windows 3.x, didn't present any difficulties. However, as the user installed and deleted applications, the number of INI files constantly grew. This approach had some serious drawbacks:

On the other hand, however, this recommendation was just producing another limitation, because it was restricting the capabilities of sharing information among applications.

Note 

Any Windows-compatible application (this is true for both Windows 9x/ME and Windows NT/2000/XP) has to meet a set of requirements, one of the most important being the presence of uninstall capabilities. Automatic uninstall capabilities which allow the user to delete the application correctly aren't new. However, implementation of this concept in Windows 3.x was far from easy. Modern operating systems that belong to the Windows family store all configuration data in the registry, which makes implementation of uninstall capabilities an easy task.

The Purpose of the Registry

The registry is a successor to INI files, which had serious drawbacks and limitations and were so inconvenient to use. Windows NT 3.5 was the first operating system from the Windows family that had a registry more or less similar to the modern one (at that time, the registry had 4 root keys: HKEY_LOCAL_MACHINE, HKEY_CURRENT_USER, HKEY_CLASSES_ROOT, and HKEY_USERS). The new component of the operating system represented the centralized source of configuration information, which provided the capability of managing the system environment much more efficiently.

Windows NT/2000/XP system components that use the registry are briefly described below:

Категории