Window XP Registry Structure & Backup of Registy

Structure
The Windows registry is divided in 2 Panes. If you open the registry editor you will see on the left side there are five main keys which are further divided in Sub-Key, and these Sub-Keys are further divided in many Sub-Keys again. The structure of the registry is show below.
Hkey_Classes_Root
Hkey_Current_User
Hkey_Local_Machine
Hkey_Users
Hkey_Current_Config

This is a good idea that before playing with registry you must learn that how you can back up and restore the registry.

HOW TO BACKUP REGISTR
Go to start and then in Run type regedit and press enter. When the registry editor opens go to file and open Export there are many option allow you to save the back file in different formats, these are as under.
REGISTRY HIVE FILES   *.*
REGISTRATION FILES     *.REG
TEXT FILES    *.TXT
ALL FILES
Backup file with the extension of Reg


There are two ways to save the file you can either saved it as a text file and later on change it in note pad without starting registry editor, when you finish the changes right click on file and use the command (merge) to save the changes in registry.

Hive File
When you save the file as Hive, the windows saved it as a binary format and there is no way to change the file using any word processor nor note pad, however this is the best way to backup a registry to restore it later on in original form. It takes perfect image of registry.


Text Format
If you want to backup a particular key, or sub-key, and want to later on re-set your registry in original form then save the file in that format