In the days of 16-bit Windows, all settings were stored in initialization files. The two main files for storing settings were the SYSTEM.INI and WIN.INI files. As each application was installed, it stored its settings in these two files.
These applications could store only a limited set of entries because of the INI files were restricted to 64K. To solve this, application developers started to use their own INI files. This seemed to be a good idea, but as the number of applications grew, so did the number of INI files. And as each INI file grew, the system would often slow down.
The registry was born in the same time with Windows NT in 1993 and it was the answer to Windows INI files. The registry is a hierarchal, relational database that holds system information, application settings, operating system configuration data, and more.
The information stored includes everything from the display settings to the hardware configuration. To speed access time, the registry is stored in binary format and is composed of multiple files.
Under Windows 2000/XP/2003, user-related settings are stored in a file called ntuser.dat. This file is stored in the user’s profile directory located in the %USERPROFILE% directory. System settings are stored in the SYSTEM32\CONFIG directory and consist of the following five files:
Read the rest of this entry »