Security: Block User Account After X Failed Logins – Great To Protect Shared PC’s

Suggested Value Changes 30 Minutes LockoutAlthough, we do not recommend setting a simple password as your Windows password, you can make it harder for users to get access even if you have a simple one: Block them after X failed logins. Handy!

Let’s say you are sharing your PC with other people, then you may not want them to access your account. If you have administrator access, you can use the security policy editor to lock out users that enter wrong passwords. This will be mostly useful to system administrators, but maybe someone of you wants to use it as well. Here’s how.

1. Step Enter gpedit.msc into the search bar and hit enter

2. Step Uncollapse Computer Configuration, Windows Settings, Security Settings, Account Policies, Account Lockout Policy as seen below:

Account Lockout Policy

3. Step Now, in the right pane simply double-click Account lockout threshold and set the value to X failed logins. If you want to block users after 1 login then enter 1, 2 then 2 and so on. I recommend to set this to 4 or so – if you forget your password you have at least a couple tries to get it right before being locked out for X minutes

Click Apply

4. Step Windows will now suggest some settings:

Suggested Value Changes 30 Minutes Lockout

It will sett the lockout duration to 30 minutes and the reset account lockout counter to after 30 minutes

4. Step If you are not happy with the suggested values, double-click on Account lockout duration and specify a number for the length of the lockout. Do not set this too high

That’s it, you can block user accounts that enter a wrong password. Great for admins or shared PC’s

5 of 5 0 (100%) 2 votes
- Cheers!

Written by:
Oliver is the founder and lead editor of this site. He is interested in finding new ways to break Windows, find common errors and help others to fix them. Aside from that, he loves to fully customize systems with Rainmeter and Dreamscene, find out more about ancient civilizations like the Chachapoya, sharpen his digital photography skills and create software with a small group of selected developers. If you would like to connect with him to discuss anything, send him a mail!

Learn More About.Me

Follow me on Twitter for daily updates:

Contact The Author:

Get Free Help

Connect With Our Site:



Need help? Ask a question at our QA site, click the red button to get started:
Want to support us? Great, simply buy your favorite games from G2A via our referral link ( and save money at the same time:

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current day month ye@r *