Where is Computer Name Stored?

Page 1 of 2 12 LastLast

  1. Posts : 8
    Windows 7 Enterprise 32bit
       #1

    Where is Computer Name Stored?


    I have a hard drive that crashed in an office, and I am trying to find the computer name off of the hard drive. I can get to most of the files I need. I am more curious than anything.
      My Computer


  2. Posts : 7,878
    Windows 7 Ultimate x64
       #2

    The computer name is stored within the registry files of Windows.
      My Computer


  3. Posts : 1,660
    Windows 8 Pro (32-bit)
       #3

    That narrows it down.
      My Computer


  4. Posts : 710
    Win7 Pro x64
       #4

    Assuming you're booting from that drive, pressing win + pause should bring up a popup which includes the computer name.
      My Computer


  5. Posts : 1,660
    Windows 8 Pro (32-bit)
       #5

    Trucidation said:
    Assuming you're booting from that drive, pressing win + pause should bring up a popup which includes the computer name.
    What happens if your keyboard doesn't have a play/pause button?
      My Computer


  6. Posts : 41
    Windows 7 Ultimate x64
       #6

    If you're looking for the location in the registry, it's:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName

    Of course if you were booting from that drive AND you didn't have a pause/break button you could right click on the Computer icon and click preferences. Or if you can't find a Computer icon you could go to Control Panel/System and Security/System...

    But from the word crashed, I have to assume you're not booting from the drive in question.
    Last edited by Sprockett; 06 Jun 2012 at 20:42. Reason: Accidentally a word
      My Computer


  7. Posts : 2,963
    Windows 7 Professional SP1 64-bit
       #7

    Open the start menu. Right-click My computer and select properties. Scroll down and you will see a section titled "Computer name, domain and workgroup settings." Click on Change Settings. In the window that opens, click Change. You can change the computer name from there.

    Computer Name - View and Change
    Last edited by Brink; 06 Jun 2012 at 21:42. Reason: added link for more info
      My Computer


  8. Posts : 1,167
    Windows 7 Pro with SP1 32bit
       #8

    Do you just want to find out what the Computer Name is or do you want to change it?

    Go to Control Panel\All Control Panel Items\System and there you shall find the Computer Name as well as a link to System Properties to change the settings.
      My Computer


  9. Posts : 710
    Win7 Pro x64
       #9

    FuturDreamz said:
    Trucidation said:
    Assuming you're booting from that drive, pressing win + pause should bring up a popup which includes the computer name.
    What happens if your keyboard doesn't have a play/pause button?
    *insert conspiracykeanu stare*

    They make keyboards without the pause button?

    -
    On a serious note, the OP sounds like he's booting off another PC and just has the HDD slaved to it. In that case I don't think the suggestions here are going to help as they're only going to return the ID of the booting machine.
      My Computer


  10. Posts : 742
    MS Windows 7 Ultimate 64-bit SP1
       #10

    Although the registry (referred to as registry hives) appears to be in one file, it is actually placed in several files on your computer.

    Depending on your system configuration, registry files can be found in the following locations:

    The HKEY_CLASSES_ROOT, HKEY_CURRENT_CONFIG and HKEY_LOCAL_MACHINE hives are stored in the Default, SAM, Security, Software, System files in C:\Windows\System32\Config\.

    The HKEY_CURRENT_USER hive is stored in the NTUSER.DAT in that user's profile folder usually C:\Users\username.

    To load a particular hive from a second hard disk connected to your system, follow these instructions.

    1 Click the "Start" button and type "regedit" into the Search field, then click the "Registry Editor" program.

    2 Click "HKEY_LOCAL_MACHINE" in the left pane of the Registry Editor window.

    3 Click the "File" menu and choose "Load Hive."

    4 Browse to the secondary hard drive's "windows\system32\config" directory from the "Load Hive" dialog box.

    5 Click to select the "System" or "Software" file (no file suffixes) to open the respective registry hives. Type a temporary name and click "Open" to open the hive.

    6 Once the registry hive is loaded into the registry editor, traverse down to the below path

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName

    Here you will find the Computer name for the second hard disk.

    Important: Once you have done with browsing the registry, Click the "File" menu and choose "Unload Hive" before closing the registry editor.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:41.
Find Us