Windows 7 Forums Search
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows 7. The Windows 7 forum also covers news and updates and has an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7 - Registry - Backup and Restore



 

Registry - Backup and Restore

How to Backup and Restore the Registry in Windows 7 and Vista
Published by Brink
02-20-2009
Default Registry - Backup and Restore

How to Backup and Restore the Registry in Windows 7 and Vista

information   Information
This will show you a few options on how to export the registry as a .reg file backup, and how to import the .reg file to restore to the registry in Windows 7 and Vista.
warning   Warning
Importing or merging a .reg file backup will only restore the keys and values that were included in the exported backup. If you have added new keys and values since the .reg file backup was created, then these items will not be affected or restored when you import or merge the older exported .reg file backup to the registry. If you wanted to replace the registry completely with a backup, then System Restore (see Method One in OPTION ONE & TWO below) will allow you to do this instead.





OPTION ONE

Backup Registry



METHOD ONE

Using System Restore

NOTE: This is the best method to use since it will replace the current registry with the contents of the registry as it was on the date the restore point was created. These restore points contain information about registry settings and other system information that Windows 7 uses. System Restore points do not include the personal user files.
1. Create a restore point.
NOTE: See information at that link for more details on this.
Tip   Tip
Creating a restore point before making any changes to Windows 7 is the recommended method to use to have the registry backed up.







METHOD TWO

Export Only Part of the Registry as a Backup

NOTE: This will allow you to only export a HKEY or key branch in the registry to a .reg file as a backup.
1. Open the Start menu and type regedit in the search line, then press Enter. (See screenshot below)
Registry - Backup and Restore-search_box.jpg
2. If prompted by UAC, click on Yes to approve.

3. To Export a Registry HKEY Branch
NOTE: This will allow you to backup the entire selected HKEY branch with all of it's subkeys and key values to a .reg file as a backup.
A) Right click on a HKEY branch that you want to backup, and click on Export. (See screenshot below)
Registry - Backup and Restore-export-2.jpg
B) Select where you want to save the exported .reg file to, type in a name for the .reg file, and click on the Save button. (See screenshot below)
Registry - Backup and Restore-hkey_export_location.jpg
4. To Export a Registry KEY Branch
NOTE: This will allow you to backup the entire selected KEY branch under a HKEY with all of it's subkeys and key values to a .reg file as a backup.
A) Right click on a KEY branch under the HKEY that you want to backup, and click on Export. (See screenshot below)
Registry - Backup and Restore-export_key.jpg
B) Select where you want to save the exported .reg file to, type in a name for the .reg file, and click on the Save button. (See screenshot below step 3B)




OPTION TWO

Restore Registry



METHOD ONE

From a System Restore Point

NOTE: This will replace your current registry and system files in Windows by restoring the registry and system files in Windows back to how they were on the date the restore point (Option One, Method One) was created.
1. Do a System Restore using a restore point with the date you want to restore you Windows 7 registry and system files back to.
NOTE: See information at link for more details on this.
Tip   Tip
Doing a system restore is the recommended method to use to undo any changes made to Windows with a restore point dated before you made the changes.







METHOD TWO

Restore a REG File to the Registry in Windows

NOTE: Any new keys and values added to the registry not included in the .reg file at the date it was created will not be affected.
1. Merge from the REG File
A) Right click on the backup .reg file and click on Merge. (See screenshot below)
Registry - Backup and Restore-import-2.jpg
B) Click on Yes and Yes to approve the merge.

C) Go to step 3.
OR

2. Import from Regedit
A) Open the Start menu and type regedit in the search line, then press Enter. (See screenshot below)
Click image for larger version

Name:	Search_Box.jpg
Views:	771
Size:	33.4 KB
ID:	4858
B) If prompted by UAC, click on Yes to approve.

C) Click on File on the menu bar, then click on Import. (See screenshot below)
Registry - Backup and Restore-import.jpg
D) Navigate to where you saved the backup .reg file and select it, then click on the Save button. (See screenshot below)
Registry - Backup and Restore-import_location.jpg
E) You will now see the import progress window. (See screenshot below)
Registry - Backup and Restore-import_progress.jpg
3. Click on OK.
Tip   Tip
If you get the error below, then you will need to do a system restore instead since the keys are in use.

Registry - Backup and Restore-error.jpg

That's it,
Shawn



Published by
Administrator

Join Date: Oct 2008
Location: Texas
Posts: 34,824
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools
02-24-2009   #1
Lordbob75


Windows 7 Ultimate x64, Mint 9
 
 


Thank you, very good to know. (Now to start actually backing up my computer!)

~Lordbob

My System SpecsSystem Spec
02-24-2009   #2
Brink


Windows 7 Ultimate x64 SP1
 
 


LOL, you're welcome Lordbob.
My System SpecsSystem Spec
02-18-2010   #3
Stevy22


Windows 7 and MAC
 
 


Good for new Users... good job
My System SpecsSystem Spec
.


07-22-2011   #4
Shadowjk


Windows 7 Professional x64 SP1
 
 


Hey Shawn ,

I found out another way - Not sure if you have a tutorial on it but you can Restore the registry using a System Repair Disk

Open Command Prompt from System Repair options and then enter the following

Code:
regedit /s c:\Users\*User_Name*\Desktop\registrybackup.reg
Of course C:\ Being the Install Drive Letter and Desktop being the Folder Location of the backup

This might be handy if system restore couldn't restore the registry
My System SpecsSystem Spec
07-22-2011   #5
Brink


Windows 7 Ultimate x64 SP1
 
 


Thank you Josh.

That's another good option. A system restore (at boot if needed) would be safer and more thorough though.
My System SpecsSystem Spec
08-04-2011   #6
mustafa3333


32
 
 


t Y
My System SpecsSystem Spec
08-04-2011   #7
Brink


Windows 7 Ultimate x64 SP1
 
 


You're welcome Mustafa, and welcome to Seven Forums.
My System SpecsSystem Spec
12-21-2011   #8
MAB68


Windows 7
 
 


I deleted the registry and do not have a back up. What is your suggestion to reinstall?
My System SpecsSystem Spec
12-21-2011   #9
koolkat77


Windows 7 x86
 
 


specify the registry you deleted?
My System SpecsSystem Spec
Comment

Registry - Backup and Restore problems?



Tutorial Tools



Similar Threads for: Registry - Backup and Restore
Windows 7 Tutorial Category
Backup & Restore - unmodified files still saved in next backup Backup and Restore
Manually restore registry from restore points Backup and Restore
Possible to extract registry backup from restore point? Backup and Restore
Backup and restore (Not System Restore) Not Working Backup and Restore
Restoring a backup from Windows Backup and Restore Backup and Restore


All times are GMT -5. The time now is 08:38 PM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30