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

To find your computer name on Windows 11 or Windows 10, open Settings > System > About and read the device name at the top of the page, or type hostname in Command Prompt and press Enter. Your PC's physical location is a separate setting, controlled under Settings > Privacy & security > Location and shown on a map by Find My Device.

Below are all the places Windows shows the name, from a keyboard shortcut to the registry, plus how to check the domain or workgroup, the network and device location settings, and how to rename the PC safely.

How to Find Your Computer Name and Location on Windows 11/10(2026 Guide)
The device name sits above the model; Device specifications below lists the processor and installed RAM. (Image: Microsoft)

How to find your computer name in Windows 11 and 10

On Windows 11 one key combination opens the right page directly. On Windows 10 the Settings route takes three clicks.

  1. Press Windows logo key + Pause. On Windows 11 this opens Settings at System > About.
  2. On Windows 10, right-click Start, select Settings, then System > About.
  3. Read the device name at the top of the page. The model name is shown just below it.

No Pause key? Press Windows logo key + R, type ms-settings:about and press Enter to open the same page.

Every route reads the same name. Pick the one that also gives you the extra detail you need.

Your situation Use this Why
You just need the name Settings > System > About Same on Windows 11 and Windows 10
Your hands are on the keyboard Windows logo key + Pause, or Win + X > System Opens the About page without the mouse
You are in a terminal or a script hostname, echo %COMPUTERNAME% or $Env:COMPUTERNAME Prints the name as text you can copy
You need the domain or workgroup sysdm.cpl > Computer Name tab Shows the name and membership together
IT wants a full hardware report System Information (msinfo32) Name plus hardware details, exportable
You also need the IP address ipconfig /all Lists the host name and every adapter's addresses
You lost the laptop Find My Device at account.microsoft.com/devices Shows the device on a map if it was turned on

Find your computer name in Windows Settings

The About page is where Microsoft documents the device name for both versions, and it is also where you rename the PC.

  1. Press the Windows key, type System, and open System settings. Right-clicking Start and selecting Settings > System works too.
  2. Scroll to the bottom and select About.
  3. Read the Device name at the top of the page, with the model name below it.
  4. Check Device specifications on the same page for the processor, installed RAM and system type.
  5. Select the Domain or workgroup link under Related links to see which domain or workgroup the PC belongs to.
Microsoft steps to find your computer name in Windows from the About page
Microsoft's route: search System, open About, read Device name; Domain or workgroup sits under Related links. (Image: Microsoft)

Find your computer name with the Power User menu

Two shortcuts reach the About page in one move, which helps when someone on the phone asks for the name.

  • Power User menu: press Win + X (or right-click Start) and select System. Windows 11 and Windows 10 both open the About page.
  • Keyboard shortcut: press Windows logo key + Pause. On laptops without a Pause key, some keyboards map it to Fn plus another key; check the key labels.
  • Run box: press Win + R, type ms-settings:about, and press Enter.

Find your computer name using the search box

  1. Select the search box or icon on the taskbar.
  2. Type computer name or about your PC.
  3. Select View your PC name or About your PC in the results. The About page opens with the device name at the top.

Find your computer name using File Explorer

  1. Press Win + E to open File Explorer.
  2. Right-click This PC in the left pane.
  3. Select Properties. The About page opens and shows the device name.

On a home network, other PCs appear by their computer names under Network in the same pane, which is a quick way to check what name a second PC uses.

Find your computer name in System Properties

The Computer Name tab shows the name together with the domain or workgroup, and it is the classic place to rename a PC or join a domain.

  1. Press Win + R, type sysdm.cpl, and press Enter.
  2. Open the Computer Name tab if it is not already selected.
  3. Read Full computer name and the Workgroup or Domain line below it.
  4. Select Cancel to close without changing anything.

Use Control Panel to view PC name, domain, or workgroup

  1. Select Start, type Control Panel, and press Enter.
  2. Set View by to Category, then select System and Security > System.
  3. On Windows 11, select Domain or workgroup. On Windows 10, select Change settings next to Computer name, domain, and workgroup settings.
  4. Read the Computer Name tab that opens.

The Change button on that tab switches between Domain and Workgroup under Member of. Joining a domain needs Windows Pro, Enterprise or Education, an administrator account, and usually credentials from your IT team.

Check the full computer name with System Information

