When someone attempts to log in to your Windows 11 PC with more than ten unsuccessful passwords, Windows will lock your account for security. Windows keep a record of unsuccessful login attempts until you reset it manually, or Windows does it automatically after 10 minutes.
The “Account lockout threshold” policy determines the number of failed sign-in attempts and then locks the user account. A locked account cannot be used until the administrator resets it manually or Windows resets it automatically after a set time. You can set a value from 1 to 999 failed sign-in attempts or specify that the account will never be locked by setting the value to 0. By default, this value is set to 10. If the “Account lockout threshold” is set to a number greater than 0, the “Account lockout duration” must be greater than or equal to the value of the “Reset account lockout counter after.”
How to Change Account Lockout Threshold in Windows 11 using Group Policy?
To change the account lockout threshold in Windows 11, use these steps:-
Step 1. Open Local Group Policy Editor.
Step 2. Then, browse or navigate to the following path in the left sidebar of the Local Group Policy Editor window:-
Computer Configuration > Windows Settings > Security Settings > Account Policies > Account Lockout Policy
Step 3. On the right side of the “Account Lockout Policy” folder, double-click on the policy name
Step 4. In the “Account lockout threshold Properties” dialog, switch to “Local Securing Setting.”
Step 5. Set a new number of invalid logon attempts before an account is locked.
Step 6. Click
Step 7. Click
How to Change Account Lockout Threshold in Windows 11 through Command Prompt?
To change the account lockout threshold in Windows 11 using Command Prompt, do these steps:-
Step 1. Open an elevated Command Prompt window.
Step 2. Then, type the following command and press the
Step 3. Next, type the following and press the
net accounts /lockoutthreshold:<number>
Note: Replace the
Once you complete the above steps, a new lockout threshold will be set for your user account on Windows 11 machine.