How to limit the number of failed login attempts on Windows 10

Limiting the number of incorrect password login attempts in Windows 10 helps increase computer security. Here's how to limit the number of failed login attempts on Windows 10 .

How to limit the number of failed login attempts on Windows 10

Why should you set a limit on the number of failed computer login attempts?

If someone wants to access your computer, they can guess the device login password. This is really a threat to your data security "fence", especially when they break the password. To protect yourself against this threat, you can limit the number of times you log in with the wrong password to your PC. You can configure this setting via Local Group Policy Editor or Control Panel.

Limit the number of failed PC logon attempts via Local Group Policy Editor

If your PC runs Windows 10 Home Edition, first you need to learn how to access Group Policy Editor in Windows Home. On the other hand, for all Windows 10 versions, here's how to limit the number of incorrect PC login password attempts using Local Group Policy Editor:

  1. Press Windows + R key , type gpedit.msc > Enter to open Local Group Policy Editor .
  2. In the left navigation panel, go to Computer Configuration > Windows Settings > Security Settings > Account Policies > Account Lockout Policy .
  3. Click the Account Lockout Policy key . You will see the following 3 settings in the right-hand panel: Account lockout duration , Account lockout threshold and Reset account lockout counter after .

How to limit the number of failed login attempts on Windows 10

Setting the Account lockout threshold policy allows you to limit the number of failed computer logon attempts. That person will not have access to the locked account until you reset it or the account lock period expires.

To configure Account lockout threshold , you need to set a value from 1-999. This number will determine the number of incorrect password attempts allowed on the PC before locking the account. Setting the value to 0 will not lock the account no matter how many times someone enters the wrong PC login password.

  1. To configure this setting, double-click the Account lockout threshold policy setting .
  2. Select the desired account lock out level value in Account will lock out after .
  3. Click Apply > OK .

How to limit the number of failed login attempts on Windows 10

The Reset account lockout counter after policy setting helps you decide the number of minutes that pass before locking your account. However, you need to determine the threshold or number of failed login attempts to be locked first.

For example, you can set Account lockout threshold to 5 and Reset account lockout counter after to 5 minutes. Thus, the user has 5 attempts to log in with the wrong password within 5 minutes before the account is locked. You can choose between 1 and 99,999 minutes when configuring the Reset account lockout counter after policy setting .

  1. To configure this setting, double-click Reset account lockout counter after .
  2. Select the desired account lockout timer value at Reset account lockout counter after .
  3. Click Apply > OK .

How to limit the number of failed login attempts on Windows 10

The Account lockout duration policy setting determines how long an account lockout remains before it is automatically unlocked. Similar to Reset account lockout counter , this setting requires you to select the Account lockout threshold value first.

For example, you can set Account lockout threshold to 5 and Account lockout duration to 5 minutes.

If someone enters the wrong password 5 times, your account will be locked for 5 minutes before it is automatically unlocked by the system. Depending on how long you want to lock your account, you can choose a value from 1 to 99,999 minutes. Additionally, you can select 0 if you want to lock your account until you unlock it yourself.

  1. To configure this setting, double-click Account lockout duration .
  2. Select the desired lock time in Account is locked out for .
  3. Click Apply > OK .

How to limit the number of failed login attempts on Windows 10

Once completed, close Local Group Policy Editor and restart your PC to save the changes.

Limit the number of failed login attempts via Command Prompt

Open Command Prompt as follows:

  1. Press Windows key + R and type CMD .
  2. Click Ctrl + Shift + Enter to open an advanced Command Prompt .

To configure Account lockout threshold , enter the following command into Command Prompt:

net accounts /lockoutthreshold:5

How to limit the number of failed login attempts on Windows 10

You can replace the value 5 in Command Prompt with any value from 1 to 999. This number will determine the number of failed PC login attempts allowed.

The account will automatically be locked if the user enters the wrong password and the number of times exceeds the allowed threshold. Alternatively, you can select 0 if you do not want to set an account lockout limit. Click Enter after selecting the value.

To configure Reset account lockout counter , type the following command into Command Prompt:

net accounts /lockoutwindow:5

How to limit the number of failed login attempts on Windows 10