System Information collects hardware, component and software details in one window, and help desks ask for it because the whole report can be saved to a file.

  1. Press Win + R, type msinfo32, and press Enter.
  2. Select System Summary at the top of the left pane.
  3. Read System Name in the list on the right, alongside the OS name, version and manufacturer.
  4. To keep a copy, run msinfo32 /report %USERPROFILE%\Desktop\sysinfo.txt from Command Prompt.

The short name is the host name. On a domain PC the full computer name adds the domain suffix, such as PC01.corp.contoso.com. An administrator can also run msinfo32 /computer PC01 to read another PC on the network, given WMI permissions on it.

System Information window showing the system name and Windows details
System Summary in msinfo32 lists the system name with the OS version and manufacturer. (Image: Microsoft)

Find your computer name with Command Prompt or PowerShell

Several one-line commands print the name. hostname runs in both shells; the others belong to one shell each.

hostname
echo %COMPUTERNAME%
$Env:COMPUTERNAME
[System.Environment]::MachineName

hostname prints the host name portion of the full computer name. echo %COMPUTERNAME% is the Command Prompt form and, as Microsoft notes, usually prints the same string in uppercase. $Env:COMPUTERNAME reads the same environment variable in PowerShell, and [System.Environment]::MachineName asks .NET for the NetBIOS name. hostname only works when TCP/IP is installed on a network adapter, which is the default.

You should see: One line with the name, for example PC01, matching the About page apart from letter case.

hostname command reference used to find your computer name in Command Prompt
hostname needs TCP/IP on a network adapter; %COMPUTERNAME% usually prints the same string in uppercase. (Image: Microsoft)

Use the Command Prompt ipconfig to find a computer name

When support asks for both the name and the address, one command gives you both.

ipconfig /all

The first block, Windows IP Configuration, starts with Host Name, which is your computer name. Each adapter block below lists its IPv4 and IPv6 addresses, subnet mask, default gateway and physical (MAC) address.

You should see: Host Name . . . : PC01 near the top, followed by one section per network adapter.

If you only need the IP address on Windows, Settings shows it too, and the Physical Address line in the same output is the adapter's MAC address.

ipconfig /all reference for showing the computer host name and IP configuration
ipconfig /all prints Host Name first, then every adapter's addresses. (Image: Microsoft)

Find your computer name in Registry Editor

The registry holds the name Windows uses at startup. Read it only; editing it by hand is not a supported way to rename a PC.

  1. Press Win + R, type regedit, and press Enter. Select Yes at the User Account Control prompt.
  2. Paste HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName into the address bar and press Enter.
  3. Read the ComputerName value in the right pane.
  4. Close Registry Editor without changing anything.

Check network location and device location settings

"Location" means two things in Windows. The network location, now called the network profile type, controls whether other PCs on the network can see yours. Device location controls whether Windows, apps and Find My Device know where the PC physically is, worked out from GPS, nearby Wi-Fi, cell towers, your IP address, or a default location you set.

What you want to check Windows 11 Windows 10
Whether the network is Public or Private Settings > Network & internet > Wi-Fi or Ethernet > Network profile type Select the connected network, then Network profile type
Whether location is on Settings > Privacy & security > Location > Location services Settings > Privacy > Location
Which apps see your location Let apps access your location and the per-app list Allow apps to access your location and the per-app list
The fallback location Default location > Set default Default location > Set default
Whether Find My Device is on Win + R > ms-settings:findmydevice Same shortcut, under Update & Security

Microsoft labels Public network (Recommended) as the right choice in most cases because it hides your PC from other devices. Choose Private network only on a network you trust when you need file and printer sharing. A "your location is currently in use" icon after turning location on is normal and means an app is reading your location.

Find where a lost Windows PC is with Find My Device

Find My Device shows a lost or stolen PC on a map. It works only if it was turned on beforehand, you sign in with a personal Microsoft account, your account is an Administrator, and location is on.

  1. In any browser, go to account.microsoft.com/devices and sign in.
  2. Select the Find My Device tab.
  3. Choose the device by its computer name and select Find to see the map.
  4. To lock it, select Lock > Next, then reset your Microsoft account password.

Anyone using the PC sees a notification each time you locate it. The serial number for a police or insurance report is on the same site under Info and support.

Find My Device steps to see the location of a lost Windows computer
Find My Device needs a personal Microsoft account, an Administrator account and location turned on. (Image: Microsoft)

Computer name rules: length and allowed characters

Pick the new name before you rename. Windows rejects names that break these rules, and names that pass can still clash with other devices.

