Regedit is a program you can use to access and edit the Registry. It normally ships with the default Windows installation and can be launched from the Run command box in the Start Menu by typing in "regedit" or "regedit.exe". Editing the Registry should be done with care, and with as much understanding as possible as to why and where you are making a change. Additionally, it is strongly recommended that you back up the Registry immediately prior to making a change. You also need to understand how to restore the Registry in case things go awry. The following sections deal with how to back up and restore the Registry.
2.1 Backup And Restore
There are two things you can do in terms of backing up the Registry: either back up the entire Registry, or export the specific key you are going to edit.
To export a Registry key, open Regedit using the Run command box. Find the key or sub-key you want to edit and select it by clicking on it. Choose File > Export. In the dialog box, select the location where you want to save the key, select to save it as a .reg file, and select the "Selected Branch" option. Give a name for the file and click Save. It will be saved as a .reg file.
If you want to back up the entire Registry, use the backup utility provided with XP. It is generally not recommended to export the entire Registry or a hive using the "export" method, as any changes or accidental erasures while working with .reg file may have disastrous consequences. (Please bear with our warnings— you might just be glad you did!) Open the backup software from All Programs > Accessories > System Tools > Backup. Select the checkbox that says "System State Data". This will back up the registry, boot files, and the COM+ class registration database.
At any later point, you can either restore the individual key you exported using the method above, or the entire system state. Restoring the individual key is a simple double-click on the .reg file you saved.
To restore the system state, open the Backup utility, click Advanced Mode and select the Restore and Manage Media tab. Select the backed up system state file you want to restore. Check the System State box. In the "Restore Files to" box, select Original Location. In the Tools menu, select Options, and click on "Always replace the file on my computer", then on OK. (If you don't do this, you will be asked for a confirmation for each and every file during the restore process.) Click "Start Restore". You will get a warning that says: "Restoring System State will always overwrite current System State unless restoring to an alternative location"; click OK to overwrite. Click OK in the Confirm Restore dialog box. The restore operation will start showing you the progress of the restore. When it completes, click Close and accept the prompt to restart the computer.
