The fastest way: Settings

Open the Settings app by pressing the Windows key and typing "settings", then press Enter. Go to System in the left sidebar, then select About. Look for the line that says "Device name" — that is your computer's name on the network. Below it, you will see "User name" with your account name next to it. That is your Windows username.

This method takes about 30 seconds and works the same way whether you use a Microsoft account or a local account. The username shown here is what you type when you log in, and it is also the name of your user folder in Windows. If you see a display name like "John Smith" instead of a single word, scroll down to confirm — sometimes Windows shows the friendly name first.

Key Takeaways

  • Your Windows username appears in Settings under System > About, listed as "User name".
  • You can also find it by opening File Explorer, navigating to C:\Users\, and looking at the folder names — your username is the folder that contains your Documents, Downloads, and Desktop.
  • The Command Prompt method using whoami displays your username when ready if you are comfortable opening a terminal window.
  • Your username is separate from your display name; if you see a full name in Settings, use Command Prompt to find your actual account username.
  • Your username is required for network access, file permissions, and connecting to shared folders on other computers.

Finding it through File Explorer

Open File Explorer and click on This PC in the left sidebar. Look at the address bar at the top — it often shows a path that includes your username. You can also navigate directly to C:\Users\ by typing that path into the address bar and pressing Enter. You will see a list of folders, each named after a user account on the computer. Your username is the folder name that contains your personal files.

An even simpler approach: open File Explorer and look at the left sidebar. You will see a folder with your username on it under the Quick access section — that is your user profile folder. The name of that folder is your Windows username. If you do not see it when ready, scroll down in the sidebar to find it.

Using Command Prompt

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". The part after the backslash is your Windows username. This is the most reliable method because it shows exactly what Windows recognizes as your account name, with no confusion between display names and actual usernames.

This method is the fastest if you are already comfortable with Command Prompt. The output is always reliable and shows exactly what Windows recognizes as your account name. If you see something like "DESKTOP-ABC123\sarah", then "sarah" is your Windows username.

Checking your user folder directly

Open File Explorer and navigate to C:\Users\ by typing that path into the address bar. You will see a list of folders, each named after a user account on the computer. Your username is the name of the folder that contains your personal files — the one where you see your Documents, Downloads, Desktop, and Pictures folders inside. If you see folders like "Administrator", "Guest", or "DefaultAccount", those are system accounts — your personal username will be a different folder name.

This method also shows you if there are other user accounts on the computer. Each folder represents one account, and the folder name is that account's username. This is useful if you are troubleshooting file permissions or need to understand what accounts exist on the machine.

What to do if you see a display name instead

Windows 11 allows you to set a display name that is different from your actual username. If you see something like "John Smith" in Settings but need the actual account name, use the Command Prompt method above — whoami always shows the real username, not the display name. The display name is what appears on the lock screen and in the Start menu, but it is not your actual account username.

The actual username is what you need for file permissions, network access, and technical troubleshooting. If you are unsure which one you need, the Command Prompt method removes all doubt. You can also check the C:\Users\ folder — the folder name there is always your real username, regardless of what display name you have set.

Why you might need your username

Your Windows username is required when you are setting up network access, troubleshooting file permissions, connecting to shared folders on other computers, or when a program asks for your account name. It is also the name of your user profile folder, which is where Windows stores your personal files and settings. System administrators and technical support staff often need this information to help you with account-related issues.

If you are setting up a new device or helping someone else with their computer, knowing how to find the username quickly saves time. It is also useful information to have if you ever need to contact technical support or follow instructions that reference your account name. Understanding the difference between your username and display name prevents confusion when following technical guides.

Frequently Asked Questions

Is my Windows username the same as my Microsoft account email?

No. Your Windows username is the local account name on your computer. If you signed in with a Microsoft account, that account is linked to your Windows username, but they are not the same thing. Your username is what appears in C:\Users\, while your Microsoft account is what you use to sign in online.

Can I change my Windows username?

You can change your display name easily in Settings under Accounts > Your info. Changing the actual account username (the folder name in C:\Users\) is more complex and requires using the Local Users and Groups tool or Command Prompt. Most people only need to change the display name.

What if I see "Administrator" as my username?

That means your account has administrator privileges, but "Administrator" is not necessarily your actual username. Open Command Prompt and type whoami to see your real account name. You may also see this if you are logged into the built-in Administrator account rather than a named user account.

Does my username affect my password?

No. Your username and password are separate. You can change your password without changing your username, and vice versa. Your username is how Windows identifies which account you are using; your password is how you prove you own that account.