read Win7 registry from old computer


The mobo on my old system died and so I had to build a new one.  My hard drives were fine, but I couldn't get the new system to use my old boot drive as the new boot drive.

So, I had to reinstall Windows 7 on a new drive in my new system.

However, my old registry had things that need to recover.  Is there a way I can read the registry of my old windows drive?  The drive is connected as an add-on drive in my new system.  Normally I'd regedit to look at it, but as I'm not looking at the active registry, I'm not sure how to proceed.


LVL 11
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MacGyver80Senior Systems AdministratorCommented:
You can try this:

I've never had to perform this myself but it's worth a shot.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
web_trackerComputer Service TechnicianCommented:
I have remove stubborn malware and virus entries from the registry from another computer but doing the above, loading the registry hives of a bad drive then unloading the registry hives once I completed editing the registry of the other drive.  Make sure you unload the registry hives from the new registry before closing the regedit, or you will corrupt the registry of the new computer. Note you can only import one group of registries at a time, such as "software, System, security, etc. The registry hives of the other drive is found: D:(or what ever drive letter is your old drive)\windows\system32\Config\

follow sj_hicks advice in the above article:
You can load a registry hive from a file using regedit then edit it from there:
1) Open regedit
2) Select the HKEY_USERS hive
3) Select File / Load Hive
4) Select the registry file (NTUSER.DAT in user profile dir for user's HKEY_CURRENT_USER or a file in <drive>:windows\system32\config for the other hives
5) Specifiy a temporary name
6) The registry will now be accessible under HKJEY_USERS\<temporary name>.  Make changes or extract data as rquired
7) Select File / Unload Hive when finished making changes
ugebAuthor Commented:
I was able to load the hive of the old computer, but when trying to delete the hive, I get the error:

Cannot delete CameronHiveSoftware: Error while deleting key.

CameronHiveSoftware is the temp name I gave the hive I imported.

It has 3 subfolders:

Classes, Microsoft, and Wow6432Node.

What now??



I found I could unload the hive instead of deleting it, so it looks to be okay now.
web_trackerComputer Service TechnicianCommented:
yes you do not delete the hive you unload it, but obviously you found that out.  great job....

Thanks for the points.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Development

From novice to tech pro — start learning today.