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: How can I replace my W7 registry file without using regedit ?

22 Sep 2010   #1
trinaz

Windows 7 Pro 64bit SP1
 
 
How can I replace my W7 registry file without using regedit ?

Having an issue with my system and trying to restore to an earlier state...but both System Restore and Regedit - import are giving me errors ?

Here's a couple screen shots that show the main error messages attached

On the registry...I have a full backup of my registry prior to the changes I am trying to reversed
But using - run -regedit - import...I'm getting eh partial error message in the jpegs ?

Is there a way I can manually move/copy my reg files i8n my usb external drive to my main C: drove to replace the current ( I think ) buggy registry ?

Thanks...TR




Attached Images
  
My System SpecsSystem Spec
.

22 Sep 2010   #2
Lemur

Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
 
 

If I understand correctly, that you have a backed up registry from the same system, and you want to overwrite the new with the old, that should work. You will find any programs you have changed between registries won't work. I would rename my current registry just in case I needed to access it again.
My System SpecsSystem Spec
23 Sep 2010   #3
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

trinaz,

And I wager that you are going to be faced with performing a complete clean install which is strangely enough called a "custom" install by MS.

We can hope that I'm wrong.
My System SpecsSystem Spec
.


23 Sep 2010   #4
Bill2

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

You cant restore from a registry backup inside windows because some keys will be in use. See method 2 in this tutorial.

Registry - Backup and Restore
My System SpecsSystem Spec
24 Sep 2010   #5
trinaz

Windows 7 Pro 64bit SP1
 
 

Quote   Quote: Originally Posted by Bill2 View Post
You cant restore from a registry backup inside windows because some keys will be in use. See method 2 in this tutorial.

Registry - Backup and Restore
Thanks Bill...ran through a dry run and it looks fairly straight forward.

Two additional questions if I can:

1) How can I verify that the current registry file was indeed replaced by the backed up (backup.reg) file ? Is there a date or something I can check on after the replace opperation...and will the regedit /s command also automatically rename the backup file when in replaces the curretn windows reg file ?

2) Per my originall post...I also am unable to do a restore point operation as the jpg in initial question indicates. Can I use the same cmd command via the install dvd to try that process also ?

Thanks...TR
My System SpecsSystem Spec
24 Sep 2010   #6
Bill2

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

1) The only way I know of that you can compare 2 different registries is to use Windiff. Windiff has not been customized for win7 so i dont know how well it'll work.

Download details: Windows Server 2003 Service Pack 1 32-bit Support Tools

Download WinDiff 5.1 Free - Easily view the similarities between two folders - Softpedia

How to Use the Windiff.exe Utility

Another thing you can try is to mark a minor key with some identifiable data, then check after restoring from the backup.

Regedit/ s only merges the backup reg silently (suppresses user prompts), I've never seen it renaming the file.

2) Yes, if you have a good restore point, the same tutorial tells you how. But system restore will restore not just the registry but the system files as well.
My System SpecsSystem Spec
25 Sep 2010   #7
trinaz

Windows 7 Pro 64bit SP1
 
 
IN Win 7 Pro what is the registry file name

In Win 7 Pro where is the registry file kept and what is the name of the file...ie registry.reg ?? or something else

Thanks...TR
My System SpecsSystem Spec
25 Sep 2010   #8
trinaz

Windows 7 Pro 64bit SP1
 
 

Quote   Quote: Originally Posted by Bill2 View Post
1)

Another thing you can try is to mark a minor key with some identifiable data, then check after restoring from the backup.

Regedit/ s only merges the backup reg silently (suppresses user prompts), I've never seen it renaming the file.
Sorry for what seems to me is a dumb question...but where is the original registry file kept and what is it's full name ?

I assume then my backup file of the registry has to have the same name as the current working registry file...?...and what would that be ?

Thanks..TR
My System SpecsSystem Spec
25 Sep 2010   #9
gregrocker
Microsoft MVP

 
 

If reimporting the registry file does not work, then run a Repair Install which reinstalls the OS (including Registry) while keeping all programs, files and settings in place. I don't think it will reimport bad registry edits.

If this is the result of tweaking, it is strongly advised not to do it in Win7 as it will always work against you in the long run. Win7 is a perfectly balanced OS trimmed as light as it can possibly be, requiring only normal settings.

http://en.wikipedia.org/wiki/Windows_Registry
My System SpecsSystem Spec
26 Sep 2010   #10
karlsnooks

MS Windows 7 Ultimate SP1 64-bit
 
 

trinaz,
Basicaly the rule is: DON'T MUCK AROUND WITH THE REGISTRY!

This isn't xp. Also the registry is actually several files but that's an in depth discussion. What you see is one file. Use only the MS tools for registry editing.

Now since System Restore did not function, your last resort before using Greg's excellent advice is to run the System File Checker.

System File Checker - SFC /SCANNOW Command
My System SpecsSystem Spec
Reply

 How can I replace my W7 registry file without using regedit ?




Thread Tools





Similar help and support threads
Thread Forum
Setting registry restrictions using RegEdit (Task Manager)
So I'm having some issues trying to set some restrictions using RegEdit. I'm trying to set a bunch of them and none of them are actually working. I've done a lot of reasearch on Google but I can't figure out why. So let's start with a example here. I'm using a .reg file to set these FYI. Here is...
Software
Replace default .pst file with existing .pst file
I upgraded from Vista Business to Seven Home Premium. Used Office 2007 in Vista and using it in Seven. In Vista, my .pst file was C:\Outlook\MyOutlookFolder.pst. Added it to Outlook using Data File Management, but none of my calendar entries appeared (my inbox and all my other folders are OK). When...
Microsoft Office
regedit default uninstallstring file name
Hello, everyone I need some help. Could someone give me the default value data name for "Unistall String" I clicked on it while looking (just looking not trying changing anything) and renamed it. Thank you in advance. I used system restore. How do I delete this post?
General Discussion
Error Accessing the Registry in regedit.
Running .reg file gives this error. In Regedit I also cannot create a new key (to add the contents of the .reg file manually.) I have Full Control in permissions for HKEY_USERS.
General Discussion
I Deleted the office file in regedit
So I was trying to install Java but I got error 1606 and I saw a solution it was to delete old office versions, But I did't read the instructions carefully and I was in a rush and I deleted the whole office file.So is their any solutions?
General Discussion
How to Turn Off System Protection by registry (regedit)
Is there any way to disable System Protection (My computer->Properties->System protection->->Configure->check dot TURN OFF SYSTEM PROTECTION ) using regedit tool? I need this by the registry to I can put in automated process because we made about 4000 machines per day. Thanks in advance.
Performance & Maintenance

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 09:07.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App