Daddy Bob

DADDY BOB'S COMPUTER Q & A

 

March 30, 2008

Q. I have heard the term "registry" often used with respect to a computer. Just what is the registry?

A. The Windows registry is a composed of a couple of files that are arranged like a normal Windows Directory. It is the main storage place for the settings and options for the Windows operating system. It is present in all current 32-bit versions, 64-bit versions. It contains information and settings for all the hardware, operating system and most other software settings, the users, their preferences etc.

Whenever you make changes in the Control Panel settings, to the file associations, any system policies, or most installed software, the changes are reflected and stored in the registry. The registry also provides runtime information such as performance counters and currently active hardware.

The Windows registry was first used in Windows 95 to centralize this storage area. Previously, this kind of information was stored in .ini files that were scattered all over the place, and very difficult to find, edit, track or control.

This central location of all this important information has many advantages, but also one major disadvantage. It becomes very easy for the novice to make a wrong change to the registry that could have disastrous consequences, including setting Windows to an unusable state. For this reason, there is always a warning mentioned with registry editing that extreme care must be taken, and a backup is always recommended.

Windows includes a program called "regedit" that facilitates viewing or editing the registry. Prior to XP, there were two programs, regedit.exe and regedt32,exe. Generally speaking, regedt32 was the more powerful and allowed deeper viewing and edition. However, with XP and Vista, all the functions of both were incorporated into regedit, and entering either one displays the same thing.  

The registry contains two basic elements, keys and values. Registry Keys are similar to folders and each key can contain subkeys, which may contain further subkeys, and so on. Any of these keys or subkeys can also contain values. The Keys are referenced the same way that the path to a file is done in the windows directory. As an example;  HKEY_LOCAL_MACHINE\Software\Microsoft\Windows would refer to the subkey "Windows" of the subkey "Microsoft" of the subkey "Software" of the HKEY_LOCAL_MACHINE key.

Registry Values contain the value name followed by its value. These values can be in three main different forms. String, Binary or DWord. A string is any combination of characters consisting of text and may also contain numbers. Binary is the actual digits, and can be displayed as 1's and 0's, or more likely in hex format. A "word" in computing is simply a fixed-sized group of bits that are handled together by the machine. A DWord consists of four 8-bit bytes. 

I could go into a lot more detail, but won't as it gets a whole lot more technical and difficult to explain or understand.  Suffice it to know the since the registry contains just about everything concerning the how, who, when and why of Windows. Therefore, it is critical that modifications not be made without a pretty good understanding of what it is all about. It is also a very good idea to know how to recover from a boo-boo just in case you create one.

Click HERE to view or download as a Microsoft Word document

Disclaimer:

The materials in this site are provided "as is" and without warranties of any kind, either express or implied. To the fullest extent permissible pursuant to applicable law, I disclaim all warranties, express or implied, including, but not limited to, implied warranties of merchantability and fitness for a particular purpose. I do not warrant that the functions contained in the materials on this site will be uninterrupted or error-free, that defects will be corrected, or that any site or the servers that make such materials available are free of viruses, spyware, adware, or other harmful components, although all efforts have been made to assure that they are. I do not warrant or make any representations regarding the use or the results of the use of the materials on this site in terms of their correctness, accuracy, reliability, or otherwise. You assume the entire cost of all necessary servicing, repair, or correction. Applicable law may not allow the exclusion of implied warranties, so the above exclusion may not apply to you.