GuidesError FixesFIXED: Windows User Is Locked Out Of His/Her Computer

FIXED: Windows User Is Locked Out Of His/Her Computer

In this article we will be going over all the methods that can be used to fix Windows user locked out of their PC.

Expert Verified By

After restarting a Windows computer, and no one logged in before the user, she may be locked out of the computer locally and by domain. Windows can lock a user out based on too many incorrect attempts to enter the correct password and corrupt files, while it can be fixed by reinstalling Windows or restarting the computer in Safe Mode.

Key Takeaways
  • Windows can lock accounts if the user makes many wrong attempts to open the account.
  • The reasons behind this error can be entering the incorrect password or corrupting Windows.
  • The standard fixes for the issue include restarting, reinstalling Windows, and restarting in Safe mode.

The warning message is displayed in the below fashion:

WARNING: “This computer is locked. Only an administrator can unlock this computer.”

Locked account
Windows Account Locked (Image Credits: Tech4Gamers)

Method Difficulty Rating

Windows Directory
Rated: 7/10

Renaming Executable Files
Rated: 8/10

Net User Command
Rated: 6/10

Tip: Try resetting password security questions and logging in with the Administrator account before trying the following methods.  

Via Windows Directory/ Utilman.exe

Windows’s “Utilman.exe” command is typically associated with the Ease of Access utility. It doesn’t directly address user lockouts. However, if a system is compromised and an attacker replaces Utilman.exe with a malicious program, it can lead to security vulnerabilities. Ensuring the integrity of Utilman.exe and regularly monitoring system files can help maintain a secure Windows environment and prevent potential unauthorized access or manipulations that might contribute to user lockouts.

To solve the Windows user locked-out issue, I used the Utilman.exe file in the Windows Directory to resolve the issue, which is run through the command prompt available in the safe restart. This method worked out great when we used it on our systems. In addition, when posted online, this fix was also helpful to TenForums community users for resetting the password for a locked account. Perform the following steps:

  1. Go to CMD via Guide Menu: Press the Shift key while restarting your PC > From the next screen, go to Advanced Settings > Troubleshoot > Command Prompt
    Steps to launch command prompt
    Starting Command prompt (Image Credits: Tech4Gamers)
  2. cdsystem32 Command: Type the following command inside the command prompt:
    cd system32

    cd system32 Command
    cd system32 Command (Image By Tech4Gamers)
  3. ren Utilman.exe Command: Type and launch ren utilman.exe utilman1.exe > Run the command.
    ren utilman.exe utilman1.exe
    ren utilman.exe utilman1.exe (Image By Tech4Gamers)
  4. Continue to Windows 10: Close the command prompt window > Click “Continue to Windows 10.”
    Continue To Windows 10
    Continue To Windows 10 (Image By Tech4Gamers)
  5. Check the error: Check if the system reset your password successfully.

WARNING: If the above methods are useless, you must restart the system and log in before the screen saver program initiates.

Renaming The Executable Files

Renaming executable files in Windows, mainly when using methods like renaming Utilman.exe, can resolve user lockout issues. This process involves accessing the system in Safe Mode, renaming specific files, and subsequently resetting passwords or unlocking accounts. Users can bypass potential security vulnerabilities by altering the executable file names, ensuring a smoother login experience and preventing unnecessary account lockouts.

This method also helped me in solving my problem, which is the reason I am recommending this method, backed by my personal experience. Follow the steps below to implement the method:

  1. Repeat Steps: Repeat steps 1-5 from the (Utilman.exe) method above.
  2. Control Userpasswords2 Command: Next, type “control userpassword2” > press enter > A new window will pop open on the screen with the username on it
    Control userpasswords2
    Control userpasswords2 Command (Image By Tech4Gamers)
  3. Reset Password: Locate the option “Reset password” > Click on it
    User Accounts Password reset
    User Accounts Password reset (Image By Tech4Gamers)
  4. Check Account Status: Type a new password in the resultant dialogue box Type the newly set password > Check whether this will get you into your account.
    Reset Password (Image By Tech4Gamers)

Important: For extra protection, you must back the directory up before attempting to modify it. This way, you can always restore the registry if the modification goes wrong. To resolve this issue, use another screen saver (like Logon.scr) installed locally on the system and is not corrupted.

Logging In Via Command Prompt

The “Netuser” command in Windows can also help prevent user lockouts by allowing administrators to reset account passwords or unlock user accounts. Using the appropriate syntax, administrators can efficiently manage user accounts and resolve issues related to password expiration or incorrect entries. This ensures a smoother user experience and reduces the likelihood of account lockouts in a Windows environment.

A method I used to eradicate the error from my system was logging into the system via Command Prompt. The command prompt is available in the Advanced settings panel under safe restart. Therefore, it can be accessed quickly, making this method vital. Our team tested this method for a PC throwing the same issue.

Another way to change the password is as follows:

  1. Open CMD: Open the Start menu > Search CMD in the search bar.
    Run Command Prompt (Image Credits: Tech4Gamers)
  2. Net user command: Type “net user” > press Enter.
    Net User command (Image By Tech4Gamers)
  3. Displaying Account credentials: This command will display your account name.
    Account Details (Imqge By Tech4Gamers)
  4. Set Account Passwords: Again, type “net user > *YOUR ACCOUNT NAME*.” > Press Enter > Set a new password for the account > Press Enter.

Conclusive Remarks

Every Windows user has been locked out of their computer at least once in their life. This article covers the issue of Windows users getting locked out of computers. The issue has caused trouble for a lot of users. The following tweet is an example of the issue faced by a user:

The error is vastly reported on the Microsoft forums, where many users have complained about the error they are experiencing. Unfortunately, we are still expecting a response from the Microsoft technical team despite so many complaints.

This error is mostly reported by Windows 8 and 10 users. This means that the new structure developed by Microsoft is not as secure as its predecessors. however, users can employ the steps mentioned in our guide to ensure the minimization of such issues in my opinion.


Why is a user often locked out of the computer?

Users can be locked out of the computer due to multiple incorrect login credential entries, corrupt system files, and many other factors.

How can a user remove the issue of being locked out?

Users can employ different methods to eliminate this issue, like restarting or reinstalling Windows or using the Net User command in Safe Mode.

What should the user do to prevent this error from happening?

Users can exercise some precautionary steps like noting the password down and entering the correct password every time, scanning the PC for viruses regularly, and protecting the computer from malware by installing antivirus software like Avast and Bytefence.

Relevant Articles:

Was our article helpful? 👨‍💻

Thank you! Please share your positive feedback. 🔋

How could we improve this post? Please Help us. 😔

Related articles

What Is NAND Flash Memory? [All To Know]

NAND Flash memory is a critical component in data storage and technology. It serves as the digital storage workhorse inside your devices.

There Was A Problem Resetting Your PC [Quick Fixes]

Reset your computer, restore your last system image, and reinstall Windows to resolve the "There Was A Problem Resetting Your PC" issue.

What To Do If Sleep Option Is Missing In Windows 11?

In this guide, you will learn to fix the "Sleep Option Missing In Windows 11" problem by using the Power troubleshooter and more.

How To Fix PS5 Spotify Error [Step By Step]

Is the PS5 Spotify error preventing you from playing music? Read this guide to find out fixes to get rid of the problem.

FIXED: The Computer Did Not Resync, No Data Was Available

The Computer Did Not Resync Because No Time Data Was Available” Error can occur due to many reasons such as improper group policy, issues with time server and incorrect registry configuration. It can be resolved by editing group policy, registry keys, and restarting Windows Time Service.

Similar Guides