Skip to content
GEEKnodes

Windows

Forgot Your Windows Password? How to Get Back In

Forgot your Windows 10 or 11 password? Reset it with a Microsoft account, security questions, another administrator or a password reset disk.

Turning on the PC and not remembering the password is more common than it seems, especially if you have used a PIN or fingerprint for months. Before thinking about reinstalling, there are several official ways to get back in. Which one works depends on a detail: whether you sign in with a Microsoft account or a local account.

In short

  • Microsoft account (you sign in with an email): reset online, from the sign-in screen or another device.
  • Local account: use security questions, another administrator account or a reset disk.
  • Forgetting the PIN is not the same as forgetting the password: the PIN is easier to change.
  • If nothing works, you can reset the PC, at the risk of losing data.
  • This guide is for the computer’s owner, with official methods.

First: what kind of account do you have?

Look at the sign-in screen:

  • If an email address appears under your name (or setup asked for an email), it is a Microsoft account.
  • If only a name shows, without email, it is most likely a local account.

On Windows 11 most new computers use a Microsoft account, because setup requires it.

PIN or password?

Windows Hello lets you sign in with a PIN that only works on that machine. The password is your account’s. If you forgot the PIN, click Sign-in options › I forgot my PIN: it asks for your Microsoft account password and lets you create a new one.

Decision diagram: Microsoft account resets online; local account uses security questions, another administrator or reset disk; last resort, reset the PC
The method depends on the account type.

Microsoft account: reset the password online

The easiest case, because the password lives in your account, not on the PC.

From the Windows sign-in screen

  1. On the sign-in screen click I forgot my password (under the password field or after a failure).
  2. Type the verification characters.
  3. Choose where to receive the code: alternate email, SMS or the Authenticator app.
  4. Enter the code and type a new password.
  5. Sign in with it. The computer needs an internet connection.

From another device

If the PC has no internet or the link does not appear, use your phone or another computer:

  1. Open account.live.com/password/reset in the browser.
  2. Type your email, phone or Skype name.
  3. Follow the same steps: verification code and new password.
  4. Connect the PC to the internet (by cable if possible) and sign in with the new password.

If you cannot access any verification method, Microsoft offers an account recovery form from the same page. It asks details only the owner knows and review can take a while.

Three steps to reset a Microsoft account password: I forgot my password, verification code and new password
Three steps, with access to your recovery email or phone.

Local account: three options

With a local account the password only exists on the PC. Options depend on what you prepared.

1. Security questions

Since Windows 10, creating a local account with a password asks for three security questions.

  1. Type any password and press Enter.
  2. After the error, click Reset password.
  3. Answer the three questions.
  4. Type a new password.

2. Another administrator account

If there is another account with administrator rights on the machine (a relative’s, say), that person can set a new password for yours:

  1. Sign in with the administrator account.
  2. Open Control Panel › User Accounts › Manage another account.
  3. Choose your account and click Change the password.

You can also do it from a Terminal (Admin):

net user YourAccountName *

It asks for the new password twice without showing it. If the console is new to you, review basic CMD and PowerShell commands. To learn about Windows’ built-in administrator, see enable the administrator user in Windows. Note: enabling it already needs a session with rights.

Important: when an administrator changes another local account’s password, that account loses access to EFS-encrypted files, certificates and Windows-saved passwords. It does not affect normal use (documents, photos).

3. Password reset disk

If you once created a reset disk on a USB, now is the time:

  1. Connect the USB.
  2. After the password fails, click Reset password and choose Use a password reset disk.
  3. Follow the wizard and create a new password.

This disk only works with local accounts and must be created before you forget: Control Panel › User Accounts › Create a password reset disk.

Method comparison

MethodAccount typeWhat you needLose data?
Online resetMicrosoftRecovery email or phoneNo
I forgot my PINMicrosoftThe account passwordNo
Security questionsLocalRemember the answersNo
Another administratorLocalAnother account with rightsNo (except EFS)
Reset diskLocalUSB made earlierNo
Reset the PCAnyAccess to recovery environmentPossibly
Difference between PIN, which works only on this computer, and password, which is your account's on every computer
The PIN belongs to the machine; the password to the account.

Last resort: reset the PC

If nothing works, you can return Windows to its initial state from the recovery environment:

  1. On the sign-in screen click the power button, hold Shift and choose Restart.
  2. Go to Troubleshoot › Reset this PC.
  3. Choose Remove everything. Without signing in, this is usually the available option.

If the disk is encrypted, Windows asks for the BitLocker recovery key. You will lose files not backed up or in the cloud. You can also do a clean install with a Windows 11 install USB.

How to prevent it happening again

  • Check your Microsoft account has an up-to-date recovery email and phone.
  • With a local account, create a reset disk today and keep it.
  • Store the password in a password manager.
  • Have a second administrator account on the computer with its own password.

Frequently asked questions

Are there programs to remove the Windows password? Third-party tools exist but are not official and some tamper with system files. With these methods you do not need them, and if the disk is encrypted they will not work without the key.

Can I get in through Safe Mode without a password? No. Safe Mode also requires signing in with an account on the machine.

I changed the password online and the PC still accepts the old one. The computer has not synced. Connect it to the internet and try the new one; it can take a few minutes.

Can I switch from a Microsoft to a local account to avoid this? Yes, under Settings › Accounts › Your info, click Sign in with a local account instead. But you lose online reset, so make a reset disk.

Accessibility preferences

Quick profiles

Text and reading

Text size
Default
Line height
Default
Letter spacing
Default
Word spacing
Default

Colour

Motion and orientation

Cursor