Accounts & Passwords
Forgot Your Windows Password? How to Get Back Into Your PC Safely
Written by Free Tech Support Editorial Team · Updated
Forgot Windows password and locked out of your PC? You can almost always get back in without losing your files. The right method depends on one thing: whether you sign in with a Microsoft account (an email address such as an Outlook, Hotmail or Live address) or a local account (a name that exists only on that PC). This guide walks through both, starting with the quickest fixes, and covers what to do if none of the normal options work.
This is an independent guide. It is not affiliated with Microsoft; for account or warranty problems, use Microsoft’s own support site.
Step 1: Check the quick things first
Before resetting anything, rule out the simple causes. They account for a surprising number of “wrong password” messages.
- Caps Lock and Num Lock. Windows passwords are case-sensitive. Check the keyboard lights.
- Keyboard layout. If you see a language code such as ENG or FRA at the bottom-right of the sign-in screen, select it and make sure the layout is the one you normally type with. A wrong layout swaps symbols and some letters.
- Show the password. Select the eye icon at the end of the password box to see what you are actually typing.
- Try your PIN or another sign-in option. Select Sign-in options under the box. If you set up a PIN, fingerprint or face sign-in (Windows Hello), you may not need the password at all. Our guide to Windows sign-in options explains the differences.
- Recently changed your Microsoft account password? The PC needs an internet connection to learn the new one. Connect to Wi-Fi using the network icon on the sign-in screen, then try the new password.
Step 2: Reset a Microsoft account password
Most Windows 11 PCs are set up with a Microsoft account, so this is the most common case. The password is the same one you use for Outlook.com, OneDrive and other Microsoft services.
From the sign-in screen
- Make sure the PC is connected to the internet.
- Under the password box, select I forgot my password. (If the screen asks for a PIN, select I forgot my PIN instead.)
- Follow the prompts to verify your identity with a code sent to your recovery email address, phone or authenticator app.
- Create a new password, then sign in with it.
From another device
If the link does not appear, use a phone or another computer. Go to Microsoft’s password reset page at account.live.com/password/reset, enter your Microsoft account email, and follow the same verification steps. Then go back to the locked PC, make sure it is online, and sign in with the new password.
If you no longer have access to your recovery email or phone, Microsoft offers an account recovery form that asks questions only the owner would know. Our guide to resetting a Microsoft account password covers that process in more detail.
Step 3: Reset a local account password
A local account password is stored only on the PC, so there is no online reset. You have three official options.
Security questions
When you created the local account, Windows may have asked you to choose three security questions.
- Type any password and press Enter.
- After the “password is incorrect” message, select OK, then select Reset password under the box.
- Answer your security questions and choose a new password.
Password reset disk
If you previously made a password reset disk (a USB flash drive created from Control Panel > User Accounts > Create a password reset disk), plug it in, select Reset password after a failed attempt, and choose Use a password reset disk instead if offered. Follow the wizard to set a new password.
Another administrator account
If someone else in the household has an administrator account on the same PC, they can reset your password:
- Sign in with their administrator account.
- Open Control Panel, select User Accounts, then Manage another account.
- Choose your account, select Change the password, and set a new one.
Be aware that an administrator-forced reset means Windows can no longer open some protected data tied to the old password, such as saved website passwords stored by Windows and files encrypted with Windows’ file encryption feature. Ordinary documents and photos are not affected.
Step 4: If nothing else works
When none of the methods above is available, the remaining official route is to reset Windows from the recovery environment:
- On the sign-in screen, select the Power icon, hold down Shift, and select Restart.
- Choose Troubleshoot > Reset this PC.
- Choose Keep my files if you can. Windows may ask for an administrator account’s password for this option.
- If you cannot use Keep my files, Remove everything is the last resort. It erases your personal files, so only choose it if your important files are backed up, for example in OneDrive.
If the drive is protected by BitLocker or device encryption, Windows will ask for a recovery key. For PCs set up with a Microsoft account, that key is usually stored in the account; sign in at account.microsoft.com from another device and look under your devices. Our guide to resetting Windows 11 without losing files explains each reset option.
If the files matter and you are not comfortable with these steps, a reputable local repair shop can help in person. Bring proof that the PC is yours.
Watch out for unlock scams
Being locked out makes people search in a hurry, and scammers know it. Be careful of:
- Search ads or websites listing a “Windows support” number. Microsoft does not publish phone numbers in pop-ups or random ads, and it will not charge you to unlock a PC.
- Anyone asking for remote access to your computer, or asking you to pay with gift cards or cryptocurrency.
- Downloadable “password unlocker” tools from unknown sites, which may contain malware.
If you think you have been caught by one of these, see our guide to spotting fake tech support calls.
Prevent this from happening again
Once you are back in, a few minutes of setup will save you next time:
| Account type | What to set up | Where |
|---|---|---|
| Microsoft account | Up-to-date recovery email and phone | account.microsoft.com, Security section |
| Microsoft account or local | A Windows Hello PIN, fingerprint or face sign-in | Settings > Accounts > Sign-in options |
| Local account | Security questions or a password reset disk | Settings > Accounts > Sign-in options, or Control Panel > User Accounts |
| Any | A password manager to store the password safely | See our password manager guide |
If you are still on Windows 10, the same options exist and the menu paths are very similar. Note that Windows 10 reached end of support on October 14, 2025, so it no longer receives regular security updates.
Related guides
If this did not solve it, these guides cover problems that often come with it: Reset or change your Windows PIN, Windows Hello PIN not working, and Switch between a local and Microsoft account. You can also browse every guide in the accounts section.
Frequently asked questions
Will resetting my Windows password delete my files?
No. Resetting a Microsoft account password, answering security questions, or using a password reset disk leaves your files alone. Files are only at risk if you have to reset Windows itself and choose Remove everything.
How do I know if I use a Microsoft account or a local account?
Look at the sign-in screen. If it shows an email address under your name, it is a Microsoft account; if it shows only a name, it is usually a local account.
I forgot my PIN but I know my password. What should I do?
Select I forgot my PIN on the sign-in screen, or choose Sign-in options and pick the password icon to sign in with your password instead. Once you are in, you can set a new PIN under Settings > Accounts > Sign-in options.
Is it safe to use a USB tool from the internet to bypass the Windows password?
It is risky. Those tools come from unknown sources, can damage the system or leave security holes, and will not unlock an encrypted drive. Use the official reset options or take the PC to a reputable local repair shop.
Windows asks for a BitLocker recovery key after I reset. Where do I find it?
If the PC was set up with a Microsoft account, the key is usually saved in that account. Sign in at account.microsoft.com from another device and look under your devices for the recovery key.
Sources
Free Tech Support Editorial Team
Editorial team
The Free Tech Support editors write and update these guides from the official documentation of Microsoft, Apple, Google and device makers. We are an independent site with no phone line and no paid support service.