Forgot Your Windows Password and Locked Out of Your PC? Here's How to Get Back In
June 5, 2026
Being shut out of your own PC is a sinking feeling — but your files are almost certainly fine, and you rarely need to erase anything. The fix depends on what kind of login you have. Here's how to figure that out and get back in on Windows 11 and 10.
Few things make your stomach drop like typing your password into your own computer and watching it bounce back "incorrect" — over and over, with all your photos, documents, and work sitting right behind that lock screen. Take a breath: in the vast majority of cases your files are completely safe, and getting back in does not mean erasing the machine. A forgotten Windows password is a sign-in problem, not a data problem.
The reason there's so much confusing, contradictory advice online is that "I'm locked out of Windows" actually covers a few different situations, and the fix for one is useless for another. So before you try anything, the most important step is to figure out exactly which kind of lockout you have. We do this for people all over Southern California and the Coachella Valley, and it almost always starts with the same two questions.
First, figure out which login you have
Question one: is this a Microsoft account or a local account? Look at the sign-in screen under your name. If it shows an email address (something like yourname@outlook.com, @hotmail.com, @gmail.com, or a work/school address), you're signing in with a Microsoft account — your Windows password is the same as your online Microsoft password, and you reset it the same way you'd reset any web account. If it shows just a name with no email, it's a local account that lives only on this one computer, and it has to be reset on the machine itself.
Question two: are you stuck on a password or a PIN? A PIN is the short number (or "Windows Hello" code) you tap in to unlock; the password is the longer one tied to the account. They're separate, and that's good news — if you've only forgotten the PIN, your password usually still works, and that's the fastest way back in. Sort out those two questions and the right path becomes obvious.
The quickest win: switch to another sign-in option
Before any reset, look at the sign-in screen for a "Sign-in options" link or a row of small icons (a key, a PIN pad, a face/fingerprint symbol) just below the password box. Clicking it lets you switch between the ways you can log in. People forget a fiddly PIN far more often than their actual password, so if the PIN won't come to you, switch to "Password" and try that instead — you're frequently back in within seconds.
Once you're signed in, fix the PIN properly so it doesn't trip you up again: go to Settings > Accounts > Sign-in options > PIN (Windows Hello), and choose to change it (or remove and re-add it). On a local account that's the only place a PIN can be reset — there's no "I forgot my PIN" link on the lock screen for local accounts, which is exactly why knowing your password matters.
Microsoft account: reset it from your phone
If you sign in with a Microsoft account (an email under your name), you don't fix this on the locked PC at all — you reset the password on any other device. Grab your phone or another computer, open a browser, and go to account.microsoft.com (the sign-in screen also offers an "I forgot my password" link that takes you to the same place). Enter your email, then verify it's you with a code sent to your recovery phone number, alternate email, or authenticator app, and set a new password.
Now go back to the locked computer. Make sure it's online — if it dropped off Wi-Fi, click the network icon on the lock screen and reconnect first — then sign in with the new password. Because a Microsoft account password lives in the cloud, the one you just set works on the PC, on Outlook, on the Microsoft Store, everywhere. The one catch: this only works smoothly if your recovery phone or email is current. If you can't receive the code, that's really an online-account recovery problem, and our guide on getting past Microsoft and Google 2FA lockouts walks through the harder routes.
Local account: the security-questions reset
If your sign-in shows just a name and no email, it's a local account — and Windows 10 and 11 have a built-in escape hatch, but only if security questions were set up when the account was created. Type any guess into the password box and press Enter; when Windows says it's wrong, a "Reset password" link appears under the box. Click it, answer the three security questions you chose (things like your first pet or the city you were born in), and you'll be allowed to set a brand-new password and sign in right away. No download, no wipe, no losing a thing.
If you don't remember setting up security questions, it's still worth clicking "Reset password" to check — many people answered them during setup without thinking much of it. And once you're back in, this is the moment to set or update them: Settings > Accounts > Sign-in options > Password > "Update your security questions."
Local account with no security questions: the honest options
This is the genuinely tricky case — a local account, no security questions, no password reset disk. Here's the straight talk. If there's a second administrator account on the same PC (a spouse's login, an old "Admin" account), sign into that one and reset your account's password from Settings > Accounts > Other users, or from Computer Management. If there isn't, Microsoft's own official answer is that you'll need to reset the PC — and "Reset this PC" does offer a "Keep my files" option that preserves your personal documents and photos while reinstalling Windows, though it removes your installed programs and settings.
Two important warnings. First: do NOT download a "Windows password recovery" or "password unlocker" tool that a search result or pop-up pushes on you — that corner of the internet is riddled with malware, and you can hand a stranger the keys to a machine you were only trying to get back into. Second: before anyone resets or wipes the computer, your files can almost always be recovered first — copied off the drive safely — so a reset should never mean lost photos. This is exactly the kind of locked-out local account we get people back into without losing data, so if you're here, it's a fine point to hand it off rather than risk the machine.
If it's asking for a long recovery key, that's not your password
One lockout gets mistaken for a forgotten password constantly: a blue screen that demands a 48-digit "BitLocker recovery key" before Windows will even start. That's not your password — it's disk encryption kicking in, usually after a hardware change or a Windows update, and none of the steps above apply. The key is saved to the Microsoft account the PC is tied to (find it at account.microsoft.com/devices, under "BitLocker recovery keys") or wherever it was backed up when encryption was turned on. We cover that specific situation, and how to avoid it, in our BitLocker lockout guide.
Set yourself up so it never happens again
A couple of minutes now prevents the next panic. On a local account, set the three security questions (Settings > Accounts > Sign-in options > Password) — that's your self-service way back in. On a Microsoft account, make sure your recovery phone number and alternate email are current, so a reset code can actually reach you. Either way, write the password down somewhere real or keep it in a password manager, and don't rely on a PIN you never reinforce by occasionally typing the full password.
And whatever kind of login you use, keep a backup of your important files on an external drive or in the cloud. The whole reason a lockout feels terrifying is the fear of losing what's on the machine — take that fear off the table, and a forgotten password becomes a minor annoyance instead of an emergency.
How we can help
If you've worked through this and you're still staring at a lock screen, that's a completely normal place to call us. We get people back into Windows 11 and 10 all the time — local accounts with no security questions, Microsoft accounts where the recovery code won't arrive, forgotten PINs, and BitLocker prompts that look scarier than they are — and we do it while protecting your files, not erasing them. We work across Southern California and the Coachella Valley, in person or by remote support, and once you're back in we'll set up the recovery options so you're never locked out of your own computer again.
Keep reading
Free calculators
Service areas we cover
We don't sell hardware or warranties — call and we'll tell you what's worth buying and upgrading.
Call (626) 655-0020