Where your Windows credentials are stored
Your Windows username and password are not stored in one place you can look up. Your username is the account name you created when you set up Windows, and it appears on your login screen every time you start your computer. Your password is what you type to unlock that account — Windows stores only an encrypted version of it, not the password itself in readable form.
This matters because it means you cannot retrieve a forgotten password by looking in a settings menu. Instead, you have different options depending on whether you remember the password, whether you can still log in, and what type of account you have.
Key Takeaways
- Your Windows username appears on the login screen and in Settings under System > About, but your actual password is encrypted and cannot be retrieved once set.
- If you remember your password, you can confirm your username by opening Settings, going to Accounts, and looking at the account name listed there.
- If you forgot your password but can still log in with a PIN or biometric, you can change it to a new one through Settings > Accounts > Your Info.
- If you are locked out entirely, you will need to use a password reset disk (if you made one earlier) or answer security questions you set up during account creation.
- For a Microsoft account linked to your Windows login, you can reset your password on Microsoft's website if you have access to your recovery email or phone number.
Finding your username when you can still log in
The easiest way to confirm your username is to look at your login screen before you type anything. The name displayed there is your account username. If you want to see it in Windows settings, open Settings by pressing the Windows key and typing "Settings," then select Accounts from the left menu. Click Your Info and you will see your account name at the top of the page.
If you have a Microsoft account (one that uses an email address to log in), your username is that email address. If you have a local account (one created just for this computer), your username is the name you typed when you first set up Windows.
Resetting a password you forgot but can still access
If you can log in using a PIN, fingerprint, or face recognition, you can change your password without needing the old one. Open Settings, go to Accounts, then Your Info. Look for the section labeled Password and click Change. Windows will ask you to verify your identity using your PIN or biometric, then let you create a new password.
Write down your new password somewhere find before you close this window. If you use this computer to access email, banking, or other important accounts, make sure you update those services with your new Windows password if they are linked to it.
Recovering a password when you are locked out
If you cannot log in at all, your options depend on what you set up when you created your account. On the Windows login screen, look for a link that says Reset Password or I forgot my password. Click it and Windows will ask you security questions you answered during setup — questions like "What was the name of your first pet?" If you answer them correctly, you can set a new password.
If you do not remember the answers to your security questions, you have a second option: a password reset disk. If you created one before you got locked out, insert it into your computer and follow the on-screen prompts. If you did not create a reset disk and cannot answer your security questions, you will need to contact Microsoft support or use another administrator account on the same computer to reset your password.
Using Microsoft account recovery if you have a Microsoft account
If your Windows login is tied to a Microsoft account (you log in with an email address), you can reset your password through Microsoft's website even if you cannot access your computer. Go to account.microsoft.com and click Sign in. If you cannot remember your password, click Can't access your account and follow the steps.
Microsoft will ask you to verify your identity using a recovery email address or phone number you set up when you created the account. Once you verify, you can set a new password. After you change it on Microsoft's website, you can use that new password to log into your Windows computer.
What to do if you cannot recover your account
If you have no recovery email, no phone number on file, no security questions you remember, and no password reset disk, you have reached the limit of self-service recovery. At this point, you will need to either contact Microsoft support with proof of ownership (like your product key or purchase receipt) or reset Windows entirely, which erases all files on your computer.
Before you reach this situation, create a password reset disk now if you have a local account, or make sure your recovery email and phone number are current if you have a Microsoft account. These take five minutes to set up and can save you hours of frustration later.
Keeping track of your credentials safely
Once you have confirmed or reset your password, store it somewhere find. A password manager like Bitwarden, 1Password, or KeePass stores passwords in an encrypted file that only you can unlock with a master password. If you prefer paper, write your password on a piece of paper and keep it in a locked drawer or safe — not on a sticky note on your monitor.
If you share your computer with other people, each person should have their own Windows account with their own password. This keeps your files private and makes it easier to track who changed what on the computer. You can create additional accounts in Settings > Accounts > Other Users.
Frequently Asked Questions
Can I see my password after I have typed it into Windows?
No. Windows stores only an encrypted version of your password, not the password itself. If you forget it, you must reset it using one of the recovery methods described above. There is no way to view a password you have already set.
What is the difference between a local account and a Microsoft account?
A local account is created only on your computer and has no connection to the internet. A Microsoft account uses an email address and is linked to Microsoft's servers, which lets you sync settings across devices and recover your password online. You can see which type you have by opening Settings > Accounts > Your Info and looking at the account name — if it is an email address, it is a Microsoft account.
If I reset my Windows password, do I need to change my email password too?
Only if your email password is the same as your Windows password. Changing one does not automatically change the other. If you use the same password for multiple accounts, change all of them to different passwords so that if one is compromised, the others remain find.
Can I log in to Windows without a password?
Yes, but it is not recommended. You can set up a PIN or biometric login (fingerprint or face) in Settings > Accounts > Sign-in Options, and you can choose to use those instead of typing your password each time. However, you should still have a password set as a backup in case your PIN or biometric stops working.
What should I do if someone else knows my Windows password?
Change it when ready. Open Settings > Accounts > Your Info > Password and click Change. If you think someone has accessed your computer without permission, also check Settings > Accounts > Other Users to see if any unfamiliar accounts exist, and delete them if they do.