Lock Windows Account after Failed Login Attempts

This is mostly used on network environment the fact you can lock out a user after so many failed logging attempts. This is basically created so no one other than you have access to the computer like the (janitor) for example, and possibly install an unwanted malware by mistake that could effect the entire infrastructure through a stand alone computer.

You can also apply the same type policy to your home computer if you PC is using a pro version of Windows 7 and higher.

1. Press the Windows key + R to open the run Window. Here enter “gpedit.msc” and hit enter.


2. Navigate to: Computer Configuration -> Windows Settings -> Security Settings -> Account Policies -> Account Lockout Policy and double click Account Lockout threshold.


3. Now set the number of invalid attempts before the lockout. Click apply. You’ll be prompted with additional Suggested values, here you can change the lockout time and more. If you leave it default the lock out will be for 30 Min.


4. After certain failed attempts you’ll get this message:


Depending on the settings, you’ll be able to log back in after 30 Min. in this case.


I started this tech blog back in 2011 as a place to write down processes I took to fix my client systems and network. Now I write some tips and tricks to help others with the tech issues that one might encounter.

You may also like...