The Account lockout threshold policy setting is one way you can prevent unauthorized access to your computer system. An attack like a brute-force attack can be prevented when an automated login system is set up to try several combinations of login credentials. But we also have some bad vectors out there who would like to cause a denial of service on a domain that has an account lockout threshold setup whereby hitting the domain with several combinations of login credentials and making logging into the domain impossible for users. If you want to read more on Account read these Local Administrators Account lockout is now available, How to Change User Account Type in Windows 10, How to set an account expiration date in Active Directory, Windows sign-in options, and account protection on Windows 11.
When the number of attempts set on the policy is exhausted the account will be locked and it’s only an Administrator that can unlock it or you will wait for the specified number of minutes to expire and you can try to log in again. The amount of value you can set for the sign-in attempts is between 1-999.
Follow the steps below on how to change the account lockout threshold
1. Run this command secpol.msc to open the Local Security Policy.
2. Navigate to Account Policies > Account Lockout Policy in the left pane of Local Security Policy.
3. In the right pane of Account Lockout Policy, double-click on the Account lockout threshold policy and type in a number between 0 and 999. The number entered will be the number of sign-in attempts allowed before the account will be locked out. Click Ok.
4. Once you click Ok. You can decide to change the Account lockout duration, Reset account lockout counter after and Allow Administrator account lockout.
5. Now go ahead to try with wrong password three times
6. Once the Sign-in attempts are exhausted then the system will be locked and you will see the below message.
7. Using command to change the Account lockout Threshold open the command prompt as Administrator and run this command:
net accounts this display your current Account Policies settings
Enter the below command and input the Number.
Below is a YouTube video showing how to change the Local Administrator lockout threshold.
I hope you found this blog post on how to Change the Account Lockout Threshold for Local Accounts in Windows 10 and Windows 11 Interesting and helpful. In case you have any questions do not hesitate to ask in the comment section.