How to find the computer name on Windows computers

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

Windows

From the login screen

  1. Type .\ (a period and backslash) into the username field
  2. The computer name will be displayed under the password field, next to where it says Sign in to:

login screen

From the desktop

  1. On Windows 10 computers, search for about in the start menu and open the About your PC settings app. Your computer name will be listed as Device name.

type-about about window

From the command line

  1. Type cmd /k hostname into the start menu and hit Enter. Your computer name will be displayed in the first line of a command prompt window.
  2. Alternatively, you can open any command prompt and enter hostname. This works on Linux as well.

type cmd k hostname cmd windows

    Linux

    1. Open a terminal window and enter hostname. The computer name will be returned.

    terminal window


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




    Keywords:how to find computer name windows pc computer   Doc ID:95817
    Owner:Janelle H.Group:University of Illinois Engineering IT
    Created:2019-11-14 14:22 CDTUpdated:2022-04-21 12:04 CDT
    Sites:University of Illinois Engineering IT
    CleanURL:https://answers.uillinois.edu/how-to-find-the-computer-name-on-windows-computers
    Feedback:  22   13