Skip to content

How to Change Account Lockout Threshold in Windows 11

Share This Post

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 your account if someone enters the wrong password or 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 set the value to ‘0’ to remove the account lockout threshold.

1. Change Account Lockout Threshold via Group Policy Editor

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

1. Click the Windows 11 search and type in Local Group Policy Editor.

Local Group Policy EditorLocal 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 pathnavigate 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 thresholdAccount Lockout threshold

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

Local Security SettingLocal 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

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 PromptCommand Prompt

2. On the Command Prompt, execute the command:

net accounts

execute the commandexecute the command

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

Lockout threshold valueLockout 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 commandenter 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.

How to Change Account Lockout Duration?

The Account lockout duration settings determine the minutes a locked-out account remains locked out before automatically becoming unlocked.

The account lockout duration is set to 30 minutes by default, but you can easily change it. Here’s how to change the account lockout duration in Windows 11.

1. Click on Windows 11 search and type in Local Group Policy. Open the Edit Group Policy app from the list.

Local Group Policy EditorLocal Group Policy Editor

2. When the Local Group Policy Editor opens, navigate to this path:

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

navigate to the following pathnavigate to the following path

3. On the right side, double-click on the Account lockout duration policy.

Account lockout durationAccount lockout duration

4. On the Local Security Settings, set the time (in minutes) for the account lockout and click the Apply button.

set the time (in minutes)set the time (in minutes)

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

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.

Share This Post

About Moridom Digital

Moridom Digital is your go-to resource for practical strategies on making money online, building passive income, and achieving financial freedom. Whether you’re starting a side hustle, growing a blog, or exploring new income streams, we’re here to help you succeed.

We Are Social

Recent Posts

Follow Us

Categories

💡 Empowering you to hustle by choice, not by necessity.