open registry on non boot drive in regedit

Posted on 2006-07-06
Last Modified: 2008-01-09

I had a system board failure on a window xp pro computer.  I was able to slave the drive which had windows XP pro on it onto another computer also running XP Pro.  There are a few software activation keys on the slaved drive that I need in order to make the software work on the new computer.  How can I open the registry file from the "old" drive so that I can retrieve those numbers without causing myself a big problem with the new computer?

Thanks in advance
Question by:calavera44
  • 4
  • 3
LVL 14

Expert Comment

ID: 17054098
Here's an page about importing the registry hives

You should be able to navigate to these directories easily enough.
LVL 59

Accepted Solution

LeeTutor earned 500 total points
ID: 17054727
More information in addition to the above:


If the information you want to access was in HKEY_CURRENT_USER: Highlight HKEY_USERS, choose "Load hive" from the File menu, open

C:\Documents and settings\<UserProfileName>\ntuser.dat.

When asked for a name, choose "OldProfile" (or whatever other easily remembered name you choose).  Access/backup the keys you're interested in. Once you're done, highlight the "OldProfile" key, choose "Unload hive" from the file menu.

If the information you want to access was in HKEY_LOCAL_MACHINE\System or in HKEY_LOCAL_MACHINE\Software: Highlight HKEY_LOCAL_MACHINE, choose "Load hive" from the File menu, open




(no extension). When asked for a name, choose "OldSystem" or "OldSoftware" (or whatever). Access/backup the keys you're interested in. Once you're done, highlight the "OldSystem" or "OldSoftware" key, choose "Unload hive" from the file menu.

Author Comment

ID: 17055610
Ok, I can navigate to those files but it appears as though when I open them they are going to overwrite the files on my C: boot drive.  Is that true?  If so, I don't want to do that.  I just need to look at the files in order to retrieve a couple of activtion keys
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

LVL 59

Expert Comment

ID: 17057805
Actually, I should have replaced "C:" with "D:" or whatever letter corresponds to the slaved drive you have mounted from the nonfunctional machine.  When you make any changes after doing the "Load Hive" you should do an "Unload Hive" to write the changes back to the registry on the slaved drive.  (If you don't make any changes, then none will be written after the unload hive.)

Author Comment

ID: 17060849
Ok, when I launch regedit, it opens with the info from my registry on the C: drive.  The load and unload hive options in the file drop down menu are greyed out, so not accessible.  The Import under the file drop down is available.   The drive that is slaved and from old computer is the E: drive.  So, I am not sure where to go with this.
LVL 59

Expert Comment

ID: 17060914
Did you do the part about "Highlight HKEY_USERS" (if you want to access HKEY_CURRENT_USER in the hive) BEFORE you try the Load Hive option from the File menu?
LVL 59

Expert Comment

ID: 17065045
calavera44, any feedback?

Author Comment

ID: 17065590
Hi LeeTutor,

Oh yes, I was able to follow your directions, very carefully I might add, and I was able to do exactly what I needed.  I retrieved a missing activation key from the slaved drive, then unloaded the hive.  I rebooted the computer and it booted fine.  So I got my key and life goes on.  I am going to give the points to you here in a few minutes.  Thanks so much for your help, I really learned a lot from this little exercise!

John Allen

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

830 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