Someone who is trying to use more than a few unsuccessful passwords while attempting to log on to your Windows 11 PC might be a malicious user trying to determine an account password by trial and error. Windows domain controllers keep track of login attempts, and domain controllers can configure to respond to this type of potential attack by disabling the account for a preset period. Account Lockout Policy settings control the threshold for this response and the actions to be taken after the threshold is complete.
The Account lockout threshold policy settings determine the number of failed sign-in attempts that will cause a user account to be locked. It cannot use a locked account until you reset 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 on Windows 11 using Group Policy?
Do these steps to change the account lockout threshold on Windows 11:-
Step 1. Open Local Group Policy Editor.
Step 2. Browse 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. Double-click on the policy name
Step 4. Switch to “Local Securing Setting” in the “Account lockout threshold Properties” dialog.
Step 5. Set a new number of
Step 6. Press
Step 7. Click on the
How to Change Account Lockout Threshold on Windows 11 through Command Prompt?
Do these steps to change the account lockout threshold on Windows 11 using Command Prompt:-
Step 1. Open an elevated Command Prompt window.
Step 2. Browse the following command and hit the
net accounts
Step 3. Again, type the following and hit the
net accounts /lockoutthreshold:<number>
Note: Replace the <number> in the above command line with a number between 0 and 999 for how many invalid login attempts you want until locked out after.
After complete the above steps, a new lockout threshold will be set for your user account on Windows 11 machine.
Thank you, friends.
Keep in touch.