How to find the hostname of your Windows computer

Summary

Quick and simple instructions for finding the hostname of your Windows device.

Body

Question

How do I find the hostname on my Windows 11 computer?

Answer

On your system in the Search bar at the bottom of your Windows screen, type in cmd.exe and press ENTER.

Uploaded Image (Thumbnail)

This will open a small black screen with a blinking line in it called the Command Prompt. In the Command Prompt window, type in the command hostname and press ENTER. The output of this command should appear on the line below, and it should look something like this.

Uploaded Image (Thumbnail)

Details

Details

Article ID: 164498
Created
Wed 8/27/25 5:01 PM
Modified
Fri 11/14/25 5:13 PM