ARCHIVED: In Windows, how do I find my computer's hostname?

This content has been archived, and is no longer maintained by Indiana University. Information here may no longer be accurate, and links may no longer be available or reliable.

To find your computer's hostname:

In Windows 7, Vista, or XP

  1. In Windows 7, from the Start menu, right-click Computer. In Vista and XP, on the desktop, right-click Computer (Vista) or My Computer (XP).
  2. Select Properties. In Windows XP, then click the Computer Name tab.

    Note: If this doesn't match what you see, refer to Get around in Windows.

  3. In the window that appears, your computer name will be displayed under "Computer name, domain, and workgroup settings" (Windows 7 and Vista) or next to "Full computer name:" (XP).

Using the command prompt

  1. From the Start menu, select All Programs or Programs, then Accessories, and then Command Prompt.
  2. In the window that opens, at the prompt, enter hostname. The result on the next line of the command prompt window will display the hostname of the machine without the domain.

Note: Applications running on Unix systems are case sensitive, and recognize bl-uits-xxxxx and BL-UITS-XXXXX as two different computers. If you are providing your computer's hostname to be used on one of these systems, be careful to indicate the correct character case.

This is document avza in the Knowledge Base.
Last modified on 2018-01-18 16:04:31.

Contact us

For help or to comment, email the UITS Support Center.