How to Find Your Windows 11 Username in 4 Easy Ways
This guide covers the latest Windows 11 version
Finding your username in Windows 11 takes only a few seconds. The fastest way is to use the Command Prompt, but we’ll show you four different methods in total – whether you prefer a keyboard shortcut, GUI interface, or want to confirm your Microsoft account name.
Follow the steps below to get started:
Find fast your Windows 11 username
Step 1: Use Command Prompt to Find Your Username

➡️ Quick tip: This is the fastest method available—just one command.
- Press Windows + R, type
cmd, then press Enter. - In the Command Prompt window, type: bashCopyEdit
whoami - Press Enter to see the result. It will look something like: CopyEdit
DESKTOP-123ABC\JohnDoe
Here, JohnDoe is your Windows username.
✅ You can also type:
bashCopyEditecho %USERNAME%
to get just the JohnDoe part without the PC name.
Step 2: View Username from File Explorer

This is another simple way to see your username:
- Open File Explorer (Windows + E).
- Go to This PC → Local Disk (C:) → Users.
- You’ll see a list of folders. The folder with your name (e.g.
JohnDoe) is your username.
🔎 Note: If you’re signed in with a Microsoft account, the folder might show part of your email or be truncated (e.g., JohDo).
Step 3: Use Task Manager to Confirm the Username

Task Manager lets you see all active user sessions.
- Press Ctrl + Shift + Esc to open Task Manager.
- Click More details (if not already expanded).
- Go to the Users tab.
- You’ll see your current user account listed, including the full name and status.
📌 This is useful on shared or multi-user systems.
Step 4: Find Your Username in Settings
If you prefer using the Windows interface:
- Press Windows + I to open Settings.
- Click on Accounts from the left menu.
- Select Your info.
- Your display name and account type will appear here.
- If using a Microsoft account, this will show your name and email.
- For local accounts, it shows the username only.
🛑 Note: The name shown here may differ from your C:\Users folder or command-line output, especially for Microsoft-linked accounts.
Summary
| Method | Speed | Best For |
|---|---|---|
| Command Prompt | ⚡ Fastest | Immediate result via one command |
| File Explorer | Easy | Visual confirmation of folder |
| Task Manager | Multi-user | Seeing all signed-in accounts |
| Settings | User-friendly | Microsoft account confirmation |
Final Thoughts
The quickest way to find your Windows 11 username is by using the Command Prompt and the whoami command. It works instantly and is reliable for local, domain, or Microsoft accounts.
If you need the username for scripting, troubleshooting, or configuring a profile, this method will save you time. However, all other options – like File Explorer and Task Manager – are just as valid, depending on your preferences.
Stay informed, and don’t forget to check out our related guides for more Windows 11 tips.
Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more
User forum
0 messages