The fastest way: Settings
Open Settings by pressing the Windows key and typing "settings", then press Enter. Click Accounts on the left side. At the top of the window, under "Your info", you will see your username displayed next to a profile picture. This is the name Windows uses to identify your account on this computer.
This method works whether you use a Microsoft account (the kind tied to Outlook or Hotmail) or a local account (one created only on this specific computer). The username shown here is what you need if you are setting up file sharing, connecting to a network printer, or troubleshooting permission problems.
Key Takeaways
- Your Windows 10 username appears in Settings under Accounts > Your info, next to your profile picture.
- The Command Prompt method using whoami works offline and shows your username in the format domain\username or computername\username.
- Task Manager displays your username in the Users tab, which is useful if you need to see all active accounts on the computer at once.
- The System Information window shows your full username under "User Name" and also displays your computer name for network purposes.
Using Command Prompt for a quick check
Press the Windows key, type "cmd", and press Enter to open Command Prompt. Type whoami and press Enter. The result will show your username in the format computername\username or domain\username if you are on a work network. This method is fast and works even if your Settings window is not responding.
The backslash before your username indicates which computer or network domain owns the account. If you see only your username without anything before the backslash, you are using a local account. If you see a domain name, your account is managed by a network administrator.
Checking Task Manager to see all usernames on this computer
Right-click the taskbar at the bottom of your screen and select Task Manager. Click the Users tab at the top. You will see a list of all user accounts currently logged in or have been used on this computer recently. Your current username will have a checkmark or be marked as active.
This view is useful if you share the computer with other people and need to see which accounts exist. Task Manager also shows how much memory and CPU each user's programs are using, which can help if you are troubleshooting slowness caused by another account's activity.
System Information window for complete account details
Press the Windows key, type "system information", and press Enter. Look for the line labeled User Name in the window that opens. This shows your full username in the same format as Command Prompt. The same window also displays your computer name under "System Name", which you need if you are connecting to this computer from another device on your network.
System Information is most useful when you need both your username and your computer name at the same time, or when you are documenting your system setup for IT support or troubleshooting purposes.
What to do if you see different usernames in different places
Windows sometimes displays your username differently depending on where you look. In Settings, you might see "John Smith" (your display name), but Command Prompt shows "jsmith" (your account name). Both refer to the same account — Settings shows the friendly name, while Command Prompt and System Information show the technical account name.
If you are setting up a network connection, file sharing, or troubleshooting permissions, use the technical name from Command Prompt or System Information. If you are just looking for what to call yourself in a user-facing context, the display name in Settings is fine. When in doubt, try the Command Prompt version first — it is the name Windows uses internally.
Why you might need your username
Your Windows username is required for several common tasks: connecting to a shared network folder, setting up a printer on a network, troubleshooting file permission errors, or providing information to IT support. Some programs also ask for your username when you are installing them or setting up features that need to know who owns the computer.
If you are setting up a new device or helping someone else troubleshoot their computer, having the correct username prevents confusion and saves time. It is also the first thing to check if you are seeing "access denied" errors when trying to open files or folders.
Frequently Asked Questions
Is my username the same as my password?
No. Your username is the name Windows uses to identify your account. Your password is the secret code you use to log in. You can change your password without changing your username, and vice versa. Never share your password, but your username is not secret — other people on your network may need it to send you files or connect to shared resources.
Can I change my Windows 10 username?
Yes, but the process depends on whether you use a Microsoft account or a local account. For a Microsoft account, go to Settings > Accounts > Your info and click "Manage your Microsoft account" to change your display name. For a local account, right-click "This PC" or "My Computer", select "Manage", then go to Local Users and Groups to rename the account. Changes take effect after you log out and back in.
What if I forgot my username?
If you cannot remember your username, look at the Windows login screen — it usually shows all usernames on the computer. If you are already logged in, use any of the methods above (Settings, Command Prompt, or Task Manager) to see your current username. If you are locked out of your account entirely, you may need to use a password reset disk or contact your IT administrator if this is a work computer.
Does my username appear in my email address?
Not necessarily. If you use a Microsoft account, your email address is tied to your account, but your Windows username may be different. For example, your email might be john.smith@outlook.com while your Windows username is jsmith. Check Settings to see which one applies to your account.