First, which kind of account is it?

  • Microsoft account: the sign-in screen shows an email address (Outlook, Hotmail, Gmail or another) under your name. The same password works for Outlook.com, OneDrive and Xbox.
  • Local account: only a name appears, no email. The password exists only on that PC.
  • Work or school PC: the account belongs to the organization. Contact its IT help desk; the steps below may be blocked.

Microsoft account: reset from the sign-in screen

  1. Make sure the PC is connected to Wi-Fi (use the network icon at the bottom right of the sign-in screen).
  2. Select I forgot my password below the password box. If you only see a PIN box, select Sign-in options first.
  3. Choose where to get a security code (your backup email or phone number), enter the code, and create a new password.
  4. Sign in with the new password. Some PCs show a Web sign-in option under Sign-in options; it leads to the same Forgot my password page.

Microsoft account: reset from your phone or another computer

  1. In any browser, go to account.live.com/ResetPassword.aspx.
  2. Enter the email, phone number or Skype name of the account, and follow the prompts to get a verification code.
  3. Set a new password, then type it on the PC's sign-in screen. The PC needs an internet connection to accept the new password the first time.

Forgot your PIN instead?

Windows Hello PINs are separate from the password. On the sign-in screen, select I forgot my PIN below the PIN box and follow the prompts; if several accounts are on the PC, pick yours first. Microsoft notes this option is only available for Microsoft accounts. With a local account, choose Sign-in options, sign in with your password, then set a new PIN in Settings > Accounts > Sign-in options.

Local account: answer your security questions

  1. Type any password and press Enter. When it fails, select OK.
  2. Select Reset password (on some screens, the arrow next to the password box).
  3. Answer the security questions you set when the account was created, then type a new password.
  4. If you made a password reset disk (a USB drive), choose Use a password reset disk instead and follow the prompts.

Local account: use another administrator account

If someone else on the PC has an administrator account, they can set a new password for you. Signed in as that administrator, open Computer Management (search the Start menu), expand Local Users and Groups > Users, right-click your account, choose Set Password, and type the new one twice. Files encrypted by that account, and saved passwords in some apps, may no longer open after a forced change.

Last resort: reset the PC

With no security questions, no reset disk and no other administrator, Microsoft's only option is to reset Windows.

  1. On the sign-in screen, hold Shift while you select Power > Restart.
  2. In the blue recovery screen, choose Troubleshoot > Reset this PC.
  3. Pick Remove everything if you can't sign in; this reinstalls Windows and deletes your files, apps and settings. Choose Cloud download to get a fresh copy with the latest updates.
  4. If the PC asks for a BitLocker recovery key, it's a 48-digit number. Look it up from another device at aka.ms/myrecoverykey with the Microsoft account used on that PC, or check for a printout or USB drive.

If it doesn't work

  • The password should be right: check Caps Lock, and check the keyboard layout indicator on the sign-in screen. A PC set to a Spanish or Chinese keyboard puts symbols like @ and ñ in different places.
  • No security code arrives: check spam and wait a few minutes, then try the other verification method offered. If you no longer have the backup email or phone, follow the prompts to verify another way.
  • I forgot my password doesn't appear: it's a local account, or the PC is managed by an organization.
  • Web pages or apps offering to unlock Windows: avoid them, and never pay a caller who says they can unlock your account. Microsoft support agents can't send reset links or change account details for you.

Good to know

  • Once you're back in, open Settings > Accounts > Sign-in options to set a PIN or fingerprint so you type the password less often.
  • Add a backup phone number and email to your Microsoft account now, so the next reset takes a minute.
  • If you travel abroad with your laptop, make sure the backup phone can receive texts there, or add a backup email.

People also ask

Can Microsoft tell me my old password?

No. Microsoft says its support can't retrieve or bypass a lost password. You can only reset it through the steps above.

Will resetting my Microsoft account password delete my files?

No. Your files stay on the PC. Only a full PC reset with Remove everything deletes them.

Does a new password change my Outlook and Xbox password too?

Yes. A Microsoft account uses one password for Windows, Outlook.com, OneDrive and Xbox.

I know my PIN but not my password. What now?

Sign in with the PIN, then go to Settings > Accounts > Sign-in options > Password > Change. If you don't know the current password, select the forgot option there and follow the prompts.

Where do I find my BitLocker recovery key?

Sign in at aka.ms/myrecoverykey from another device with the Microsoft account used on the PC. Work PCs: ask IT. Microsoft support can't retrieve it.

Do these steps work on Windows 10?

Yes. The sign-in screen options and account types are the same on Windows 11 and Windows 10.

All quick answers