![How to Change Lockout Duration After Failed Logon Attempts in Windows 11 and 11](https://thmb.techidaily.com/8979e8080587e2a8dc2c43407031e5a8747618e7ac4eca2f3b40cffb1bdf15c9.jpg)
How to Change Lockout Duration After Failed Logon Attempts in Windows 11 and 11
![](/images/site-logo.png)
How to Change Lockout Duration After Failed Logon Attempts in Windows 11 and 11
Windows has a policy setting that can lock someone out from signing in if they enter the wrong local account password too many times. The user is not allowed to sign in for a set number of minutes after being locked out, but you can change this lockout duration.
Here’s how to change how long someone using a specific Windows machine is locked out if they enter the wrong login credentials a certain number of times. You must be signed in as an administrator to change this policy.
How to Change the Duration a User Is Locked Out of Their Account via Local Security Policy
This method will work as long as the system is running the Pro, Enterprise, or Education edition of Windows 10 or 11.
- Press Windows key + R to open the Run dialogue.
- Type “secpol.msc” into the text field and hit Enter.
- On the left pane, click on the Account Lockout Policy folder under Account Policies.
- On the right pane, double-click on Account lockout duration.
- Type in a number between zero and 99,999, and hit OK. This will set how long (in minutes) the system will need before it accepts another login attempt.
How to Change the Account Lockout Duration in Windows via the Command Prompt
If the system isn’t running the Pro, Enterprise, or Education edition of Windows 10 or 11, you’ll need to use the command prompt to change how long a user must wait before signing in again after failed login attempts.
- Open Command Prompt as Administrator . You can also perform this task with Windows PowerShell if you prefer.
- Type the following command into the console and hit Enter:
net accounts
- This will pull up information, among other things, about how long this account lockout duration is currently set.
- To change account lockout duration on Windows 10 and 11, type the following command into the console and hit Enter. Replace the number “60” in the command with any other number from zero to 99,999 to set how many minutes a user will have to wait before being allowed to try and log in again.
net accounts /lockoutduration:60
Setting this value to zero means the locked-out user will not be able to sign in unless an administrator intervenes and unlocks it. Also, the account lock-out duration must be greater than or equal to the time for the system to automatically reset the number of failed login attempts .
If you don’t ever want users to be locked out of their local accounts, you must change the number of failed login attempts a user is allowed.
Find the Balance Between Security and Convenience
Setting account lockout duration too high will cause inconvenience, but if you set it to zero, an administrator will have to be contacted each time a user locks themselves out. Find a balance between security and convenience when it comes to changing how long a user is locked out after a set number of failed login attempts.
Here’s how to change how long someone using a specific Windows machine is locked out if they enter the wrong login credentials a certain number of times. You must be signed in as an administrator to change this policy.
Also read:
- Elevate Your Command Prompt: Integrating Folders Into Context Menu
- Accessing Windows Terminal for Quake Environment
- In-Depth Guide to Superior Windows Search without LS
- Personalize Auto-Lock & Screensaver Interval
- Reenergizing Your Dead Wireless Hotspot in Windows 11
- Resetting Techniques for Faulty Resource Monitors on Windows 11
- Restoring Non-Active VSS Service States
- Beating the Buzz: Mastering Voice Recorder Shortcuts in Windows 11
- Running State-of-the-Art AI: Windows Edition
- How to Restore Deleted Oppo Find N3 Flip Contacts An Easy Method Explained.
- Boosting Stability & Speed More RAM for Minecraft
- [New] EvaluationCast Breakdown
- New An Android Users Journey to Flawless Audio-Visual Integration for 2024
- [New] Beyond Standard Views A Detailed Look at the Z32X Model
- Updated In 2024, Sonic Treasure Trove The 8 Best Websites to Explore a World of High-Quality, Gratis Audio Enhancements
- Can Life360 Track Or See Text Messages? What Can You Do with Life360 On Xiaomi Civi 3? | Dr.fone
- New Guide to Make Timelapse Video with iMovie for 2024
- Advanced Voice Communication Technology for Gamers Interaction for 2024
- [Updated] 2024 Approved Revitalizing Urban Areas with Environmental Vision and Purpose
- Title: How to Change Lockout Duration After Failed Logon Attempts in Windows 11 and 11
- Author: Richard
- Created at : 2024-06-25 16:32:03
- Updated at : 2024-06-26 16:32:03
- Link: https://win11-tips.techidaily.com/how-to-change-lockout-duration-after-failed-logon-attempts-in-windows-11-and-11/
- License: This work is licensed under CC BY-NC-SA 4.0.