You can replace the value 5 with another number (from 1 to 99,999). This will determine the number of minutes before account lockout. Click Enter after selecting the value.

To configure Account lockout duration , enter the following command into Command Prompt:

net accounts /lockoutduration:5

How to limit the number of failed login attempts on Windows 10

You can also replace 5 with another number, corresponding to the time the account is locked before being automatically reopened. If you select 0 , the account will only open when you manually unlock it. Click Enter after selecting a value.

Once completed, close Command Prompt and restart your PC to save changes.

Above is how to limit the number of times you log in with an incorrect password to your PC to increase computer security. Hope the article is useful to you.

Sign up and earn $1000 a day ⋙

Leave a Comment

How to Open Internet Options in Windows 11

How to Open Internet Options in Windows 11

Windows 11 gives you a variety of options to customize your browsing experience through Internet Options.

Latest instructions for using Capcut on computers

Latest instructions for using Capcut on computers

Capcut has released an English version of Capcut on computers for users to use easily, replacing the previous Chinese version, or you have to use emulator software to install Capcut on your computer.

6 ways to reset Windows computer to its original state

6 ways to reset Windows computer to its original state

Resetting your Windows computer is the quickest and easiest way to get Windows back to its original normal state. Even if Windows is currently running very slowly and infected with viruses. This method will completely make Windows "clean" and give optimal performance again. This article will introduce you to 04 different ways to reset Windows on your computer, please refer to it.

How to turn off the application menu in the Windows 11 Taskbar

How to turn off the application menu in the Windows 11 Taskbar

From Windows 11 build 22635.4000, users have the ability to hover to display the application menu on the Taskbar. If you do not want to use this feature, please refer to the article below to turn it off.

How to Add Multiple Clocks to the Windows 11 Taskbar

How to Add Multiple Clocks to the Windows 11 Taskbar

You can quickly view multiple time zones right on the Windows 11 Taskbar. Here's how to add multiple time zones to the Windows 11 Taskbar.

7 Windows Recovery Options to Make System Recovery Easy

7 Windows Recovery Options to Make System Recovery Easy

While Windows computers are more reliable than ever, you should still make sure you have enabled and understand the built-in recovery options.

9 Windows Privacy Settings You Should Change Right Now

9 Windows Privacy Settings You Should Change Right Now

Windows computers collect all sorts of data about you. While this is meant to improve your experience, it can also raise privacy concerns.

How to fix Windows Security icon disappearing from Taskbar

How to fix Windows Security icon disappearing from Taskbar

If your computer is experiencing an error where the Windows Security icon disappears from the Taskbar, please refer to the article below.

How to View Uninstalled Programs on Windows 11

How to View Uninstalled Programs on Windows 11

Windows 11 has a feature to track uninstalled programs on your computer, via Event Viewer. Here is a guide to view uninstalled programs on Windows 11

Microsoft: TPM 2.0 in Windows 11 is mandatory and non-negotiable

Microsoft: TPM 2.0 in Windows 11 is mandatory and non-negotiable

More than three years ago, when Microsoft announced Windows 11, the operating system immediately caused a lot of controversy.

2 ways to create Windows 11 bootable USB using Mac

2 ways to create Windows 11 bootable USB using Mac

Creating a Windows 11 bootable USB on a Mac is definitely more difficult than on a Windows PC, but it's not impossible.

Should I update Windows 11 now?

Should I update Windows 11 now?

Windows 11 officially launched on October 5, 2021. Unlike previous major Windows 10 upgrades, Microsoft is not encouraging people to upgrade this time.

How to Turn Off Bitlocker on Windows 11

How to Turn Off Bitlocker on Windows 11

This article will show you how to disable BitLocker encryption on Windows 11. Keep in mind that disabling BitLocker on Windows 11 can make your device and data less secure, so be careful when making this decision.

How to fix Input Signal Out of Range error on Windows

How to fix Input Signal Out of Range error on Windows

When connecting an external monitor to your Windows PC, you may encounter an Input Signal Out of Range error. This error usually occurs if you have a high refresh rate monitor connected to a lower-end graphics device.

4 ways to pin windows on Windows screen

4 ways to pin windows on Windows screen

If you are wondering how to pin any window to always be on top of other windows (always on top), read this article right away!