Rule Detail Source of the limit
Length 1 to 15 characters; the 16th NetBIOS character is reserved NetBIOS name limit
Safe characters Letters A-Z, numbers 0-9 and the hyphen (-) DNS host name rules (RFC 1123)
Not allowed Spaces, periods and \ / : * ? " < > | , ~ ! @ # $ % ^ & ' ( ) { } _ NetBIOS and DNS rules combined
First and last character Start with a letter or number; do not end with a hyphen DNS host name rules
Numbers only Not allowed on a PC that joins an Active Directory domain DNS restriction
Uniqueness A different name for every PC on the network Duplicate names conflict

A short name that says who owns the PC or what it is for, such as ALEX-LAPTOP, is easiest to spot in device lists. Letter case is not preserved everywhere, so do not rely on it.

Rename your Windows 11 or Windows 10 computer safely

You can rename the PC from Settings, System Properties or PowerShell; the new name takes effect after a restart. On a domain-joined work PC, ask IT first, because renaming a domain member needs domain administrator credentials.

  1. Save your work and close open files.
  2. Open Settings > System > About.
  3. Select Rename this PC.
  4. Type the new name and select Next.
  5. Select Restart now or Restart later.

From System Properties, open the Computer Name tab, select Change, type the name under Computer name, select OK, and restart. Afterwards, update mapped drives or shortcuts on other PCs that point to the old name, such as \\OLD-NAME\Share.

Rename this PC steps in Settings after you find your computer name
Rename this PC sits on the same About page that shows the device name. (Image: Microsoft)

Rename computer with PowerShell or Command Prompt

Rename-Computer renames the local PC in one line. Open PowerShell as an administrator and replace NEW-NAME with your chosen name.

Rename-Computer -NewName "NEW-NAME" -Restart
Rename-Computer -NewName "NEW-NAME" -DomainCredential CONTOSO\Admin01 -Restart

The first line renames a home or workgroup PC and restarts it; leave out -Restart to restart later. The second is for a domain-joined PC, where explicit domain credentials are required and you are prompted for the password.

You should see: The PC restarts, and hostname prints the new name after you sign in.

Rename-Computer PowerShell examples for renaming a local or remote computer
Domain-joined PCs need -DomainCredential; -Restart applies the new name straight away. (Image: Microsoft)

Check the new computer name after a restart

  1. Open Command Prompt and type hostname. It should print the new name.
  2. Open Settings > System > About and confirm the name at the top.
  3. If the old name still shows, restart once more.
  4. Check that account.microsoft.com/devices lists the name you expect.

Find your computer name on a Mac

  1. Choose Apple menu > System Settings.
  2. Select General in the sidebar, then About. The computer name is at the top, and you can edit it there.
  3. For the local hostname used on the network, open General > Sharing and look at the bottom of the window.

Computer name FAQ

How do I find my computer name on Windows 11?

Press Windows logo key + Pause, or open Settings > System > About. The device name is at the top of the page. Typing hostname in Command Prompt shows the same name.

How do I find my computer name on Windows 10?

Right-click Start, select Settings, then System > About. The device name is at the top. Control Panel > System and Security > System, or hostname in Command Prompt, show it too.

How do I find my computer name with CMD?

Open Command Prompt, type hostname and press Enter. The name prints on the next line. echo %COMPUTERNAME% prints the same name in uppercase.

How do I find my computer name and IP address at the same time?

Run ipconfig /all in Command Prompt. Host Name at the top is the computer name, and each adapter section lists its IPv4 and IPv6 addresses.

What is the shortcut to find my computer name?

Windows logo key + Pause opens the About page on Windows 11, and Win + X followed by System works on both versions. Win + R, then sysdm.cpl, opens the Computer Name tab.

What is the difference between computer name and full computer name?

The computer name is the short host name, such as PC01. The full computer name adds the DNS domain suffix, such as PC01.corp.contoso.com. On a home PC in a workgroup the two are usually the same.

Where can I see whether my PC is in a domain or workgroup?

Press Win + R, type sysdm.cpl and press Enter. The Computer Name tab shows the domain or workgroup. On Windows 11 the Domain or workgroup link on the About page opens the same tab.

Does my Windows computer name show my physical location?

No. The computer name is only a label on the network. Physical location comes from Windows location services, which you control under Privacy & security > Location.

Can I rename my Windows computer without causing problems?

Yes, on a home PC. Use Settings > System > About > Rename this PC, pick a name of up to 15 letters, numbers and hyphens, then restart. Update mapped drives that use the old name, and ask IT first on a domain-joined PC.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *