How to find a computer's name
This document contains instructions on how to find the name of a computer on Windows and Linux
Windows
From the login screen
- Type
.\
(a period and backslash) into the username field - The computer name will be displayed under the password field, next to where it says Sign in to:
From the desktop
- 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 asDevice name
.
From the command line
- Type
cmd /k hostname
into the start menu and hitEnter
. Your computer name will be displayed in the first line of a command prompt window. - Alternatively, you can open any command prompt and enter
hostname
. This works on Linux as well.
Linux
- Open a terminal window and enter
hostname
. The computer name will be returned.
Short URL for this page: https://go.illinois.edu/computername