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.
- Press Windows + I to open Settings.
- Go to System from the left sidebar.
- Click About at the bottom of the System page.
- 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.
- Press Windows + R, type sysdm.cpl, and press Enter.
- The System Properties window will open.
- 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.
- Press Windows + S, search for Command Prompt, and open it.
- Type the following command:
hostname - 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.
- Open the Start Menu and search for PowerShell.
- Type the following command:
$env:COMPUTERNAME - Press Enter.
Your PC name will appear instantly.
5. Find Computer Name from File Explorer
File Explorer also displays the device name.
- Open File Explorer using Windows + E.
- Right-click This PC in the left sidebar.
- Select Properties.
- 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.
- Open Settings (Windows + I).
- Click the Search bar at the top.
- Type device name or PC name.
- 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.
- Press Windows + R to open Run.
- Type:
msinfo32 - Press Enter.
- The System Information window will open.
- 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.