speedupmypc

Windows Registry Structure

Home Features Download Buy FAQ Reviews
Home Free Scan Features Order Download Screenshots

How is the Windows Registry Structured?

The registry database is stored in a hierarchical structure as may be seen from the screen shot below. It may be best to conceive the registry as a tree divided into a number of areas or branches. Depending on your Windows version, the Registry comprises four to six sub-trees of keys called hives (also referred to as discrete files).

Each hive contains a Registry sub-tree, which has a key that serves as the root (i.e., starting point) of the tree. A registry hive is a group of keys, subkeys, and values in the registry that has a set of supporting files containing backups of its data. Subkeys and their values reside beneath the root. The values contain the actual information stored in the Registry.

The majority of the information in the Registry is placed there automatically by Windows when the operating system is installed. The rest comes from applications and hardware via installation routines.




The following screen-shots are taken from the Windows Registry Editor (type 'regedit.exe' at the Start Menu->Run prompt).

Windows Registry Structure - Windows Registry Editor

Folders represent keys in the registry (files represent hives) and are shown in the navigation area on the left side of the Registry Editor window. In the topic area on the right, the entries in a key are displayed. When you double-click a entry, it opens an editing dialog box.

Windows Registry Editor - editing dialog

As such, what you need to remember is that there are six root keys, each of which contains specific registry information:


  • HKEY_CLASSES_ROOT contains file associations and OLE information necessary to launch applications.


  • HKEY_CURRENT_USER contains the configuration information for the user who is currently logged on the machine.


  • HKEY_USERS branch contains the profiles (including all the specific data) of all the users of the particular computer.


  • HKEY_LOCAL_MACHINE has computer-specific configuration information used for all users who log onto computer.


  • HKEY_CURRENT_CONFIG contains all the relevant information relating to the hardware installed on the particular computer.


  • HKEY_DYN_DATA stores all plug and play information on the computer.


  • File Associations




  • Each registry value is stored as one of six main data types:


  • REG_BINARY: The data is in raw binary. Most of the information relating to hardware components is stored in this format and may be displayed by the Windows Registry Editor in hexadecimal format.


  • REG_DWORD indicates that the data type is stored in a double word, always displayed as a four-byte number. Device drivers and services parameters are often of this type and can be viewed in binary, hexadecimal, or decimal using the Registry editor.


  • REG_EXPAND_SZ relates to a data string of variable length. This data type includes variables that are resolved when a program or service uses the data.


  • REG_MULTI_SZ is a multiple string. Values of this type of data usually contain list or multiple values that users are able to read.


  • REG_SZ relates to a fixed length text string.


  • REG_FULL_RESOURCE_DESCRIPTOR are used in hardware registry keys.


  • You should know changing any registry by yourself is too risky, if you don't know anything about computer performence that would be a good indication of don't touch. Here we recommend Registry Booster, a powerful tool helps you to clean, backup, restore and defrag registry by few clicks.



    "94% of computers have corrupt, unused, and possibly harmful files."
      Buy a full version: $29.95


    Recommended by:
    How to:

    Install Registry Booster
    To install Registry Booster successfully, please follow the steps as shown here.

    Backup Windows Registry
    3 Steps to backup your Windows registry files.

    Restore Windows Registry
    Registry Booster provides complete restore support to help you go back to previous configuration.

    Defrag Windows Registry
    Registry Booster is designed to defrag your registry so that your computer runs more efficiently.

    Repair Windows Registry
    As a powerful registry tool, Registry Booster can repair Windows Registry easily and quickly.

    Fix ActiveX Error
    Registry Booster performs complete heuristic analysis of ActiveX section as it is interlinked and interdependent and helps you to fix its error.

    Fix Invalid File Associations Problems
    Registry Booster will search for such invalid file associations and help you to fix them.

    Fix Application Path Problems
    Registry Booster detects and repairs invalid or missing application path references that keep cluttering the registry.

    Fix Automatic Startup Problems
    Registry Booster quickly scans for unused, obsolete Start Menu items and fix these problems.

    Fix missing Sound Events Errors
    Registry Booster repairs references to sounds and other events that are missing or inexisting.

    Fix missing Application Events Errors
    Registry Booster can fix missing application events errors which clutter the registry.

    Fix missing Help File Errors
    Registry Booster looks for missing, erroneous or orphaned links and fix these unused help file references.

    Fix DLL Errors
    Registry Booster performs complete heuristic analysis of your DLL sections and helps you to fix DLL errors.



    PC Tools Desktop Maestro | Scan Windows Registry | Regsitry Booster Guides | Windows Registry Tips
    Copyright © 2001-2008 Software Download From A to Z. All Rights Reserved.