Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I determine the hostname of a Windows XP computer from files alone?

I have a full backup of several hard drives, but I'm not sure which one is which.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

You could open a copy of the SYSTEM registry file in the Registry Editor and browse to:

CurrentControlSet\Control\ComputerName\ActiveComputerName
share|improve this answer

Plug the drive in as a secondary drive and go to: Start > Run > regedit > under File go to Load Hive > select the secondary drive and browse to \windows\system32\config\. I use

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

The default domain name contains your PC name (even on PCs that are not members of a domain).

Uslackers key also works for this purpose - just remember it is under the HKEY_LOCAL_MACHINE and not HKEY_CURRENT_CONFIG.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.