Skip to content
Follow
Windows

How to Enable or Disable Built-in Administrator Account Lockout in Windows 11

Richard
Written by
Richard
Mar 25, 2026 Updated Sep 15, 2026 4 min read
How to Enable or Disable Built-in Administrator Account Lockout in Windows 11
How to Enable or Disable Built-in Administrator Account Lockout in Windows 11

Built-in administrator account lockout in Windows 11 stops hackers from guessing your main admin password by locking the account after 10 failed login attempts. This security feature protects your PC from brute-force attacks where programs try hundreds of password combinations in seconds.

Advertisement

You can turn this setting on or off using the Local Security Policy tool on Windows 11 Pro, Enterprise, or Education editions. Keeping it turned on stops strangers from breaking into your computer when you walk away.

⚡ Quick Answer

Open Local Security Policy by searching for secpol.msc. Navigate to Account Policies, then Account Lockout Policy. Double-click “Allow Administrator account lockout” and select Enabled or Disabled to control the setting. You need administrator privileges to modify this.

Advertisement

Why Account Lockout Matters

Account lockout stops unauthorized users from guessing your password by locking your Windows 11 account after a set number of failed login attempts. This security feature protects your personal data from hackers and keeps your computer safe by blocking access when someone types the wrong password too many times in a row.

The Account Lockout Policy in Windows manages user account locking. This policy prevents hackers from guessing passwords by blocking an account after a predetermined number of wrong login attempts, for example, 5 attempts.

Understanding the Settings

Windows 11 account lockout settings control how your PC handles repeated incorrect login attempts by defining when an account locks, how long it stays locked, and how quickly the failure counter resets. Adjusting these rules lets you balance your computer’s security against the risk of getting locked out yourself.

Account lockout duration is the number of minutes a Windows 11 account remains locked before automatically unlocking. An administrator can also manually unlock the account at any time.

Advertisement

Reset account lockout counter after: This is how many minutes must pass before the failed login counter resets to zero.

Administrator account lockout in Windows 11: This setting determines if the special Administrator account on your computer can be temporarily blocked from use. Blocking the Administrator account prevents anyone from accessing it after too many incorrect password attempts, adding a security layer.

The Security Trade-off

Limiting failed login attempts stops most hacking. However, a bad actor could lock out all user accounts at once. This action is a denial-of-service attack.

New Default Settings

Windows 11 default account lockout rules lock your PC for 10 minutes after 10 failed password attempts, starting with update build 22528. These built-in security defaults apply to standard user profiles as well as the main administrator account to protect your system right out of the box.

Advertisement
  • Account lockout threshold: 10 failed attempts
  • Account lockout duration: 10 minutes
  • Allow Administrator account lockout: Enabled
  • Reset account lockout counter after: 10 minutes

References:

Account Lockout Policy - Windows 10

Describes the Account Lockout Policy settings and links to information about each policy setting.

Advertisement

Important Requirements

📝Good to KnowYou need administrator access to change these settings.

This feature is only available in Windows 11 Pro, Enterprise, and Education editions.

How to Enable or Disable Administrator Account Lockout

You can enable or disable the built-in administrator account lockout in Windows 11 using the Local Security Policy (a tool for managing advanced security rules) editor. This process lets you turn the security feature on or off for the main administrator profile depending on your specific needs.
  1. [Admin Required] Open Local Security Policy. Press the Windows key and search for secpol.msc, then press Enter.
  2. In the left pane, click on Account Policies to expand it. Then click on Account Lockout Policy.
  3. In the right pane, double-click on Allow Administrator account lockout to open its settings.
  4. Note: The Account lockout threshold policy must be enabled first to change this setting.
  5. Select Enabled (the default) or Disabled for what you want. Then click OK.
  6. If you want, you can also change the Account lockout threshold, Account lockout duration, and Reset account lockout counter after settings.
  7. When you're done, you can close the Local Security Policy window.
windows 11 allow builtin administrator account lockout policy
windows 11 allow builtin administrator account lockout policy
enable or disable administrator account lockout policy
enable or disable administrator account lockout policy

Summary

⚠️WarningThe Allow Administrator account lockout policy is a key security feature that locks your admin account after several incorrect password entries.

Windows 11 now defaults to locking accounts for 10 minutes after 10 failed attempts, but you can change this using Local Security Policy on Pro, Enterprise, or Education versions.

How to enable or disable the built-in Administrator account in 🪟 Windows 11?

Command Prompt (All Editions): Run net user Administrator /active:yes to enable or /active:no to disable the built-in Administrator account in Windows 11. PowerShell (All Editions): Use Enable-LocalUser -Name “Administrator” or Disable-LocalUser -Name “Administrator” in an elevated session.

Is it safe to disable the built-in admin?

Is it safe to disable the built-in admin? Yes—in most environments, disabling it is a recommended hardening step because it removes a predictable, high-privilege target. Ensure you have at least one other approved admin account (local or domain) available before disabling it.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

Advertisement

📚 Related Tutorials

How to Change Account Lockout Duration in Windows 11
Windows How to Change Account Lockout Duration in Windows 11
How to Change Reset Account Lockout Counter After Time in Windows 11
Windows How to Change Reset Account Lockout Counter After Time in Windows 11
How to Enable the Hidden Administrator Account in Windows 11
Windows How to Enable the Hidden Administrator Account in Windows 11
How to Reset Group Policy Windows 11 to Default
Windows How to Reset Group Policy Windows 11 to Default

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *