WARNING: Do not double-click the backup file that was placed on the Windows desktop except to undo the changes that you made to the registry.
This section tells how to back up a single registry key. Backing up a Windows 98/Me/XP registry key is known as "exporting."
WARNING: Do not use this method to export the entire registry or an entire registry "hive." (A "hive" is what the highest level of registry "folder" is called.)
The example below shows the entire registry; note that My Computer is at the top. The example has all the hive names enclosed by red boxes. If you want to back up any of the hives, close this part of the page, and read the section "How to back up the entire registry."
Do not export from these levels:
Backup the Windows Registry
This section tells how to back up a single registry key. Backing up a Windows 98/Me/XP registry key is known as "exporting."
Do not export from these levels:
To back up a single Windows 98/Me/XP registry key
For example:
You are removing a Trojan horse and must delete a particular value from the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
In this case, browse down to the \Run key and select it (see below):
As of this writing, Microsoft recommends that if you use Windows 2000, you use the older version of the Registry Editor, Regedt32.exe, to back up a registry key.
Read the instructions in the section "How to Export Registry Keys" in HOW TO: Backup, Edit, and Restore the Registry in Windows 2000 (Q322755).
If you backup the entire Windows registry, you can restore it if you want to reverse your edits. This is the recommended and safest method. Here are links to Microsoft documents that will help you do this:
Windows 98/Me - Follow the instructions in the Microsoft article How To Backup, Edit, and Restore the Registry in Windows 95, Windows 98, and Windows Me, Article I.D. 322754
Windows 2000 - Follow the instructions in the Microsoft article How to back up, edit, and restore the registry in Windows 2000, Article I.D. 322755
Windows XP - Follow the instructions in the Microsoft article How to back up, edit, and restore the registry in Windows XP and Windows Server 2003, Article I.D. 322756
If, after you make changes to the registry, you find that the changes were in error or that something no longer works correctly, you can undo the changes that you made by merging the backup file into the registry.
WARNINGS: This will undo all deletions or changes that you made within the part of the registry that is within the backup file.
To restore a backed up Windows 98/Me/XP registry key