The fastest way: Settings

Open the Windows Settings menu by pressing the Windows key and typing "Settings", then press Enter. Click Accounts in the left sidebar. 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.

If you see an email address instead of a username, that means you signed in with a Microsoft account rather than a local account. The email is what Windows treats as your username for that setup. Either way, this is the account name you need when troubleshooting or configuring software.

Key Takeaways

  • Your Windows 10 username appears in Settings under Accounts > Your info, next to your profile picture.
  • If you signed in with an email address, that email is your username for Windows purposes.
  • The Command Prompt method (typing whoami) works when Settings is not responding or you need to verify the exact technical name.
  • The username on your login screen may differ from the display name shown in Settings, so check both if you are troubleshooting access problems.

Using Command Prompt to verify your username

Right-click the Windows Start button and select Windows PowerShell (Admin) or Command Prompt (Admin). Type whoami and press Enter. The result will show your username in the format COMPUTERNAME\username. The part after the backslash is your actual Windows username on this machine.

This method is useful when you need to confirm the exact technical name Windows uses internally, especially if you are setting up file permissions or troubleshooting network access. The Command Prompt result is always accurate because it pulls directly from the system, not from display settings.

Checking the login screen

Lock your computer by pressing Windows key + L. Look at the username displayed on the login screen. This is the account name associated with your password. If multiple accounts exist on this computer, you will see all of them listed, and you can identify which one is yours by the name or profile picture.

The login screen name should match what you saw in Settings, but occasionally they differ if someone has changed the display name without changing the actual account username. If they do not match, the login screen name is what you type when signing in from a fresh restart.

Understanding local accounts versus Microsoft accounts

Windows 10 allows two types of accounts. A local account is created and stored only on your computer — the username is just a name you chose during setup. A Microsoft account is linked to an email address and syncs your settings across devices if you sign in on multiple computers.

If you signed in with a Microsoft account, your username is the email address you used. If you created a local account, your username is whatever name you entered during Windows installation. Both are equally valid; the difference matters mainly when you are sharing files with others or signing into Microsoft services like OneDrive or Office.

What to do if you cannot remember your username

If you are locked out and cannot see the login screen, restart the computer and watch carefully as it boots. The login screen will display all account names on the machine. If you still cannot identify your account, look for any profile picture or hint text you may have set during account creation.

If you set up a password hint when creating your account, click "I forgot my password" on the login screen and answer the hint question. This will not tell you the username directly, but it will let you reset your password and regain access. Once you are logged in, you can find your username using the Settings or Command Prompt methods above.

Why you might need your username

Software installers sometimes ask for your username to set up file permissions or create user-specific folders. Network administrators need it to manage access on shared computers. Technical support may ask for it when troubleshooting problems that affect only your account. Knowing where to find it quickly saves time when these situations come up.

Your username is not sensitive information in the way a password is — it is already visible on your login screen and in Settings. Sharing it with technical support or software vendors is safe and often necessary to solve problems.

Frequently Asked Questions

Is my username the same as my display name?

Not always. Your display name is what appears in Settings and on the Start menu. Your username is the technical account name Windows uses internally. They are often the same, but you can change the display name without changing the username. The Command Prompt method shows the true username.

Can I change my username in Windows 10?

You can change your display name easily in Settings under Accounts > Your info. Changing the actual account username is more complex and requires using Control Panel or the Local Users and Groups tool. Most people only need to change the display name, which is what others see.

What if I see a long string of numbers instead of a name?

This usually means your account was created from a Microsoft account that was later disconnected, or the system assigned a temporary name. You can change the display name to something readable in Settings > Accounts > Your info, then click "Rename your account".

Do I need my username to install software?

Most software does not ask for your username during installation. Some programs that set up user-specific settings or file permissions may ask, but they usually detect it automatically. If prompted, enter the username exactly as it appears in Settings or Command Prompt.

Is the username case-sensitive?

Windows treats usernames as case-insensitive for login purposes, so "John" and "john" are the same account. However, some software and network systems may treat them differently, so it is best to type your username exactly as it appears in Settings when required.