Windows 7 Forums


Windows 7: Registry - Backup and Restore


Registry - Backup and Restore

How to Backup and Restore the Registry in Windows 7 and Vista
Published 20 Feb 2009
Published by

Featured Tutorial

iTunes Video DRM Remove Method
iTunes Video DRM Remove Method



Microsoft Accounts - Link
Microsoft Accounts - Link

How to Link your Microsoft Accounts

Clean Up Factory Bloatware
Clean Up Factory Bloatware



Windows 7 Installation - Transfer to a New Computer
Windows 7 Installation - Transfer to a New Computer

How to Transfer your Complete Windows 7 Installation to a New Computer

Safe Internet Browsing
Safe Internet Browsing

How to safely operate on the internet and stay free from malware infections

Microsoft Account Primary Alias Email Address - Change
Microsoft Account Primary Alias Email Address - Change

How to Change your Microsoft Account Primary Alias Email Address
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)
Registry - Backup and Restore-search_box.jpg
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






Need more help? Try searching our extensive help and support site.
Loading
24 Feb 2009   #1
Lordbob75

Windows 7 Ultimate x64, Mint 9
In the Crust
 
 

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

~Lordbob

My System SpecsSystem Spec

24 Feb 2009   #2
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

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

Windows 7 and MAC
Bangalore
 
 

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


22 Jul 2011   #4
Shadowjk

Windows 7 Professional x64 SP1
Northamptonshire , England
 
 

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
22 Jul 2011   #5
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

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
04 Aug 2011   #6
mustafa3333

32
 
 

t Y
My System SpecsSystem Spec
04 Aug 2011   #7
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

You're welcome Mustafa, and welcome to Seven Forums.
My System SpecsSystem Spec
21 Dec 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
21 Dec 2011   #9
koolkat77

Windows 7 Home Premium 64bit SP1
 
 

specify the registry you deleted?
My System SpecsSystem Spec
Comment

 Registry - Backup and Restore problems?



Tutorial Tools



Similar help and support threads for: Registry - Backup and Restore
Windows 7 Tutorial Category
System Backup & Restore will not restore bookmarks or e-mails Backup and Restore
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
Restoring a backup from Windows Backup and Restore Backup and Restore


All times are GMT -5. The time now is 07:52 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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 31 32