Solved

Fix registry on mounted drive

Posted on 2011-02-16
6
531 Views
Last Modified: 2012-05-11
Hello,

My XP PC won't boot. It gets to mup.sys in safe mode boot and hangs. I've tried the recovery options from the cd but I can't access the recovery console or selecvt a windows install to repair.

I can mount the hdd on a usb adapter fine. Can I fix the registry this way.

Thanks
0
Comment
Question by:Petermcg001
  • 3
  • 3
6 Comments
 
LVL 84

Expert Comment

by:oBdA
ID: 34905564
First, in Explorer, go to the Windows\system32\config folder of the "broken" XP disk.
Make a backup of "system" and "software" (no extension!)
Then open regedit, select HKLM in the left pane.
Go to the "File" menu, click "Load Hive". Browse to the Windows\system32\config folder, open "System" (no extension!). When asked for a name of the hive, choose "BrokenXP" or "Whatever".
This is the former HKLM\System hive of the XP installation. Change away (when exporting/importing reg files, note that the path you want to edit now is HKLM\BrokenXP\System, NOT HKLM\System!).
Once you're done, select the "BrokenXP" hive in the left pane, go to the "File" menu, click "Unload Hive".
The usual precautions when editing the registry apply - note that the local registry of the "working" machine is opened as well ...
0
 
LVL 1

Author Comment

by:Petermcg001
ID: 34905644
Hello,

Thanks for this.  When I get to the "Change away" section can I import a registry from another XP machine.

Sorry if thats a silly question
0
 
LVL 84

Expert Comment

by:oBdA
ID: 34905691
A running machine in the same network?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:Petermcg001
ID: 34905695
No unfortunately.
0
 
LVL 84

Accepted Solution

by:
oBdA earned 500 total points
ID: 34906038
Sorry, misunderstood you probably; you want to import some HKLM\System settings from a working machine into "broken" registry?
Then export the key from the working machine into a reg file.
Open the reg file in Notepad.
Replace "[HKEY_LOCAL_MACHINE\SYSTEM" with "[HKEY_LOCAL_MACHINE\BrokenXP\SYSTEM" and save the file.
Import the file into the regedit where the "BrokenXP" hive is loaded.
0
 
LVL 1

Author Comment

by:Petermcg001
ID: 34906408
Thanks, looks good
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had a hard drive that you can't boot into, but need to change the registry? Here is the solution! This article guides you through accessing and editing a registry of a non-primary drive. To read registry information on a non-prim…
Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question