How to Set Account Lockout Threshold for Invalid Logon Attempts
InformationThe account lockout threshold security setting determines the number of invalid or failed logon attempts with a incorrect user name and/or password that causes a user account to be locked out in Windows 7 and Windows 8. A locked out account cannot be used until it is reset by an administrator or until the account lockout duration for the account has expired or the administrator manually unlocks the locked out user account.
The reset account lockout after security setting determines the number of minutes that must elapse after a invalid logon attempt before the invalid logon attempt counter is reset back to 0 invalid logon attempts.
By default, the account lockout threshold security setting is set to 0 failed logon attempts so that users accounts will never be locked out. This will show you how to set the account lockout threshold for how many failed logon attempts that you want before the user account is locked out.NoteFailed password attempts against workstations or member servers that have been locked using either CTRL+ALT+DELETE or password protected screen savers count as failed logon attempts.WarningYou will only be able to do this while logged in as an administrator.
EXAMPLE: Locked Out User Account
NOTE: This is the locked out message a user will get if they reach the account lockout threshold number of invalid logon attempts.
OPTION ONEThrough Local Security Policy
1. Open the Local Security Policy editor.
2. In the left pane, expand Account Policies, and click on Acount Lockout Policy. (see screenshot below)
3. In the right pane, double click on Account lockout threshold. (see screenshot above)
4. Type in a number between 0 and 999 for how many invalid logon attempts you want allowed before the user acount is locked out, then click on OK. (see screenshot below)
NOTE: Typing in the number 0 will disable account lockout so that users accounts will never be locked out for invalid logon attempts.
5. Click on OK. (see screenshots below)
NOTE: You will not see this window unless you are changing the number of invalid logon attempts from 0 or to 0 in step 4 above.
6. When done, close the Local Security Policy editor. (see screenshot below)
OPTION TWOThrough Elevated Command Prompt
1. Open an elevated command prompt in Windows 7 or Windows 8.That's it,
2. To See the Current "Account Lockout Threshold" Setting
A) In the elevated command prompt, type net accounts and press enter. (see screenshots below)3. In the command prompt, type the command below and press Enter.
NOTE: If the account lockout threshold is set to 0 invaild logon attempts, it will show as Never here instead. Anything higher than 0 will show as that number.
NOTE: Substitute (0-999) for a number between 0 and 999 invalid logon attempts you want allowed before the user acount is locked out. Typing in the number 0 will disable account lockout so that users accounts will never be locked out for invalid logon attempts.
4. Close the elevated command prompt.
Shawn
Related Tutorials
- How to Set Account Lockout Duration for Locked Out User Accounts
- How to Set the Reset Account Lockout Counter After Setting
- How to Unlock a Locked Out User Account in Windows 7 and Windows 8
- How to Create a Password for a User Account in Windows 7
- How to Change the Password for Your or Another User Account in Windows 7
- How to Create a Password for a Local User Account in Windows 8
- How to Change or Remove a Local Account Password in Windows 8
- How to Change or Reset Password of Your Microsoft Account in Windows 8
- How to Enable or Disable Secure Logon CTRL+ALT+DELETE in Windows 7
- How to Automatically Log On a User Account at Windows 7 Startup
- How to Make Windows 7 Require a User Name and Password at Log On
- How to Enable or Disable Password Expiration for a User in Windows 7
- How to Change the Maximum and Minimum Password Age in Windows 7
- How to Enable or Disable Windows 7 Password History Enforcement
- How to Change the Time to Warn a User to Change Password Before Expiration
- How to Set an Audit Policy for an Account Lockout