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

trinaz

New member
Member
VIP
Local time
12:41 PM
Messages
477
Location
Phoenix
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
 

Attachments

  • regedit.jpg
    regedit.jpg
    19.1 KB · Views: 22
  • sysrestore.jpg
    sysrestore.jpg
    35.2 KB · Views: 23

My Computer My Computer

At a glance

Windows 7 Pro 64bit SP1AMD FX-6100 Six-Core Processor2ea Corsair-1333MHz-PC3-10666-240-pin-CMX4GX3...NVIDIA GeForce GT 630 - 1023MB (EVGA)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built
OS
Windows 7 Pro 64bit SP1
CPU
AMD FX-6100 Six-Core Processor
Motherboard
M5A78L-M LX PLUS
Memory
2ea Corsair-1333MHz-PC3-10666-240-pin-CMX4GX3M1A1333C9
Graphics Card(s)
NVIDIA GeForce GT 630 - 1023MB (EVGA)
Sound Card
OnBoard Via High Def Audio
Monitor(s) Displays
Samsung 204B main - ASUS VS228 secondary
Screen Resolution
1920x1080 main - 1920x1080 secondary
Hard Drives
Samsung SSD 840 128GB Win7 Pro 64bit - Western Digital WDC 465GB - Seagate 640GB Sata B/U - Maxtor 500GB Sata B/U - Maxtor 200GB Sata
PSU
Antec 650 watt
Cooling
Multiple case fans
Keyboard
MS USB dual Wireless Keyboard - IntelliType Pro
Mouse
MS USB dual Wireless Mouse - IntelliPoint
Internet Speed
Cox Cable
Antivirus
Bitdefender IS 2014
Browser
FireFox Primary - IE 11
Other Info
Hauppaguge Win TV HVR-1250 (Model 22xxx, Hybrid ATSC/QAM)
Samsung HD103SI USB 1TB Desktop Drive - Backup & Disk Image storage
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 Computer My Computer

At a glance

Systems 1 and 2: Windows 7 Enterprise x64, Wi...System 1: i7 [email protected], System 2: AMD FX-41...System 1: 8GB System 2: 8GBSystem 1: ATI FirePro V4800 System 2: Radeon ...
Computer Manufacturer/Model Number
Dell and Custom
OS
Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
CPU
System 1: i7 [email protected], System 2: AMD FX-4100 Zambezi 3.6G
Motherboard
System 1:Dell 06NWYK System 2: ASUS M5A97 AM3+
Memory
System 1: 8GB System 2: 8GB
Graphics Card(s)
System 1: ATI FirePro V4800 System 2: Radeon HD 6850
Sound Card
System 1: onboard System 2: onboard
Monitor(s) Displays
System1: Viewsonic HDMI 24"
Screen Resolution
System 1: 1920x1080 System 2: 1920x1080
Hard Drives
System 1: Mirrored .5B drives System 2: Seagate Barracuda ST1000DM003 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s
Case
System 1: Dell System 2: Cooler Master
Internet Speed
10 MBPS
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 Computer My Computer

At a glance

MS Windows 7 Ultimate SP1 64-bitAMD A10-4600M6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)AMD Radeon HD 7660G
Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.

My Computer My Computer

At a glance

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
Computer Manufacturer/Model Number
Too many to describe...
OS
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.

http://www.sevenforums.com/tutorials/4230-registry-backup-restore.html

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 Computer My Computer

At a glance

