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: Saving and restoring the registry under Windows 7

19 Nov 2013   #1
Lea Massiot

Windows 7 Professional SP1 64bit
 
 
Saving and restoring the registry under Windows 7

Hello,

My problem is about saving and restoring the registry under Windows 7.

I made a backup of my registry (using the "File -> Export" menu in "regedit.exe").

Then I tried to restore it as is using the "File -> Import" menu in "regedit.exe" (and I also tried using the command "reg import" in command line in "safe mode with command line").
It fails.
Fortunately I was on a test machine.
I'm very concerned about not knowing how to properly save and restore my registry.

Thank you for helping.
Best regards.


My System SpecsSystem Spec
.

19 Nov 2013   #2
Brink
Microsoft MVP

64-bit Windows 10 build 10074
 
 

Hello Lea,

The problem with using that method is that you will not be able to completely restore all of the registry since it's currently in use.

One option would be to create restore points that would include a back of the full registry. A system restore would restore the registry to how it was in the selected restore point.
Registry - Backup and Restore
Another option would be to create a system image. It includes everything.
Backup Complete Computer - Create an Image Backup
Hope this helps,
Shawn
My System SpecsSystem Spec
20 Nov 2013   #3
Lea Massiot

Windows 7 Professional SP1 64bit
 
 

Hello Shawn,

Thank you for your answer which helps.
I have used the three following documents to test a system restore and it was successful.

1) Windows 7: System Restore Point - Create
h ttp://www.sevenforums.com/tutorials/697-system-restore-point-create.html

2) How to Boot to the System Recovery Options in Windows 7 (Using a Windows 7 Installation or System Repair Disc)
h ttp://www.sevenforums.com/tutorials/668-system-recovery-options.html

3) How to Do a System Restore in Windows 7
h ttp://www.sevenforums.com/tutorials/700-system-restore.html

Have a good day.
Best regards.
My System SpecsSystem Spec
.


20 Nov 2013   #4
Lea Massiot

Windows 7 Professional SP1 64bit
 
 

Hello,

It's me again.
I just would like to know if it's possible to create a system restore point in command line (to put it in a .bat file later) and if yes, how?

Thank you for helping.
Best regards.
My System SpecsSystem Spec
20 Nov 2013   #5
Brink
Microsoft MVP

64-bit Windows 10 build 10074
 
 

You're most welcome Lea,

If you like, you could use either of the shortcuts in the tutorial below to create a system restore with at will. You could run the shortcut as is, in a command prompt, or use the .vbs file directly.

System Restore Point Shortcut

Hope this may work for that.
My System SpecsSystem Spec
20 Nov 2013   #6
Lea Massiot

Windows 7 Professional SP1 64bit
 
 

Hello and thank you for your answer .

I'm not familiar with VBS. I would have preferred a simple ".bat" script...
Yet, I tested the first script available in the page you pointed me to (h ttp://www.sevenforums.com/tutorials/494-system-restore-point-shortcut.html).
This script simply creates a restore point "Instant Restore Point" and can be executed from the command line:
HTML Code:
cmd.exe> Instant_Restore_Point.vbs
It worked.

Thank you and best regards.
My System SpecsSystem Spec
20 Nov 2013   #7
Brink
Microsoft MVP

64-bit Windows 10 build 10074
 
 

You're most welcome. I'm glad that'll work for you.

Yeah, I would have like to have used .bat as well, but .vbs only had the commands for what it needed to work properly.
My System SpecsSystem Spec
Reply

 Saving and restoring the registry under Windows 7




Thread Tools





Similar help and support threads
Thread Forum
Restoring programs/registry etc without full image, only files?
I am about to do a factory reset and reinstall of windows since I could not get the previous installation to boot due to a failing hdd. I could not make a clone or image because if macrium/acronis or any imaging software encountered a bad sector it would quit immediately. Instead I have a...
Backup and Restore
Registry problem after windows update and registry optimization tool
Hello sevenforum, I've already spend some time on this forum today but I can't find the solution to a particular registry problem I'm having. While windows was uploading some updates yesterday, I cleaned my registry using Iolo's system mechanic tool and that's where the problems started. (I...
Backup and Restore
IE 9 history not saving, downloads not saving, nor cookies.
I am extremely new to computers and my son and I now have one. I believe he has made changes to his computer to hide his actions from me (hes 10 and knows more about computers than I), *because his Internet Explorer history only saves sites sporadically it seems, *and downloads are...
Browsers & Mail
System restore stuck on restoring the registry
I just got a hp laptop running windows 7 and had to do a system restore due to a problem with an Office download. But my computer is stuck in the restore-has been "restoring the registry" for over an hour now. When I turn off the computer, it goes right back to that screen-I can not start it in...
Backup and Restore
system restore hangs at ''restoring the registry''
Using the PC in my signature... I'm trying to restore to a couple days ago to fix a mistake I made with itunes. The PC has been at the point in the restore process ''system restore is restoring the registry" for around a half hour now. Does it generally take this long? Can I restart and try to...
Backup and Restore
Saving and restoring desktop icon layouts
Does anyone know of a utility for saving and restoring desktop icon layouts? I could use such a program when I use iRotate. This program jumbles the desktop icons after rotating the monitor, and I'd like to be able to put them back to their places quickly. Nothing in iRotate can do that. I'm...
Software

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 10:20.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App