Windows displays a “The referenced account is currently locked out and may not be logged on to” error when you enter an incorrect password repeatedly. This error prevents you from signing into your account.

You can fix this issue by rebooting your computer and signing in with the correct password after 10-30 minutes. After that, reset your password, disable “Account lockout threshold,” or turn off password expiration if the error persists.

How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 1

Reset Your Password Using Security Questions

If you set up security questions when creating your account’s password, you can sign in to Windows by answering the questions correctly.

  1. Select Reset password below the dialog box on the sign-in screen.
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 2

If you don’t see the “Reset password” option, enter the wrong password on the sign-in screen. Windows will refresh the login screen and display the “Reset password” option.

  1. Provide answers to the security questions and create a new sign-in password on the next page.
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 3

Return to the login screen and check if you can access your account using the new password.

Use a Password Reset Disk

If you have a password reset disk , use it to reset your local account’s password and sign in to Windows. Reboot your PC, plug the password reset USB drive into your computer, and follow the steps below.

  1. Select Reset password below the dialog box on the sign-in screen.
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 4

Press Enter or select the Submit icon if you don’t see the “Reset password” option on the login screen. Windows will refresh the login screen and display the “Reset password” option.

  1. Select Use a password reset disk instead .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 5
  1. Select the password reset disk from the drop-down list, select Next , and follow the prompt on the next page to create your new sign-in password.
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 6

Close the password reset wizard and sign in to your PC using the new password. For more information, refer to our tutorial on using a password reset disk in Windows .

Reset Microsoft Account Sign-In Password

If you sign in to Windows using your Microsoft account, reset your password and sign in with your new password. Reboot your PC, connect it to a Wi-Fi or Ethernet network, and follow the steps below to reset your password.

  1. Select I forgot my password on the sign-in screen.
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 7
  1. Select how you want to verify your identity—via email, phone number, or an authenticator app —and select Next .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 8

If you verify your identity via email, you’ll get a prompt to enter your full email address. Select Get code to have Microsoft send the verification code to the phone number linked to your account.

How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 9

If you select the “phone number” verification option, provide the last four digits of your phone number to proceed.

How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 10
  1. Enter the authentication code sent to your email address or phone number and select Next .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 11
  1. Verify your identity (via email or phone number) for the second time if your account uses two-step verification.
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 12
  1. Enter the new code sent to your email address or phone number and select Next .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 13
  1. You’ll get a prompt to create a new password if the verification checks succeed. Enter your new sign-in password in the dialog box and select Next .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 14

Your new password must have at least eight characters. Also, it must contain at least two of the following: numbers, uppercase letters, lowercase letters, and symbols.

  1. You should see a “Your password is changed” success message on the next page. Select Sign in to log in to your computer using the new password.
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 15

Disable “Lockout Threshold” and “Password Expiration”

Windows has an “account lockout threshold” that locks your account after a specific number of invalid login attempts. Windows might also restrict your account if the password expires .

If you can’t access your account due to excessive invalid login attempts, disable the lockout threshold from the hidden administrator account. You should also ensure your account’s password doesn’t expire.

Since you can’t sign in, you’ll need to enable the hidden administrator account from the Group Policy Editor through the Windows Recovery Environment.

Note: Group Policy Editor is only available in the Professional and Enterprise editions of Windows. This method won’t work if your computer runs a Windows Home edition. Try the recommendation (Delete Cached Credentials) in the next section instead.

Select the Power icon in the bottom-right corner, hold the Shift key , and select Restart .

How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 16

Alternatively, reboot your computer and repeatedly press the F8 or F11 key when Windows boots. For more information, refer to our tutorial on booting the system recovery options in Windows 10 and 11 .

Follow the steps below to activate the hidden administrator account in the Windows Recovery Environment.

  1. Select Troubleshoot .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 17
  1. Select Advanced options .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 18
  1. Select Command Prompt .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 19
  1. Type or paste the command below in the Command Prompt terminal and press Enter .

