How to Fix “The referenced account is currently locked out and may not be logged on to” Error on Windows 10?

Question

Issue: How to Fix “The referenced account is currently locked out and may not be logged on to” Error on Windows 10?

As I understand now, I have been entering a wrong password into the login screen for more than five times, which is why I’m currently locked out of my account and desperately need to log in. That’s my work PC, so I’m really frustrated. Could you please help?

Solved Answer

“The referenced account is currently locked out and may not be logged on to” is an error one could encounter when using Windows by Microsoft.[1] This message indicates that a PC user has been typing a wrong password[2] a number of times, which is why Windows locked the account and prevented them from signing in for a particular period of time, which is not specified.

According to experts, “The referenced account is currently locked out and may not be logged on to” error typically emerges on Windows 10 or Windows 11 systems, which belong to the domain with the configured Account lockout threshold policy.

Also, this error might occur due to the account being temporarily locked out after typing the wrong password for several times in the log-in screen when a computer has multiple accounts with the Account lockout threshold policy configured.

Nevertheless, the emergence of “The referenced account is currently locked out and may not be logged on to” is not an inextricable issue. The only problem is that the error fix requires the intervention of the domain controller.[3]

“The referenced account is currently locked out and may not be logged on to” error fix

Before you start troubleshooting a relatively complicated issue, make sure you perform the basics first, which include:

  • Remove your network cable and restart your PC;
  • Disconnect the mapped drives, reset the password, and try again;
  • Check your time and date settings.

This video will help you:

Solution 1. Use the “I forgot my password” option

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.

You can always try using the “I forgot my password” option in this case, which prompt you to verify your account.

  • In the login screen, pick I forgot my password/PIN option.
  • Wait a bit, and Windows will show you the login screen.
  • Here, enter the password for your Microsoft account and click Sign in.
  • If you can't remember your Microsoft password, you should click Forgot password?
  • In the verification method screen, pick your email and click Next.
  • Enter the verification code sent to your email and click Next.
  • Create a new password and log back in.

Use I forgot my password option

Solution 2. Set the administrator account

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.
  • From the login screen, hold the Shift key on your keyboard and click Power > Restart.
  • Once you enter the recovery environment, click Troubleshoot.
  • Select Advanced options and then pick Command Prompt.
  • When Command Prompt window shows up, type in the following command and press Enter:
    net user administrator /active:yes
  • Close down Command Prompt.
  • Click Continue to boot into Windows normally.

Activate admin account

Once you manage to access Windows, perform the steps below to resolve the error.

Solution 3. Edit Local Security Policy

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.

Once you encounter “The referenced account is currently locked out and may not be logged on to” error, we would strongly recommend you leave the PC for 30 minutes. That's the waiting time that is often set by the system administrator if the user enters the wrong password. After 30 minutes, the log-in screen may be unlocked, and you may get a second chance to access your desktop.

If you have managed to access your desktop successfully, you should disable the Account lockout threshold policy to prevent “The referenced account is currently locked out and may not be logged on to” error from showing up:

NOTE: these steps apply for Windows Pro and Enterprise editions only.

Change Account Lockout Threshold Policy

  • Press Windows key + R, type secpol.msc, and hit Enter.
  • When the Local Security Policy window opens, select Security Settings.
  • Open Account Policy and select Account Lockout Policy.
  • Double-click on the Account lockout threshold policy (on the right) to open Settings configuration window.
  • To disable account lockout, replace the existing value with 0 and click Apply to save the changes.
  • Then press OK and close the Local Security Policy window.
  • After that, you will be able to log on to your account without seeing “The referenced account is currently locked out and may not be logged on to” error.

Set out lockout to 0

  • Next, type cmd in Windows search, right-click on Command Prompt, and select Run as administrator.
  • When User Account Control shows up, click Yes.
  • In the new window, type in the following command and press Enter:
    gpupdate /force
  • Close down Command Prompt.

Solution 4. Check your DNS settings

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.