Windows 7 Pro 64bit SP1AMD FX-6100 Six-Core Processor2ea Corsair-1333MHz-PC3-10666-240-pin-CMX4GX3...NVIDIA GeForce GT 630 - 1023MB (EVGA)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built
OS
Windows 7 Pro 64bit SP1
CPU
AMD FX-6100 Six-Core Processor
Motherboard
M5A78L-M LX PLUS
Memory
2ea Corsair-1333MHz-PC3-10666-240-pin-CMX4GX3M1A1333C9
Graphics Card(s)
NVIDIA GeForce GT 630 - 1023MB (EVGA)
Sound Card
OnBoard Via High Def Audio
Monitor(s) Displays
Samsung 204B main - ASUS VS228 secondary
Screen Resolution
1920x1080 main - 1920x1080 secondary
Hard Drives
Samsung SSD 840 128GB Win7 Pro 64bit - Western Digital WDC 465GB - Seagate 640GB Sata B/U - Maxtor 500GB Sata B/U - Maxtor 200GB Sata
PSU
Antec 650 watt
Cooling
Multiple case fans
Keyboard
MS USB dual Wireless Keyboard - IntelliType Pro
Mouse
MS USB dual Wireless Mouse - IntelliPoint
Internet Speed
Cox Cable
Antivirus
Bitdefender IS 2014
Browser
FireFox Primary - IE 11
Other Info
Hauppaguge Win TV HVR-1250 (Model 22xxx, Hybrid ATSC/QAM)
Samsung HD103SI USB 1TB Desktop Drive - Backup & Disk Image storage
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 Computer My Computer

At a glance

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
Computer Manufacturer/Model Number
Too many to describe...
OS
Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
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 Computer My Computer

At a glance

Windows 7 Pro 64bit SP1AMD FX-6100 Six-Core Processor2ea Corsair-1333MHz-PC3-10666-240-pin-CMX4GX3...NVIDIA GeForce GT 630 - 1023MB (EVGA)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built
OS
Windows 7 Pro 64bit SP1
CPU
AMD FX-6100 Six-Core Processor
Motherboard
M5A78L-M LX PLUS
Memory
2ea Corsair-1333MHz-PC3-10666-240-pin-CMX4GX3M1A1333C9
Graphics Card(s)
NVIDIA GeForce GT 630 - 1023MB (EVGA)
Sound Card
OnBoard Via High Def Audio
Monitor(s) Displays
Samsung 204B main - ASUS VS228 secondary
Screen Resolution
1920x1080 main - 1920x1080 secondary
Hard Drives
Samsung SSD 840 128GB Win7 Pro 64bit - Western Digital WDC 465GB - Seagate 640GB Sata B/U - Maxtor 500GB Sata B/U - Maxtor 200GB Sata
PSU
Antec 650 watt
Cooling
Multiple case fans
Keyboard
MS USB dual Wireless Keyboard - IntelliType Pro
Mouse
MS USB dual Wireless Mouse - IntelliPoint
Internet Speed
Cox Cable
Antivirus
Bitdefender IS 2014
Browser
FireFox Primary - IE 11
Other Info
Hauppaguge Win TV HVR-1250 (Model 22xxx, Hybrid ATSC/QAM)
Samsung HD103SI USB 1TB Desktop Drive - Backup & Disk Image storage
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 Computer My Computer

At a glance

Windows 7 Pro 64bit SP1AMD FX-6100 Six-Core Processor2ea Corsair-1333MHz-PC3-10666-240-pin-CMX4GX3...NVIDIA GeForce GT 630 - 1023MB (EVGA)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built
OS
Windows 7 Pro 64bit SP1
CPU
AMD FX-6100 Six-Core Processor
Motherboard
M5A78L-M LX PLUS
Memory
2ea Corsair-1333MHz-PC3-10666-240-pin-CMX4GX3M1A1333C9
Graphics Card(s)
NVIDIA GeForce GT 630 - 1023MB (EVGA)
Sound Card
OnBoard Via High Def Audio
Monitor(s) Displays
Samsung 204B main - ASUS VS228 secondary
Screen Resolution
1920x1080 main - 1920x1080 secondary
Hard Drives
Samsung SSD 840 128GB Win7 Pro 64bit - Western Digital WDC 465GB - Seagate 640GB Sata B/U - Maxtor 500GB Sata B/U - Maxtor 200GB Sata
PSU
Antec 650 watt
Cooling
Multiple case fans
Keyboard
MS USB dual Wireless Keyboard - IntelliType Pro
Mouse
MS USB dual Wireless Mouse - IntelliPoint
Internet Speed
Cox Cable
Antivirus
Bitdefender IS 2014
Browser
FireFox Primary - IE 11
Other Info
Hauppaguge Win TV HVR-1250 (Model 22xxx, Hybrid ATSC/QAM)
Samsung HD103SI USB 1TB Desktop Drive - Backup & Disk Image storage
If reimporting the registry file does not work, then run a http://www.sevenforums.com/tutorials/3413-repair-install.html?ltr=R 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
 
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 Computer My Computer

