How to Find Computer Name in Windows 11

Your computer name in Windows 11 is used to identify your device on a network, during file sharing, remote desktop connections, Bluetooth pairing, and system management. Whether you’re troubleshooting an issue, connecting another device, or just renaming your PC, knowing where to find your computer name is important.

Windows 11 gives you several easy ways to view your device name. In this guide, we’ll walk you through all the reliable methods to find your computer name—from Settings to Command Prompt and PowerShell.

1. Find Your Computer Name from Windows Settings

This is the quickest and most straightforward way.

  1. Press Windows + I to open Settings.
  2. Go to System from the left sidebar.
  3. Click About at the bottom of the System page.
  4. Look for the Device name field at the top.

This shows your full computer name, such as:
DESKTOP-L2X4J7B or AJOY-PC

2. Find Your Computer Name Using System Properties

System Properties gives you additional details like Workgroup and domain status.

  1. Press Windows + R, type sysdm.cpl, and press Enter.
  2. The System Properties window will open.
  3. Under the Computer Name tab, your device name appears next to Full computer name.

This is also where you can change your computer name if needed.

3. Find Computer Name Using Command Prompt

If you prefer command-line tools, this method is fast and accurate.

  1. Press Windows + S, search for Command Prompt, and open it.
  2. Type the following command: hostname
  3. Press Enter.

Command Prompt will immediately display your computer name.

4. Find Computer Name Using PowerShell

You can also fetch the name through PowerShell using a system variable.

  1. Open the Start Menu and search for PowerShell.
  2. Type the following command: $env:COMPUTERNAME
  3. Press Enter.

Your PC name will appear instantly.

5. Find Computer Name from File Explorer

File Explorer also displays the device name.

  1. Open File Explorer using Windows + E.
  2. Right-click This PC in the left sidebar.
  3. Select Properties.
  4. The Device name will appear on the System About page.

This is useful when you’re already inside File Explorer.

6. Find Computer Name Using the Settings Search Bar

If navigating Settings manually feels slow, you can jump straight to the page.

  1. Open Settings (Windows + I).
  2. Click the Search bar at the top.
  3. Type device name or PC name.
  4. Click the result, and you’ll land directly on the About page showing the computer name.

7. Find Computer Name Using the Run Command

The Run dialog can launch multiple system interfaces quickly.

  1. Press Windows + R to open Run.
  2. Type: msinfo32
  3. Press Enter.
  4. The System Information window will open.
  5. Look for System Name in the right pane.

This tool also gives you detailed hardware and system specs.

Wrapping Up

Finding your computer name in Windows 11 is incredibly simple, and you have multiple options—from Settings and System Properties to Command Prompt and PowerShell. Whether you’re connecting remotely, joining a network, or organizing multiple devices, knowing how to locate your PC name helps you manage your system more easily.

Posted by Arpita

With a background in Computer Science, she is passionate about sharing practical programming tips and tech know-how. From writing clean code to solving everyday tech problems, she breaks down complex topics into approachable guides that help others learn and grow.

X