Locating the Name of Your Computer

In many cases, a computer name is needed to perform in-depth troubleshooting. This document will help you locate your computer name, also known as the "hostname". Each section includes basic and advanced methods of lookup.

  1. Right-click on My Computer from either the Desktop or Start Menu, and choose Properties:

    Properties
  2. Click on the Computer Name tab at the top of the window. Your computer's name is listed next to "Full computer name"

    Computer Name
  1. Go to Start > Programs > Accessories > Command Prompt
  2. In the prompt, type the word 'hostname' (without quotes) and press enter
  3. Your computer's name is the output of this command:

    Windows Command Prompt
  1. From the Start menu, right-click on Computer and choose Properties from the menu:

    Properties
  2. The computer name will be listed beneath "Computer name, domain, and workgroup settings"

    Hostname
  1. Go to Start > Programs > Accessories > Command Prompt
  2. In the prompt, type the word 'hostname' (without quotes) and press enter
  3. Your computer's name is the output of this command:

    Windows Command Prompt
  1. Move your mouse cursor to the lower left corner of the screen until you see a small image appear. If you are currently viewing the Desktop, this image should be a shortcut to the Start screen, and vice-versa:

    Start Button
  2. Right-click on this box to reveal the Windows Quick Access Menu. Click on System in this menu.

    Quick Access Menu
  3. The computer name will be listed beneath "Computer name, domain, and workgroup settings"

    Hostname
  1. Move your mouse cursor to the lower left corner of the screen until you see a small image appear. If you are currently viewing the Desktop, this image should be a shortcut to the Start screen, and vice-versa:

    Start Button
  2. Right-click on this box to reveal the Windows Quick Access Menu. Click on Command Prompt in this menu.

    Quick Access Menu
  3. In the prompt, type the word 'hostname' without quotes and hit enter
  4. Your computer's name is the output of this command:

    Windows Command Prompt
  1. On OS X machines, go to the Apple menu > System Preferences
  2. Go to the Sharing preference pane:

    System Preferences
  3. Your hostname is in the "Computer Name" field:

    Computer Name
  1. With Finder focused, go to the Go menu > Utilities > Terminal
  2. In the terminal, type the word 'hostname' without quotes and hit enter
  3. Your hostname is the output of the hostname command:

    Terminal Window



Keywords:hostname computer name windows mac win7 win8 osx 10.6 10.7 10.8 snow leopard mountain lion   Doc ID:28127
Owner:Xander Z.Group:DoIT Help Desk
Created:2013-01-15 13:02 CDTUpdated:2015-04-16 11:00 CDT
Sites:Advanced Desktop Support, DoIT Departmental Support, DoIT Help Desk, DoIT Staff, Help Desk Level 2, University of Illinois Administration
Feedback:  8   0