How read the registry on hard disk

Hi expert,
My HD on windows 7 S.O. has died and I have now attached the hard disk to my new machine.
I need to read the registry to get information out from putty and WinSCP configuration.

How do I read the registry on my hard disk attached to my new machine?

Thanks in advance!
ralph_reaAsked:
Who is Participating?
 
PinpindesboisConnect With a Mentor Commented:
Hello,

Open regedit, load a hive :

To load a hive into the registry
Open Registry Editor.
Click either the HKEY_USERS key or HKEY_LOCAL_MACHINE key.
On the File menu, click Load Hiveā€¦.
Find the hive you want to load and click it.
Click Open.
In Key Name, type the name that you want to assign to the hive and then click OK.

Open in new window


The hives are located here (in your hd attached to your new machine) :
E:\Users\USERNAME\ntuser.dat
E:\windows\System32\config\default
E:\windows\System32\config\SAM
E:\windows\System32\config\SECURITY
E:\windows\System32\config\software
E:\windows\System32\config\system

Tell me if it works.
0
 
ralph_reaAuthor Commented:
Pinpindesbois,
my new machine has new hard disk and my old hard disk is attached to my new machine via USB?

How Can I open regedit and load a hive from externale HD?
0
 
Gary PattersonVP Technology / Senior Consultant Commented:
If you can access and mount the the drive, then yes, you can open the hive files.

But I though you said the old HD had died - how do you plan to access files on a dead drive?
0
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.

 
it_saigeConnect With a Mentor DeveloperCommented:
Have you reinstalled Windows onto the new hard drive?  If you have then it is just as Pinpin stated, open regedit as you normally would.  
Once regedit is opened, select either the HKEY_LOCAL_MACHINE or HKEY_USERS key.
Click the File menu and select Load Hive...

Once you complete these steps, locate the file associated with the hive you want to load.  So now you browse to the drive letter of your attached HD and go to the Users\USERNAME folder for ntuser.dat or the Windows\System32\Config folder for the default, SAM, SECURTY, Software or System hives.

Select the hive file you want to load, click open and give it a key name i.e. - OldSystem.

-saige-
0
 
nobusCommented:
can you access that disk ?  does it show in explorer?
if not, you may need to assign it a drive letter : see method 3 :  http://www.wikihow.com/Assign-a-Drive-Letter
0
 
deroodeSystems AdministratorCommented:
If the harddisk does not work anymore you can try HDD Regenerator  (http://www.dposoft.net/hdd.html) or SpinRite (https://www.grc.com/sr/spinrite.htm) to revive the drive;
0
 
McKnifeCommented:
Ralph, Pinpindesbois has answered your question. What part of the answer cannot be applied? It is right for your situation, assuming the usb-connected HDD is drive e:
0
 
nobusCommented:
tell us how it is going, or what problems you have
0
All Courses

From novice to tech pro — start learning today.