The fastest way to see your username right now

Open the Settings app by pressing the Windows key and typing "Settings," then select it. Go to Accounts in the left menu, then click Your info. Your username appears at the top of the page under your profile picture. That's the name Windows uses to identify your account on this computer.

If you need to find it even faster without opening Settings, press Windows key + R to open the Run dialog, type whoami, and press Enter. A command window will show your username in the format COMPUTERNAME\username. The part after the backslash is what you're looking for.

Both methods show the same username — the one you log in with every time you start your computer. This is different from your display name (the friendly name that appears on your profile) and different from a Microsoft account email address if you use one to sign in.

Key Takeaways

  • Your Windows username appears in Settings under Accounts > Your info, at the top of the page.
  • The command whoami typed into the Run dialog shows your username when ready without navigating menus.
  • Your Windows username is the account name you use to log in, not your display name or email address.
  • If you see COMPUTERNAME\username in the whoami result, the part after the backslash is your actual username.
  • You may need your username to troubleshoot file permissions, connect to a network, or provide it to IT support.

Finding your username through File Explorer

Open File Explorer and look at the left sidebar. Click on This PC at the top. In the main window, you'll see a folder path that includes your username — it usually appears as C:\Users\[your username]. Your username is the folder name under Users.

You can also right-click on any file or folder you own, select Properties, then click the Security tab. Click Edit and then Locations to see which computer and username have permission to access that file. The username format here matches what you saw in Settings.

What to do if you see multiple usernames on your computer

If your computer has more than one user account, each person has their own username. The username you're looking for is the one associated with the account you're currently logged into. The Settings method and the whoami command both show only the username of the account you're using right now.

If you need to find usernames for other accounts on the computer, go to Settings > Accounts > Other people. You'll see a list of all user accounts on this computer, though Windows may show display names rather than the technical usernames. To see the actual username for another account, you would need to log into that account and repeat the steps above.

Why you might need your Windows username

Your username is required for several common tasks. IT support staff often ask for it when troubleshooting problems. Network administrators need it to set up file sharing permissions. Some software installations ask for your username to configure access rights. If you're setting up a shared folder or printer on a home network, you may need to provide your username so other computers can connect.

Your username is also used internally by Windows to organize your files, settings, and permissions. It's not sensitive information in the way a password is — it's visible in file paths and network settings — but it does identify your account on the computer.

The difference between username, display name, and email address

Your Windows username is the technical account name the system uses. It's what appears in file paths and command windows. Your display name is the friendly name shown on your profile and lock screen — you can change this in Settings > Accounts > Your info without changing your actual username. Your Microsoft account email is the address you use to sign in if you're connected to a Microsoft account, but it's separate from your Windows username.

If you sign in with a local account (not connected to Microsoft), your username and display name may be the same, but they're still technically different. If you sign in with a Microsoft account, your username is still a local account name on your computer — the email address is just the sign-in method.

Checking your username on a work or school computer

On a computer managed by an employer or school, your username may follow a specific format set by IT policy. It might be your first initial and last name, a student ID number, or an email prefix. The Settings and whoami methods still work the same way — they'll show you exactly what your username is on that computer.

If your computer is connected to a domain (common in offices and schools), the whoami command will show your username in the format DOMAIN\username instead of COMPUTERNAME\username. The domain name comes first, then your username. This is the format you'll need if IT support asks you to provide it.

Frequently Asked Questions

Is my Windows username the same as my password?

No. Your username identifies your account; your password protects it. Your username is not secret and appears in file paths and network settings. Your password should never be shared. You can change your password without changing your username, and vice versa.

Can I change my Windows username?

You can change your display name easily in Settings > Accounts > Your info. Changing your actual Windows username is more complex and requires administrative access. Changing it can affect file permissions and program settings, so it's usually not recommended unless you have a specific reason and know what you're doing.

What if the whoami command shows a username I don't recognize?

That's still your username — Windows may display it differently in different places. If it shows COMPUTERNAME\username, the part after the backslash is your actual username. If you're concerned about account security, check Settings > Accounts to confirm this is your account and review recent sign-in activity.

Do I need my username to sign in to Windows?

Not always. If you use a PIN or Windows Hello (facial recognition or fingerprint), you sign in without typing your username. If you use a password, you may type your username or your email address depending on your account type. Your username is still there behind the scenes either way.

Where do I use my Windows username after I find it?

You provide it to IT support for troubleshooting, to network administrators for file sharing setup, or to software installers that need to configure permissions. You may also need it to access shared folders on a home network or to set up remote access to your computer. It's not something you use in everyday computing — mostly just for setup and support situations.