Locked Out of the Admin Account in Windows 11? How to Get Back In

If you’re locked out of the administrator account on your own Windows 11 PC, don’t look for a “bypass.” Use the recovery option that matches your account: reset a Microsoft account password online, answer the security questions for a local account, have another administrator reset it, or, as a last resort, reset the PC. Tricks that disable Windows security can damage the system and won’t help with an encrypted drive. Here’s what to try, in order.

First: which kind of account is it?

  • Microsoft account: you sign in with an email address (Outlook, Hotmail, Live, or another email linked to Microsoft).
  • Local account: you sign in with just a user name that exists only on this PC.
  • Work or school account: the PC is managed by an organization. Only its IT department can reset the password.

Option 1: Reset a Microsoft account password

  1. On the sign-in screen, select I forgot my password. (If you use a PIN, select I forgot my PIN instead; you’ll be asked to verify your Microsoft account.)
  2. Verify your identity with a code sent to your recovery email or phone.
  3. Create a new password and sign in.

You can also do this from any other device at account.live.com/password/reset. Make sure the PC is connected to the internet when you sign in with the new password.

Option 2: Reset a local account with security questions

  1. Enter a wrong password once on the sign-in screen.
  2. Select Reset password.
  3. Answer the security questions you set up when the account was created, then choose a new password.

If you made a password reset disk (a USB drive) for this account earlier, insert it and follow the reset prompts instead.

Option 3: Have another administrator reset it

If someone else on the PC has an administrator account, they can set a new password for your local account:

  1. Sign in with the other administrator account.
  2. Open Control Panel > User Accounts > User Accounts > Manage another account.
  3. Choose your account, select Change the password, and set a new one.

Changing a local password this way can make some encrypted data for that account unreadable, such as files protected with EFS and saved website passwords, so use it only when other options fail. For managing admin rights afterward, see how to get administrator privileges in Windows 11.

Option 4: Reset the PC (last resort)

If no recovery option works, you can reinstall Windows. This removes your apps and settings, and choosing Remove everything deletes your files.

  1. On the sign-in screen, hold Shift and select Power > Restart.
  2. Choose Troubleshoot > Reset this PC.
  3. Choose Remove everything and follow the prompts.

If the drive is encrypted, you may need the BitLocker recovery key, which is usually saved in the Microsoft account that set up the PC. See how to reset a Windows 11 password without logging in for more detail.

Why “bypass” tools are a bad idea

  • Many rely on replacing system files or editing the registry offline, which can leave Windows unstable.
  • Downloaded “password crackers” are a common way to spread malware.
  • They don’t decrypt BitLocker drives, which are on by default on many Windows 11 PCs.
  • On a PC that isn’t yours, getting around the password is unauthorized access.

Avoid getting locked out again

  • Keep the recovery email and phone on your Microsoft account up to date.
  • For local accounts, set security questions you’ll remember, or create a password reset disk.
  • Keep a second administrator account, or make sure a trusted family member has one.
  • Use a password manager to store your Windows password.

Related: Regain access to a Windows 10 admin account.

Frequently asked questions

Can I bypass the admin password with Command Prompt?

Only from an account that already has administrator rights, using net user. Without admin access, Windows doesn’t provide a supported way.

Will resetting the PC remove the password?

Yes. After a reset, you create a new account during setup.