Where to find your Windows username

Your Windows username appears in several places on your computer, and the fastest route depends on whether your computer is on or off. If your computer is running, look at the bottom left corner of your screen — you will see your username next to a small profile picture in the taskbar. Click on it and your full account name appears in the menu that opens.

If you need to see it without logging in, restart your computer and watch the login screen. Your username (or usernames, if multiple people use the device) will display as an option you can click to enter your password. Write down exactly what you see — usernames are case-sensitive in some contexts, so "John" and "john" are technically different.

Another way to find it while logged in: press the Windows key and type "cmd" to open Command Prompt. Type the command whoami and press Enter. The result shows your username in the format COMPUTERNAME\username. The part after the backslash is what you need.

Key Takeaways

  • Your Windows username appears in the taskbar at the bottom left of your screen next to your profile picture.
  • Windows passwords are not stored anywhere you can view them — they are encrypted, and even Microsoft cannot retrieve them for you.
  • If you forgot your password, you can reset it using a password reset disk, a Microsoft account, or security questions, depending on your account type.
  • The login screen shows all usernames on your computer, so you can see exactly what name to type if you are unsure.

Why you cannot see your Windows password

Windows does not store passwords in a way that lets you view them, even if you are the account owner. This is intentional security design. Your password is converted into a long encrypted code the moment you create it, and Windows only checks whether the password you type matches that code — it never stores the actual password itself.

This means no one, including Microsoft support, can tell you what your password is. If you have forgotten it, your only option is to reset it, not recover it. The difference matters: recovery means getting the old password back (impossible), while reset means creating a new one (possible through several methods).

How to reset a Windows password you have forgotten

The method depends on what type of account you have. If you use a Microsoft account (one tied to an email address like yourname@outlook.com), go to the Windows login screen, click "I forgot my password," and follow the prompts. Microsoft will send a reset link to your recovery email or phone number. This is the fastest route for most people.

If you use a local account (a username and password stored only on your computer, not connected to Microsoft), the process is harder. You will need either a password reset disk (a file you created before forgetting the password) or access to a second administrator account on the same computer. If you have neither, you will need to contact Microsoft support or a local computer repair service.

To create a password reset disk for the future, open Control Panel, search for "password reset disk," and follow the wizard. Save the file to a USB drive and store it somewhere safe. If you ever forget your password, you can use this disk to create a new one without losing access to your files.

Using a password reset disk

If you created a password reset disk before you forgot your password, insert the USB drive into your computer. At the login screen, enter any password (it does not have to be correct) and click the "Reset password" link that appears below the password field. The wizard will walk you through creating a new password using the disk.

Keep in mind that a password reset disk only works on the computer it was created for. If you use multiple devices, you will need a separate disk for each one. Also, if someone else has physical access to your reset disk, they can use it to access your account, so treat it like you would treat a key to your house.

What to do if you are locked out of a shared computer

If multiple people use the same computer and you have forgotten your password, ask someone with an administrator account to reset it for you. They can do this through Settings: they open Settings, go to Accounts, select your account, and click "Reset password." They do not need to know your old password to do this.

If no one else with administrator access is available, you have the same options as above: use a password reset disk, reset through your Microsoft account, or contact support. Do not try to bypass Windows security by booting from another drive or using third-party tools — these methods can damage your files or create security vulnerabilities.

Keeping track of your username and password safely

Write your username down and store it somewhere you will remember — a notebook at home, a note in your phone, or a password manager. Your username rarely changes, so this is a one-time task. For your password, use a password manager like Windows Credential Manager (built into Windows), Bitwarden, or 1Password. These programs store passwords encrypted and fill them in automatically, so you do not have to type them every time.

If you write passwords on paper, keep the paper in a locked drawer or safe place at home. Never email passwords to yourself or store them in a document on your desktop. Never use the same password across multiple accounts — if one account is compromised, all of them are at risk.

Frequently Asked Questions

Can I see my Windows password if I am logged in?

No. Windows does not display passwords anywhere, even to the account owner. If you need to change your password, go to Settings, select Accounts, and click "Password." You will need to enter your current password to create a new one, but you still cannot view the old password itself.

What if I forgot my password and do not have a reset disk?

If you use a Microsoft account, visit account.microsoft.com from another device and reset your password there. If you use a local account with no reset disk, you will need to contact Microsoft support or take your computer to a repair shop. They may be able to reset it, but the process can take time and may cost money.

Is my username the same as my email address?

Not always. If you set up a Microsoft account, your email is your username for signing in online, but your local Windows username (the name that appears on the login screen) might be different. Check the login screen to see your actual Windows username.

Can I change my Windows username?

Yes. Go to Settings, select Accounts, click "Your info," and then "Rename your account." The change takes effect the next time you log in. Changing your username does not affect your files or passwords — it only changes the name that appears on the login screen and in the taskbar.

What should I do if someone else knows my password?

Change it when ready. Go to Settings, select Accounts, click "Password," and create a new one. If you think someone has accessed your files or accounts, run a full antivirus scan and consider changing passwords for other services (email, banking, social media) from a different device.