net user administrator /active:yes

How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 20

Close the Command Prompt when you see a “The command completed successfully” message.

How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 21
  1. Type exit in the following line and press Enter .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 22
  1. Select Continue to close the Windows Recovery Environment. That’ll reboot Windows and display the hidden administrator account on the sign-in screen.
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 23
  1. Select Administrator in the bottom-left corner of the sign-in screen and select Sign in .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 24
  1. Press the Windows key + R , type gpedit.msc in the dialog box, and select OK . That’ll open the Windows Local Group Policy Editor .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 25
  1. Go to Computer Configuration > Windows Settings > Security Settings > Account Policies and select Account Lockout Policy .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 26
  1. Double-click the Account lockout threshold policy.
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 27
  1. Set the “Account will lock out after” option to 0 invalid logon attempts.
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 28
  1. Select Apply and then OK to save the account lockout threshold policy.
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 29

Windows will no longer lock your account, no matter how many times you enter an incorrect password. Restart your computer and try logging in to your main account.

  1. Next, navigate to Computer Configuration > Windows Settings > Security Settings > Account Policies and select Password Policy .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 30
  1. Right-click Maximum password age and select Properties .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 31
  1. In the “Local Security Setting” tab, set the “Password will expire in” entry to 0 to disable password expiration. The default expiration date is 42 days.
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 32
  1. Select Apply and then OK to save the password age settings.
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 33

Sign out of the hidden admin account, reboot your computer, and try signing in to the locked account.

Delete Cached Credentials

Corrupt cached credentials can also cause account lockout issues in Windows. Sign in to the hidden admin account, delete the locked account’s cached credential, and try signing in again.

  1. Open the Start menu, type credentials manager in the search box, and select the Credential Manager .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 34
  1. Select Windows Credentials .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 35
  1. Scroll to the “Generic Credentials” section and select the credentials of the locked user account.
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 36
  1. Select Remove .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 37
  1. Select Yes on the confirmation prompt to proceed.
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 38

Sign out of the hidden admin account and try logging in to the locked account again with the correct password.

Unlock Account Using the “Local Users and Group Management” Utility

If your PC uses Windows 10/11 Pro or Enterprise, sign in to the hidden admin account and unlock your account via the Local User Management utility.

  1. Open the Windows Run box ( Windows key + R ), type lusrmgr in the dialog box, and select OK .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 39
  1. Select Users on the sidebar and double-click the locked account.
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 40
  1. In the “General” tab, deselect the Account is locked out checkbox, select Apply , and then OK .
How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 41

Update the Local Group Policy Editor

A background update of all Group Policy settings can also resolve the “The referenced account is currently locked out” error. Follow the steps below if your PC runs the Pro or Enterprise version of Windows.

Open Command Prompt in the Windows Recovery Environment , paste gpupdate /force in the terminal, and press Enter .

How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 42

Close the Command Prompt and reboot your PC when you see a “User Policy update has completed successfully” message.

How to Fix “The Referenced Account Is Currently Locked Out” Error in Windows - 43

Unlock Your Account

At least one of these troubleshooting fixes should unlock access to your account. Reset your computer or contact Microsoft Support if the error persists.

  • Sluggish Windows 11 PC? Try These 5 Windows 11 Tricks to Free up Virtual Memory
  • How To Turn Off Notifications On Windows 11?
  • How to Fix Windows 11 Boot Loops After Jan 2026 Update
  • How to Remove Copilot AI in Window 11? New Update Available in Beta
  • January 2026 Patch Tuesday: 7 Things Windows Users Should Do Before and After Updating

Sodiq has written thousands of tutorials, guides, and explainers over the past 4 years to help people solve problems with Android, iOS, Mac, and Windows devices. He also enjoys reviewing consumer tech products (smartphones, smart home devices, accessories, etc.) and binge-watching comedy series in his spare time. Read Sodiq’s Full Bio