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 ⋙

Advanced SystemCare 17 Free Review 2024 - Your Best PC Optimizer

Advanced SystemCare 17 Free Review 2024 - Your Best PC Optimizer

In an era where digital efficiency is paramount, Advanced SystemCare 17 Free emerges as a beacon for those seeking to enhance their PC's performance.

How to fix Outlook error 0x800CCC90 when receiving emails on Windows

How to fix Outlook error 0x800CCC90 when receiving emails on Windows

How to fix Outlook error 0x800CCC90 when receiving emails on Windows. When sending and receiving emails from Microsoft Outlook client, you may encounter error 0x800CCC90. Below is the original

Instructions for listening to music when folding the laptop on Windows 10

Instructions for listening to music when folding the laptop on Windows 10

Instructions for listening to music when folding the laptop on Windows 10. To help everyone easily follow the steps to listen to music after folding the laptop, today WebTech360

Summary of Movies & TV application shortcuts on Windows 10

Summary of Movies & TV application shortcuts on Windows 10

Summary of Movies & TV application shortcuts on Windows 10, Summary of Movies & TV application shortcuts on Windows 10 to bring you a great experience. Maybe

How to fix Messages Failed to Load error on Discord for Windows

How to fix Messages Failed to Load error on Discord for Windows

How to fix Messages Failed to Load error on Discord for Windows, Discord isn't fun if you can't read what other people write. Here's how to fix Messages error

How to display the This PC icon on the Windows 11 desktop

How to display the This PC icon on the Windows 11 desktop

How to display the This PC icon on the Windows 11 desktop, During the process of using Windows 11, many users need to access This PC (management).

Search tips and shortcuts on Windows 10

Search tips and shortcuts on Windows 10

Tips and search shortcuts on Windows 10, Search shortcuts in Windows 10 will help you operate and handle work faster. Below are all the search shortcuts

How to personalize the taskbar on Windows 11

How to personalize the taskbar on Windows 11

How to personalize the taskbar on Windows 11, Windows 11 gives you many new customization options, including personalizing the taskbar as you like. Join WebTech360

How to fix error 0xa00f4244 nocamerasareattached on Windows 10

How to fix error 0xa00f4244 nocamerasareattached on Windows 10

How to fix error 0xa00f4244 nocamerasareattached on Windows 10, 0xa00f4244 nocamerasareattached is one of the most common error messages on computers. Let's

How to find information in the Windows Registry quickly

How to find information in the Windows Registry quickly

How to find information in the Windows Registry quickly, Do you find it difficult to find information in the Windows Registry? So below are quick ways to find the registry

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

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

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

How to change mouse pointer color and size in Windows 10

How to change mouse pointer color and size in Windows 10

How to change mouse pointer color and size in Windows 10, Don't like the default mouse pointer size and color on Windows 10? Below are the ways to change

Instructions for recording videos and taking photos on Windows 11 without installing software

Instructions for recording videos and taking photos on Windows 11 without installing software

Instructions for recording videos and taking photos on Windows 11 without installing software. On laptops and PCs using Windows 11, users can record high-definition videos or take photos

How to create fake error messages in Windows

How to create fake error messages in Windows

How to create fake error messages in Windows, Windows can come up with some pretty creative error messages but why don't you try creating your own content for them to make fun of?

Ways to open Windows Tools in Windows 11

Ways to open Windows Tools in Windows 11

Ways to open Windows Tools in Windows 11, Windows Administrative Tools or Windows Tools are still useful on Windows 11. Here's how to find Windows Tools in Windows 11.

How to automatically transfer files between folders on Windows and Mac

How to automatically transfer files between folders on Windows and Mac

How to automatically move files between folders on Windows and Mac, Do you want to automatically move files from one folder to another on a Windows or Mac computer?

Windows 11: Everything you need to know

Windows 11: Everything you need to know

Windows 11: Everything you need to know, Windows 11 - Microsoft's next operating system has been leaked with a new interface, Start menu and many other improvements. Here it is

How to fix Windows Quick Assist not working error

How to fix Windows Quick Assist not working error

How to fix Windows Quick Assist not working error, Windows Quick Assist helps you connect to a remote PC easily. However, sometimes it also generates errors. But,

How to pin Word, Excel and PowerPoint files to the corresponding app icon on the Windows 11 taskbar

How to pin Word, Excel and PowerPoint files to the corresponding app icon on the Windows 11 taskbar

How to pin Word, Excel and PowerPoint files to the corresponding app icon on the Windows 11 taskbar, How to pin Office files to the taskbar icon on Windows 11? Invite

How to fix Bad System Config Info error on Windows 10

How to fix Bad System Config Info error on Windows 10

How to fix Bad System Config Info error on Windows 10, Bad System Config Info is a common Windows error code. Here's how to fix Bad System Config Info Win 10 error.