In some cases, users reported that wrong DNS[4] settings made them encounter “The referenced account is currently locked out and may not be logged on to” error. There are plenty of potentially unwanted applications[5] (such as Utopia.net) that can act as DNS hijackers. In such a case, the DNS settings are altered without permission. To restore the parameters, please follow these steps (note: eliminate all suspicious applications from the Control Panel first):

  • Right-click on Start button and pick Network Connections
  • On the right pane, select Ethernet
  • Click on Change adapter options on the right
  • Right-click on Ethernet and select Properties
  • From the list, find Internet Protocol Version 4 (TCP/IPv4) and click on Properties
  • In the Properties window, tick Obtain DNS server addresses automatically and click OK

Check DNS Settings

If that brings no results, you can try swapping to Google's DNS by ticking Use the following DNS server addresses and entering the following:

Preferred DNS server: 8.8.8.8
Alternative DNS server: 8.8.4.4

Solution 5. Set the account password to never expire

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.

You need to make sure the password is set to never expire in Local Users and Groups menu:

  • Press Windows key + R, enter lusrmgr.msc and hit Enter
  • Select Users in the right pane
  • Right click on the user and pick Properties
  • In the General tab, tick the Password never expires box and click OK

Set password to never expire

Solution 6. Clear cached credentials from your computer

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.
  • Click on Start button and type Credential Manager into the search box
  • Select Windows Credentials
  • Click and arrow next to credentials you want to remove and select Remove

Clear cached credentials

Solution 7. Use Password reset disk or format Windows

Fix it now! Fix it now!
To repair damaged system, you have to purchase the licensed version of Fortect Mac Washing Machine X9.

What if your computer does not belong to the domain? In other words, if you are using a home computer with a single admin account, which has no Account lockout threshold policies' settings configured, but the “The referenced account is currently locked out and may not be logged on to” emerged?

Then the only solution would be to reset your password using a Password reset disk, but for this purpose, you have to have such a disk created some time ago.

In case you do not have a password reset disk, then we have sad news for you because the only way to unlock your PC is to format Windows.

Repair your Errors automatically

ugetfix.com team is trying to do its best to help users find the best solutions for eliminating their errors. If you don't want to struggle with manual repair techniques, please use the automatic software. All recommended products have been tested and approved by our professionals. Tools that you can use to fix your error are listed bellow:

Offer
do it now!
Download Fix
  Happiness
Guarantee
do it now!
Download Fix
  Happiness
Guarantee
Compatible with Microsoft Windows Compatible with OS X
Still having problems?
If you failed to fix your error using FortectMac Washing Machine X9, reach our support team for help. Please, let us know all details that you think we should know about your problem.
Fortect - a patented specialized Windows repair program. It will diagnose your damaged PC. It will scan all System Files, DLLs and Registry Keys that have been damaged by security threats.Mac Washing Machine X9 - a patented specialized Mac OS X repair program. It will diagnose your damaged computer. It will scan all System Files and Registry Keys that have been damaged by security threats.
This patented repair process uses a database of 25 million components that can replace any damaged or missing file on user's computer.
To repair damaged system, you have to purchase the licensed version of Fortect malware removal tool.To repair damaged system, you have to purchase the licensed version of Mac Washing Machine X9 malware removal tool.

Protect your online privacy with a VPN client

A VPN is crucial when it comes to user privacy. Online trackers such as cookies can not only be used by social media platforms and other websites but also your Internet Service Provider and the government. Even if you apply the most secure settings via your web browser, you can still be tracked via apps that are connected to the internet. Besides, privacy-focused browsers like Tor is are not an optimal choice due to diminished connection speeds. The best solution for your ultimate privacy is Private Internet Access – be anonymous and secure online.

 

Data recovery tools can prevent permanent file loss

Data recovery software is one of the options that could help you recover your files. Once you delete a file, it does not vanish into thin air – it remains on your system as long as no new data is written on top of it. Data Recovery Pro is recovery software that searchers for working copies of deleted files within your hard drive. By using the tool, you can prevent loss of valuable documents, school work, personal pictures, and other crucial files.

About the author
Ugnius Kiguolis
Ugnius Kiguolis - The problem solver

Ugnius Kiguolis is the founder and editor-in-chief of UGetFix. He is a professional security specialist and malware analyst who has been working in IT industry for over 20 years.

Contact Ugnius Kiguolis
About the company Esolutions

References

Read in other languages

What you can add more about the problem: "How to Fix “The referenced account is currently locked out and may not be logged on to” Error on Windows 10?"