How to Find Your Computer Name and Location on Windows 11/10(2026 Guide)

Not sure what your computer is called on your network? Need to find your device name to connect remotely, join a domain, or share files? You are in the right place. This guide shows you every way to find your computer name and location on Windows, step by step, no guesswork needed.

Why Your Computer Name Matters

Every Windows PC has a name. It is not just a label. Your computer name is how other devices on the same network identify your machine. IT departments use it to manage devices remotely. You need it for remote desktop connections, network shares, printer setup, and even some software license activations.

“Computer location” in Windows is a separate concept. It refers to the network location type (Private, Public, or Domain) and, in some enterprise setups, a physical description field you or your admin can set.

Both pieces of information are easy to find once you know where to look.

The Fastest Way: Find Your Computer Name in 10 Seconds

The quickest method works on Windows 10 and Windows 11.

  1. Press Windows key + Pause/Break on your keyboard.
  2. The System Properties window opens.
  3. Look under “Computer name, domain, and workgroup settings”.
  4. Your computer name is listed right there.

No digging through menus. No commands. Done.

If your keyboard does not have a Pause/Break key (many laptops do not), keep reading. There are several other ways.

Find Your Computer Name

All Methods to Find Your Computer Name on Windows

Method 1: Settings App (Windows 11 and Windows 10)

This is the modern way.

On Windows 11:

  1. Click Start and open Settings (the gear icon).
  2. Go to System.
  3. Scroll down and click About.
  4. Under Device specifications, you will see Device name. That is your computer name.

On Windows 10:

  1. Click Start, open Settings.
  2. Go to System, then About.
  3. Your device name appears under Device specifications.
See also  Action Camera Waterproof Features: What You Actually Need to Know

Method 2: Control Panel (Classic Method)

This works on every version of Windows from XP to Windows 11.

  1. Press Windows key + R to open the Run dialog.
  2. Type control system and press Enter.
  3. The System window opens.
  4. Find “Computer name, domain, and workgroup settings”.
  5. Your full computer name is shown next to Computer name.

Method 3: Command Prompt

If you prefer typing, this takes two seconds.

  1. Press Windows key + R, type cmd, press Enter.
  2. In the command prompt, type:
hostname
  1. Press Enter. Your computer name prints on the next line.

That is it. The hostname command is fast, scriptable, and works in every version of Windows.

You can also use this command for more detail:

wmic computersystem get name

This returns the same computer name but in a slightly different format, useful when you are building scripts.

Method 4: PowerShell

PowerShell gives you the same result with a bit more flexibility.

  1. Press Windows key + X and choose Windows PowerShell or Terminal.
  2. Type:
$env:COMPUTERNAME
  1. Press Enter. Your computer name appears.

Alternatively, you can run:

(Get-CimInstance Win32_ComputerSystem).Name

This pulls the name directly from the WMI system class, which is the same source Windows uses internally.

Method 5: File Explorer

A less obvious but quick option.

  1. Open File Explorer.
  2. Right-click on This PC in the left sidebar.
  3. Click Properties.
  4. The same System window from Method 2 opens, showing your computer name.

Method 6: System Information Tool

This tool gives you everything about your PC in one place.

  1. Press Windows key + R, type msinfo32, press Enter.
  2. The System Information window opens.
  3. At the top of the System Summary, look for System Name. That is your computer name.

All Methods at a Glance

MethodHow to AccessWorks OnBest For
Win + Pause/BreakKeyboard shortcutWindows 10, 11Fastest option
Settings > AboutStart menuWindows 10, 11Everyday users
Control PanelRun > control systemAll Windows versionsClassic approach
hostname commandCommand PromptAll Windows versionsScripts, IT pros
PowerShellWin + X menuWindows 10, 11Advanced users
File ExplorerRight-click This PCAll Windows versionsVisual learners
msinfo32Run dialogAll Windows versionsDetailed system info

How to Find Your Computer’s Network Location on Windows

Windows uses the term “network location” or “network profile” to describe whether your PC treats its current connection as Private or Public. This affects firewall rules and what other devices can see.

Check Network Location on Windows 11

  1. Open Settings.
  2. Go to Network and Internet.
  3. Click on your active connection (Wi-Fi or Ethernet).
  4. Under Network profile type, you will see either Public or Private.

Check Network Location on Windows 10

  1. Open Settings.
  2. Go to Network and Internet.
  3. Click Status.
  4. Click Properties under your connection name.
  5. You will see the current network profile: Public or Private.

What Private and Public Mean

Private network: Your PC is discoverable by other devices on the same network. File sharing, printers, and remote access features work. Use this at home or in a trusted office.

Public network: Your PC hides from other devices. Firewall rules are stricter. Use this on coffee shop Wi-Fi, airports, hotels, or any shared network you do not fully trust.

See also  Top DeFi Protocols on Avalanche: The Ultimate Guide to Using Them

Domain network: This only appears on business computers joined to a corporate domain. Your IT admin controls the settings.

How to Find the Computer Description (Location Field)

Windows has an optional “Computer description” field. Some organizations use this to set a physical location like “Floor 3, Room 302” or “Reception Desk.” Here is how to find and set it.

View the Computer Description

  1. Press Windows key + R, type sysdm.cpl, press Enter.
  2. The System Properties dialog opens.
  3. On the Computer Name tab, look for Computer description.
  4. If your admin or a previous user filled this in, you will see the location or description here.

