The fastest way: Settings

Open Settings by pressing the Windows key and typing "settings", then press Enter. Click Accounts in the left sidebar. Your username appears at the top of the page under "Your info". This is the name Windows uses to identify your account on this computer.

If you see an email address instead of a name, that means you signed in with a Microsoft account rather than a local account. The email is your username for that account. If you need the local username your computer uses internally, continue to the next method.

Settings is the most straightforward route because it shows your account information in one place without requiring you to navigate folders or type commands. Most people find what they need within seconds using this method.

Key Takeaways

  • Settings shows your account name at the top of the Accounts section and is the quickest method for most people.
  • File Explorer displays your username in the address bar when you open "This PC" — look for the folder labeled with your name.
  • Command Prompt reveals your username when ready by typing whoami and pressing Enter.
  • Your username is the folder name inside C:\Users\ that contains your Documents, Downloads, and Desktop folders.
  • If you see an email address, that is your Microsoft account username, but your local folder name in C:\Users\ may be different.

Using File Explorer to spot your username

Open File Explorer by pressing the Windows key and E together. Click This PC in the left sidebar. Under "Users", you will see a folder with your username. That folder name is your Windows username.

You can also navigate directly to the Users folder by typing C:\Users\ in the address bar at the top of File Explorer and pressing Enter. Every folder you see here represents a user account on the computer. Your folder is the one that contains your personal files like Documents, Downloads, and Desktop.

This method is especially useful if you have multiple accounts on the same computer and need to distinguish between them. The folder names are always visible and match the local username Windows uses internally.

Command Prompt method for the exact system username

Press the Windows key and R together to open the Run dialog. Type cmd and press Enter. In the black Command Prompt window, type whoami and press Enter. The result shows your exact username as Windows recognizes it internally.

This method is useful if you need to know the precise username for technical purposes, like setting up network sharing or troubleshooting permission issues. The output format is usually COMPUTERNAME\username, where the part after the backslash is your actual username.

Command Prompt is the most reliable method if you need absolute certainty about your username, because it pulls the information directly from Windows' system settings rather than displaying it through a user interface.

Checking the user folder in System Properties

Right-click the Start button and select System. In the window that opens, look for "Device name" and "User name" near the top. Your username appears next to "User name". This shows the account name Windows uses for your current login.

This method also displays your computer's name, which is different from your username. The computer name identifies the device on a network, while the username identifies you as the person using it. Seeing both side by side can help you understand the difference.

System Properties is a good choice if you are already troubleshooting other computer settings, since it shows your username alongside other account information in one window.

What to do if you see an email instead of a username

If all these methods show an email address, you created your Windows account using a Microsoft account. That email is your official username for signing in. However, Windows also creates a local folder name for storing your files, which may be different from your email.

To find the local folder name, use File Explorer and navigate to C:\Users\. Look for a folder that does not match your email address — this is often a shortened version of your name or a default name like "User". That folder name is your local username on the computer itself.

Understanding the difference between your Microsoft account email and your local folder name prevents confusion when software asks for your "username". Some programs need the email, while others need the local folder name.

Why you might need your username

Your Windows username is required for several tasks: setting up network sharing with other computers, troubleshooting permission errors, creating scheduled tasks, or connecting to a domain at work. Knowing which username you have prevents confusion when multiple accounts exist on the same computer.

If you manage multiple computers or accounts, write down your username somewhere you can find it later. This saves time if you need it for technical support or when setting up new software that asks for your account name.

Technical support staff often ask for your username when helping you solve problems, so having it readily available speeds up the troubleshooting process and reduces back-and-forth communication.

Frequently Asked Questions

Is my username the same as my password?

No. Your username is the name of your account, and your password is the secret code you use to sign in. You can change your password without changing your username, and vice versa. Never share your password, but your username is not secret.

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, you change it through your Microsoft account settings online. For a local account, go to Settings > Accounts > Your info and click "Rename your account". The folder name in C:\Users\ cannot be changed directly without advanced steps.

What if I forgot my username and can't sign in?

If you cannot sign in at all, restart the computer and look at the sign-in screen. Your username or email address should appear as an option. If multiple accounts exist, select the one you use. If you still cannot remember it, you may need to use password recovery or contact your IT department if this is a work computer.

Does my username have to match my computer name?

No. Your computer name and username are completely separate. The computer name identifies the device on a network, while the username identifies your account on that device. You can change one without affecting the other.

Why does my username show as an email address?

Windows 10 allows you to sign in with a Microsoft account, which uses your email address as the username. This is different from older versions that required a local username. If you prefer a traditional username, you can create a local account instead, though you will lose access to cloud features tied to your Microsoft account.