Fix registry on mounted drive

Posted on 2011-02-16
Last Modified: 2012-05-11

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.

Question by:Petermcg001
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 85

Expert Comment

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 ...

Author Comment

ID: 34905644

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
LVL 85

Expert Comment

ID: 34905691
A running machine in the same network?
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI


Author Comment

ID: 34905695
No unfortunately.
LVL 85

Accepted Solution

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.

Author Comment

ID: 34906408
Thanks, looks good

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

My purpose is to describe the basic concepts of virtual memory as implemented in a modern Windows-based operating system. I will also describe the problems inherent in older systems and how virtual memory solves them. The dark ages - before virtu…
This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

615 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