You can also check it via Command Prompt:

net config workstation

Look for the line that says Workstation active on and Computer name. A description will appear near the top if one is set.

Set or Change the Computer Description

  1. Open the same System Properties dialog (sysdm.cpl).
  2. Click on the Computer Name tab.
  3. Type a description in the Computer description field.
  4. Click Apply, then OK.

Note: On domain-joined machines, you may need admin rights to change this. On home PCs, any admin account can do it.

How to Change Your Computer Name on Windows

While this article focuses on finding your computer name, many people land here because they want to change it too. Here is how to do it quickly.

Change Computer Name on Windows 11

  1. Open Settings > System > About.
  2. Click Rename this PC.
  3. Type the new name (letters, numbers, and hyphens only, max 15 characters).
  4. Click Next, then restart when prompted.

Change Computer Name on Windows 10

  1. Open Settings > System > About.
  2. Click Rename this PC.
  3. Follow the same steps as above.

The computer name must be 15 characters or fewer. Spaces and special characters are not allowed. After renaming, Windows needs a restart to apply the change across the network.

For more details on Windows networking features, Microsoft’s official documentation at https://learn.microsoft.com/en-us/windows-server/networking/ is a thorough resource worth bookmarking.

Finding Your Computer Name Remotely

Already away from your desk and need your computer name? You have a few options.

If you use Microsoft account sync: Your device name may appear in your Microsoft account at account.microsoft.com under the Devices section.

If your company uses Azure AD or Intune: IT can see your device name in the admin portal.

If you have remote access tools: Tools like Remote Desktop, TeamViewer, or AnyDesk often display the computer name in their connection interface.

If you have access to another computer on the same network:

  1. Open Command Prompt on that machine.
  2. Type net view to see all devices on the network.
  3. Your computer name will appear in the list if it is online and on the same network.

Finding Computer Name via Registry

Power users and developers sometimes need to pull this from the registry directly.

  1. Press Windows key + R, type regedit, press Enter.
  2. Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName
  1. The value named ComputerName contains your PC’s name.
See also  How to Build Website with AI in 2026: Step-by-Step Guide

There is also a second key that shows the “active” name (before any pending rename takes effect):

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName

If these two values differ, a rename is pending and will apply after the next restart.

Troubleshooting: Common Issues

The computer name shows as just “DESKTOP-XXXXXXX” or “LAPTOP-XXXXXXX” This is the default name Windows assigns during setup. It has not been customized. You can rename it using Settings > About > Rename this PC.

I changed the name but other devices still see the old name The change only takes full effect after a restart. Also, DNS caches on routers and other devices may take a few minutes to update.

My computer name has spaces or special characters This should not happen unless the registry was edited manually. Windows does not allow spaces in computer names through the normal interface. If it happened, rename the computer through Settings to give it a valid name.

I cannot find Pause/Break on my laptop keyboard Most modern laptops do not have this key. Use any of the other methods in this guide. The Settings app method (Settings > System > About) is the best alternative.

Computer Name vs. Device Name vs. Hostname: Are They the Same?

Yes, mostly. In Windows:

  • Computer name is what appears in System Properties and on the network.
  • Device name is what Windows 10 and 11 call it in the Settings app. It is the same value.
  • Hostname is the network term. The hostname command returns this. For Windows PCs that are not servers, hostname equals computer name.

They all refer to the same thing in practice. The only exception is if your machine has a different DNS hostname configured by a network admin, but that is rare outside enterprise environments.

For more on how Windows manages device identity and network names, the support documentation at https://support.microsoft.com/en-us/windows covers most common scenarios.

Summary

Here is what you now know:

The fastest way to find your computer name on Windows is to press Windows key + Pause/Break. If that does not work, open Settings > System > About and look for Device name. For command-line users, just type hostname in any Command Prompt window.

Computer location in Windows means two things: the network profile (Public or Private), which you check in Settings > Network and Internet, and the optional computer description field in System Properties (sysdm.cpl).

Changing your computer name takes less than a minute through Settings > About > Rename this PC, followed by a restart.

Frequently Asked Questions

How do I find my computer name on Windows 11 without using Settings?

Open Command Prompt and type hostname, then press Enter. Your computer name prints instantly. You can also press Windows key + R, type sysdm.cpl, and check the Computer Name tab in the System Properties dialog.

Can I find my computer name from the taskbar or desktop?

Not directly. But you can right-click This PC on the desktop and choose Properties to open the System window, which shows your computer name. If This PC is not on your desktop, you can add it through Personalization settings.

What is the maximum length for a Windows computer name?

Windows computer names can be up to 15 characters. They can include letters (A-Z), numbers (0-9), and hyphens. Spaces, underscores, and special characters are not allowed. Names longer than 15 characters are not supported due to NetBIOS naming limits.

Does changing my computer name affect my files or software?

No. Renaming your PC does not affect your files, installed programs, or Microsoft account. The only thing that changes is how the computer identifies itself on the network. Some network shares or remote desktop connections saved with the old name will need to be updated.

How do I find the computer name of another PC on my network?

Open Command Prompt and type net view. This lists all devices visible on your local network. You can also use ping -a [IP address] to resolve an IP address to a hostname. For example, ping -a 192.168.1.5 returns the computer name associated with that IP if it is reachable on your network.

MK Usmaan