Link to home
Start Free TrialLog in
Avatar of RTM2007
RTM2007Flag for Afghanistan

asked on

Find Windows Hostname if PC Cannot Boot

I am able to get the hard drive of the system mounted to another system as the slave drive, but since the drive won't boot can't get into Windows to do a hostname command or check the System Properties.

I was wondering if there is a way to find out the hostname by the file/folder structure. Is there an INI file perhaps in the Windows structure where it is written into a file?
ASKER CERTIFIED SOLUTION
Avatar of jcimarron
jcimarron
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Follow these instructions to load the registry of the dead computer on your working one:
http://www.rwin.ch/xp-live/regedit.htm

Once you have the external hive loaded, select the "System-Offline" folder (if you used that name like the instructions) in regedit, and then do a search for "ActiveComputerName", or you can browse to it going from the "/System-Offline/CurrentControlSet/Control/ComputerName/"
Avatar of Danny Child
If it's been used on a domain recently, have you tried
ping -a <IPaddress>

or check DNS for the lookups?

or if you can extract the registry, try here:
HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName\

An easy way is to look at the C:\Windows\WindowsUpdate.log file...   You should be able to find a line that contains:
"DNS Name ="    The part immediately after that string is the Machine name