Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Registry - Backup and Restore

30 Jan 2012   #20
Infinite

Windows 7 Ultimate SP1 - 64 Bit
 
 

The Registry worked perfectly.


My System SpecsSystem Spec
30 Jan 2012   #21
Brink

64-bit Windows 10 Pro
 
 

You're welcome.
My System SpecsSystem Spec
19 Nov 2012   #22
Injust

Windows 7 64-bit
 
 

Something the ERUNT readme file says:
"Note: The "Export registry" function in Regedit is USELESS (!) for making a complete backup of the registry. Neither does it export the whole registry (for example, no information from the "SECURITY" hive is saved), nor can the exported file be used later to replace the current registry with the old one. Instead, if you re-import the file, it is merged with the current registry without deleting anything that has been added since the export, leaving you with an absolute mess of old and new entries."
My System SpecsSystem Spec
19 Nov 2012   #23
Brink

64-bit Windows 10 Pro
 
 

Quote   Quote: Originally Posted by Injust View Post
Something the ERUNT readme file says:
"Note: The "Export registry" function in Regedit is USELESS (!) for making a complete backup of the registry. Neither does it export the whole registry (for example, no information from the "SECURITY" hive is saved), nor can the exported file be used later to replace the current registry with the old one. Instead, if you re-import the file, it is merged with the current registry without deleting anything that has been added since the export, leaving you with an absolute mess of old and new entries."
Hello Injust,

I agree with that for the complete registry. That's one of the main reasons why I recommended using System Restore for the complete registry instead.

Of course, nothing can beat creating a system image.
My System SpecsSystem Spec
.

19 Nov 2012   #24
Injust

Windows 7 64-bit
 
 

Yup, but many members here have recommended me to export the registry instead of creating an image or using a third-part tool like ERUNT
My System SpecsSystem Spec
19 Nov 2012   #25
Brink

64-bit Windows 10 Pro
 
 

Ooof, that's not good. Exporting parts of the registry is fine, but not the whole thing.
My System SpecsSystem Spec
21 Nov 2012   #26
Neophile

Windows 7 Ultimate 64-bit SP1
 
 

Hello,
How would be the command to backup a sub-key like at command prompt to use in a batch file or other simple script, please?
My System SpecsSystem Spec
21 Nov 2012   #27
Brink

64-bit Windows 10 Pro
 
 

Hello Neophile,

You can type reg export /? in a command prompt and press Enter to get more details about it like below.



For example, if you want to export the Software registry key below, ....
HKEY_CURRENT_USER\Software
.... you would type this into the command prompt below to export it with any filename.reg you like. The Y switch is to copy over if that filename already exists.
REG Export "HKCU\Software" filename.reg /Y
It will export the filename.reg file to wherever you have the command prompt open to. In my screenshot below, this would into the C:\Users\Brink folder.

-reg.jpg

Hope this helps,
Shawn


My System SpecsSystem Spec
21 Nov 2012   #28
Neophile

Windows 7 Ultimate 64-bit SP1
 
 

Thank you Brink. I had already tried regedit /?, but this was wrong and just opened the registry editor. I had not found the correct help command. Now I tried, but it does not always work . It works when I export a full key, like
reg export HKEY_CURRENT_USER trial.reg
The operation completed successfully.
But not when I try to export a deeper subkey, and get an error as
reg export HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion trial.reg
ERROR: Invalid syntax.
Type "REG EXPORT /?" for usage.
I wonder what I am missing or if it does not actually export subkeys as I understand from the results of "reg export /?".

It would be very useful for many usages. An example is the Outlook profile for e-mail accounts settings, because it saves all accounts, passwords, etc. The usage is not limited to this, but with this I could make periodic auto-savings.
My System SpecsSystem Spec
21 Nov 2012   #29
Brink

64-bit Windows 10 Pro
 
 

Since the key path has a space in it, you'll just need to have it wrapped in quotes like below instead.

reg export "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion" trial.reg
My System SpecsSystem Spec
Comment

 Registry - Backup and Restore




Tutorial Tools




Similar help and support threads
Windows 7 Tutorial Category
Manually restore registry from restore points
Hi, In XP it was possible to manually copy a backup of the registry from a system restore snapshot. I often deal with laptops where the system registry hive is damaged, in this situation it is not possible to access restore points in the usual way; instead we would access the disk by external...
Backup and Restore
Selecting Folders to restore in Microsoft Windows 7 Backup and Restore
I have taken a full (Image ?) backup of both my laptops to an external expansion drive. I am now trying to recover some files and folders from one of the backups. I have some folders in the C:\ root directory and some in the C:\users\fred\applications folder. I cannot get the restore...
Backup and Restore
Windows7 Backup and Restore utility: I can't find the file to backup
Hi, New to this forum. I am using Win7 Backup and Restore, along with a Seagate external drive for my backup needs. I backup every week, and have been using it for about 1 year. I see the backups happening each week, but I've never had the need to restore anything. For the first time, I've...
Backup and Restore
Backup and Restore: restore files in Recycler (Win7 Enterprise x64)
Hi: I have a Win 7 Enterprise Pro x64 laptop. Most of the files in my recycler/recycle bin mysteriously disappeared a few days back (I am guessing some OS quirk since desktop.ini also seems to have been modified then, though everything is still running smoothly). So I want to get those files...
Backup and Restore
Urgent Problem! Can't restore registry backup, Can't Boot Windows.
What basically happened is... I was installing Adobe After Effects on my computer and i was getting error "Installer can't initialize, restart pending on your system" or some similar stuff. I was trying to find solution on that problem, and what i found was that i have to delete some registry key...
Backup and Restore
Possible to extract registry backup from restore point?
Hi everybody, I was wondering if it is possible to extract the registry backup from a System Restore Point? In Windows XP the restore points were plain folders within the System Volume Information, but in Windows 7 they appear to be compressed into files like...
Backup and Restore


Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 21:36.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App