Optimizing Password Policy: Adjusting Lockout Counter Post-Failed Logins
Optimizing Password Policy: Adjusting Lockout Counter Post-Failed Logins
Enter the wrong local account password too many times and Windows could lock you out. The system also counts how many failed attempts you make when attempting to sign on to the machine.
Exceed this threshold and you will need this counter to be reset, which you can do by waiting a set amount of time. Here’s how to change the time you must wait in order for the counter to be automatically reset.
Disclaimer: This post includes affiliate links
If you click on a link and make a purchase, I may receive a commission at no extra cost to you.
Reset the Windows Account Lockout Counter in Windows via Local Security Policy
This method should be your preferred choice if the system is running the Pro, Enterprise, or Education edition of Windows 10 or 11.
- Press the Windows key + R to open the Run dialogue.
- In the text field, type “secpol.msc” and hit Enter.

- On the left pane, navigate to Account Lockout Policy under the Account Policies folder.

4. On the right pane, double-click on the Reset account lockout counter after option.
5. Choose a number between one and 99,999, and hit OK to change how long the system will require to automatically reset any failed logon attempts.

How to Change Account Lockout Counter Reset Time via Command Prompt
If the system you’re working with isn’t running the Pro, Enterprise, or Education edition of Windows 10 or 11, you’ll have to change how long before the account lockout counter is reset via the command prompt.
- Open command prompt as administrator, also called the elevated command prompt , or Windows PowerShell.
- Type the following command into the console and hit Enter:
net accounts
- This will pull up information on how long a user has to wait before their account lockout counter is reset. It will be under the heading Lockout observation window.
- To change the account lockout counter reset duration on Windows 10 and 11, type the following command into the console and hit Enter:
net accounts /lockoutwindow:60
- Replace the number “60” in the command with any other number from one to 99,999 to set how many minutes a user will have to wait before their failed logon attempts are reset.
A related setting, the account lock-out duration , must equal or exceed the time for the system to automatically reset the number of failed login attempts. If you want, you can change the account lock-out duration on Windows to something that suits you best.
You can also limit the number of failed logon attempts on Windows with a similar setting change.
Control How Long Before the Incorrect Logon Counter Is Reset
With this setting, you control how long before the counter that keeps track of incorrect logon attempts is reset. Use it in conjunction with the lockout duration option account policy to make things more convenient for local users.
Exceed this threshold and you will need this counter to be reset, which you can do by waiting a set amount of time. Here’s how to change the time you must wait in order for the counter to be automatically reset.
Also read:
- [New] In 2024, Video Editing Software Showdown Bandicam vs Camtasia
- [Updated] In 2024, Step-by-Step for Apple Podcast Integration
- A Deep Dive Into the Amazing Features of Dell's XPS 13 (7390): 2-In-1 Ultrabook Unveiled
- Eliminating Latency in Chromecast Audio Streams - A Step-by-Step Guide
- How to Create Funny Talking Avatars Using Oddcast Text to Speech
- Overcoming the Sign-In Snag: ONEDRIVE 0X8004DEC5 Fix Guide for Windows
- Timeliness Triumphant: Fixing Chrome's Time on Windows
- Troubleshooting Failed Package Registrations in Windows OS
- Ultimate List of Video Cutting Apps on Windows 11
- Updated FCPX Compression Crash Course From Basics to Advanced for 2024
- Windows Store Troubleshooting Tips for Error X800704CF
- Title: Optimizing Password Policy: Adjusting Lockout Counter Post-Failed Logins
- Author: David
- Created at : 2024-10-27 23:42:54
- Updated at : 2024-11-01 21:10:19
- Link: https://win11.techidaily.com/optimizing-password-policy-adjusting-lockout-counter-post-failed-logins/
- License: This work is licensed under CC BY-NC-SA 4.0.


