5 December 2026

Pages of Wisdom

The Practical Insights of Andrew on Tech, Self-Reliance, and Home Business

Forgot Your Windows Password? The Official Ways Back In

A closed laptop on a wooden desk beside a blank notepad and a metal key.

AI-generated image

Locked out of your own PC? Here's how to reset a forgotten Windows password the official way, for both Microsoft accounts and local accounts, and what to avoid.

Everybody forgets a password sooner or later. The good news is that Microsoft has official ways to get you back in. The bad news is that the internet is full of “password cracker” downloads and “unlock your PC” sites that are really out to infect your computer or steal your information. Stick to the official routes below.

First, figure out which kind of account you use

Windows signs you in with one of two kinds of account.

  • A Microsoft account. You sign in with an email address (often ending in outlook.com, hotmail.com, live.com or gmail.com). Most computers set up in recent years use this.
  • A local account. It exists only on this one computer, and it has a username rather than an email address.

If you aren’t sure, look at the sign-in screen. If it shows an email address under your name, it’s a Microsoft account.

Forgot a PIN?

If you sign in with a short PIN, look under the PIN box for “I forgot my PIN.” Click it, verify your identity (Windows may send a code to your phone or email) and set a new PIN. If you know your account password, you can also use that to sign in.

Microsoft account: reset it online

You can do this from any other device, like your phone.

  1. Open a web browser and go to account.live.com/password/reset. Type this address yourself instead of clicking links in emails or search ads.
  2. Enter the email address you use to sign in.
  3. Choose how to get a security code, such as a text message or an email to a backup address.
  4. Enter the code and choose a new password.
  5. Back on the locked computer, make sure it’s connected to the internet, then sign in with the new password.

The computer needs to connect to the internet at least once with the new password before it recognizes it. If it still asks for the old password, restart the PC with Wi-Fi or a network cable connected.

If you no longer have access to the phone number or backup email, Microsoft offers a recovery form that asks questions about your account. Fill it out as carefully and completely as you can.

Local account: what’s possible

A local account is trickier.

  • If you set up security questions when you created the account, Windows shows a “Reset password” link under the password box after a failed attempt. Click it, answer the questions and choose a new password.
  • If you didn’t set up security questions, there’s no official way to get past the password without erasing the computer. Microsoft doesn’t offer a back door.

At that point your options are:

  1. Try passwords you might have used. Write down likely ones and try them calmly, since too many wrong guesses may lock the screen for a while.
  2. Ask whoever set up the computer, if someone helped you.
  3. Use the recovery screen to reset the PC. This erases your files and apps on that computer. Only do this if your important files are saved somewhere else, or if you’ve decided you can live without them. If you have no backup, a reputable local repair shop may be able to recover files before you reset.

What to avoid

  • Password-cracking software. Free tools that claim to bypass Windows passwords are a favorite way to spread viruses. Some of them also steal what’s on your computer.
  • “Support” phone numbers from search results. Fake support lines are common. Microsoft doesn’t call you out of the blue.
  • Sharing your security code. If a stranger asks for the code Microsoft texted you, it’s a scam.

Make this the last time

  • Add a backup phone number and email to your Microsoft account.
  • Use a password manager built into your browser or a trusted one, so you don’t have to remember everything. If you think an account has been compromised, see what to do if you get hacked.
  • Write your password down and keep it somewhere safe at home, away from the computer.
  • Keep a backup of your files, so a locked PC isn’t a disaster.

What it means for you

If you use a Microsoft account, you can reset your password from any phone in a few minutes, so don’t panic. If you use a local account without security questions, there may be no way in except resetting the PC, so a backup matters. Avoid password-cracking downloads and fake support numbers, since they cause more trouble than a forgotten password ever will. After you’re back in, take five minutes to add recovery options so it never happens again.

Still stuck? Send Andrew a note through the Contact Us page.

Like plain-language tech help? Come hang out on Andrew’s YouTube channel.