change the Account Lockout threshold in Windows 11

If you are using the Windows operating system, you may know that the operating system automatically locks your account after several incorrect login attempts. By default, Windows 11 locks the user account if anyone enters the wrong password/PIN 10 times in a row.

However, the good thing is that you can easily modify the account lockout threshold to increase or decrease the failed sign-in attempts. You can set a value ranging from 1 through 999 failed sign-in attempts or specify the value to ‘0’ to remove the account lockout threshold.

Also read: How to Enable Dynamic Lock in Windows 11

Best Ways to Change Account Lockout Threshold in Windows 11

So, if you are interested in changing the Account Lockout threshold in Windows 11, you are reading the right guide. Below, we have shared a step-by-step guide on changing the Account Lockout threshold in Windows 11. Let’s get started.

1) Change Account Lockout Threshold via Group Policy Editor

This method will use the Local Group Policy Editor to change the account lockout threshold. Here are some of the simple steps you need to follow.

1. First, click on the Windows 11 search and type in Local Group Policy Editor.

Local Group Policy Editor

2. On the Local Group Policy Editor, navigate to the following path:

Computer Configuration > Windows Settings > Security Settings > Account Policies > Account Lockout Policy

navigate to the following path

3. Now, select the Account Lockout policy on the left. On the right, double-click on the Account Lockout threshold.

Account Lockout threshold

4. On the Account Lockout threshold Properties, switch to the Local Security Setting tab.

Local Security Setting

5. On the Account will lock out after field, set the number of invalid logon attempts. Once done, click on the Apply button and then on Ok.

number of invalid logon attempts

That’s it! This is how you can change the Account Lockout threshold on Windows 11 computers.

2) Change Account Lockout Threshold via Command Prompt

This method will use the Command Prompt utility to change the Account Lockout threshold. Follow some of the simple steps we have shared below.

1. Click on the Windows 11 search and type in Command Prompt. Next, open the Command Prompt utility from the list of matching results.

Command Prompt

2. On the Command Prompt, execute the command:

net accounts

execute the command

3. This will list many details. You need to check the Lockout threshold value.

Lockout threshold value

4. To change the account lockout threshold, enter the following command and hit the Enter button.

net accounts /lockoutthreshold:<number>

enter the following command

Important: Make sure to replace the <number> with the number you want to set. You can set the number between 0 and 999. 0 means the account will never be locked.

That’s it! You can change the account lockout threshold in Windows 11 via Command Prompt.

Also read: How to Disable Login After Sleep in Windows 11

So, these are the best ways to change the account lockout threshold in Windows 11 computers. You shouldn’t change the Account Lockout Threshold for security reasons, but if you have personal reasons, you can change it by following these two methods. If you need more help modifying the account lockout threshold in Windows 11, let us know in the comments below.