How to find the computer name on Windows computers

This document contains instructions on how to find the computer name on Windows computers.

From the login screen

  1. On the username field, type .\
  2. The computer name will be displayed under the password field, next to where it says Sign in to:

Windows 10 log in screen with arrow pointing to computer name under password field.

From the desktop

  1. Open start menu.Start menu with cmd /k hostname in the search bar.
  2. Type into the search bar cmd /k hostname.Command prompt window with an arrow pointing to the computer name.
  3. Your computer name will be displayed in the first line of a command prompt window.

Alternatively, you can open any command prompt window and type hostname


Short URL for this page: https://go.illinois.edu/computername