How to Find Your Computer's Name in Windows

Knowing your computer name in Windows 10 can be super helpful

What to Know

  • Type About in the Search bar—press Enter. The computer name is next to Device Name.
  • Use the command prompt: Press Windows+R, then CMD in the box. Click OK > type hostname > press Enter.
  • Alternatively, press Windows+R, then CMD in the box. Click OK > type ipconfig /all > press Enter. The Host Name is your computer name.

This article explains three ways to find your computer's name in Windows 10.

Use Settings to Find a Computer Name in Windows 10

Depending upon your version of Windows 10, your computer name will display a little differently. If this approach doesn't work, use the Command Prompt approach below.

  1. Locate the Windows Search box on the Windows Taskbar.

    The Windows Search box.
  2. In the Search box, type About and press Enter.

  3. The About windows displays a variety of specifications about your computer. Device name is your computer name.

    Windows 10 About window showing device name (computer name).

Use the Command Prompt Hostname to Find a Computer Name

A command prompt is a Windows program that emulates many of the command line abilities available in MS-DOS. It's a quick and easy way to find things or accomplish tasks on your computer, but it doesn't use any graphics, so it looks different from a standard Windows user interface.

To use a command prompt to find your device name, follow these steps.

  1. On your keyboard, press the Windows button. While holding it down, press R.

  2. In the Open box, type cmd and then click OK.

    The Run window with the Open command of CMD.
  3. In the window that appears, type Hostname next to the C:\Users. Your computer might also show a name next to 'Users' like this image shows.

    The Command Prompt window with the command Hostname.
  4. Press Enter. The system will return the name of your computer immediately following the request.

    The command prompt showing the computer hostname.

Use the Command Prompt ipconfig to Find a Computer Name

You can enter a separate command prompt called ipconfig to find your computer name, too. Follow these steps to use this command.

  1. On your keyboard, press the Windows button. While holding it down, press R.

  2. In the Open box, type Command Prompt. Alternatively, you can just type CMD.

  3. Click OK.

  4. In the window that appears, type ipconfig /all next to C:\Users.

  5. Press Enter.

  6. The computer name will be shown on the Host Name line.

    Command prompt results showing host name (computer name).
Was this page helpful?