At a glance

MS Windows 7 Ultimate SP1 64-bitAMD A10-4600M6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)AMD Radeon HD 7660G
Computer Manufacturer/Model Number
Toshiba Satellite S875D-S7239 laptop
OS
MS Windows 7 Ultimate SP1 64-bit
CPU
AMD A10-4600M
Motherboard
AMD Pumori (Socket FT1)
Memory
6.00 GB Dual-Channel DDR3 @ 798MHz (11-11-12-28)
Graphics Card(s)
AMD Radeon HD 7660G
Sound Card
High Definition Audio Device
Monitor(s) Displays
Generic PnP Monitor (1600x900@60Hz)
Screen Resolution
1600x900@60Hz
Hard Drives
SSD 119GB Corsair CSSD-V128GB2 ATA Device
Keyboard
Standard PS/2 Keyboard
Mouse
HP Wireless Optical Mobile Mouse Model FHA-3410
Internet Speed
What the local pub, local coffee shop offers.
Other Info
Optical Drive:MATSHITA BD-CMB UJ160B ATA Device


Also have an Asus ha1002xp netbook with Win 7 Ultimate installed.
If reimporting the registry file does not work, then run a http://www.sevenforums.com/tutorials/3413-repair-install.html?ltr=R 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.

OK thanks guys for all the insight and help....1st I'm going to try the Registry Import...before any tinkering I did export the complete registry to an external USB drive.

The drive letter is: O
The exported complete registry is: NoHP-9-20.reg

In the tutorial recommended by Bill2 it says the following:

5. In the same command prompt, type regedit /s "full path to saved .reg file" and press Enter. (See screenshot below)
NOTE: For example, I only have Windows 7 installed with the 200 MB system partition it created during installation. I saved my Registry Backup.reg file to my desktop on the D: drive (from step 3), so I would type:
regedit /s D:\Users\User-Name\Desktop\Registry Backup.reg
and press Enter. Your file path will vary of course.

Would my correct command line prompt be regedit /s O: NoHP-9-20.reg ?

Or should I rename my backup (NoHP-9-20.reg) and is so to what file name...?...and is there a space between O:spaceNoHP-9-20.reg or no space ? ( "O" drive in attached jpg)

Thanks much...TR
 

Attachments

  • O_drive.jpg
    O_drive.jpg
    71.5 KB · Views: 34
Last edited:

My Computer My Computer

At a glance

Windows 7 Pro 64bit SP1AMD FX-6100 Six-Core Processor2ea Corsair-1333MHz-PC3-10666-240-pin-CMX4GX3...NVIDIA GeForce GT 630 - 1023MB (EVGA)
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built
OS
Windows 7 Pro 64bit SP1
CPU
AMD FX-6100 Six-Core Processor
Motherboard
M5A78L-M LX PLUS
Memory
2ea Corsair-1333MHz-PC3-10666-240-pin-CMX4GX3M1A1333C9
Graphics Card(s)
NVIDIA GeForce GT 630 - 1023MB (EVGA)
Sound Card
OnBoard Via High Def Audio
Monitor(s) Displays
Samsung 204B main - ASUS VS228 secondary
Screen Resolution
1920x1080 main - 1920x1080 secondary
Hard Drives
Samsung SSD 840 128GB Win7 Pro 64bit - Western Digital WDC 465GB - Seagate 640GB Sata B/U - Maxtor 500GB Sata B/U - Maxtor 200GB Sata
PSU
Antec 650 watt
Cooling
Multiple case fans
Keyboard
MS USB dual Wireless Keyboard - IntelliType Pro
Mouse
MS USB dual Wireless Mouse - IntelliPoint
Internet Speed
Cox Cable
Antivirus
Bitdefender IS 2014
Browser
FireFox Primary - IE 11
Other Info
Hauppaguge Win TV HVR-1250 (Model 22xxx, Hybrid ATSC/QAM)
Samsung HD103SI USB 1TB Desktop Drive - Backup & Disk Image storage
Back
Top