Technical Anshu
Tutorials Blog
🔐 Policy Settings

Account Lockout Policy Settings Threshold Duration and Reset Counter Explained

Set the threshold to 3 and your helpdesk drowns in unlock tickets. Set it to 50 and you have barely slowed down a password-guessing attack. The three lockout values are a balance — here is how to choose them with your eyes open.

✍️ Technical Anshu🪟 Windows 10 / 11 / Server⏱️ 9 minute read
🎥 Watch the full video — Windows account lockout policy and all 3 recovery methods, demonstrated step by step

Every lockout policy is three numbers, and every number is a trade-off between security and people being able to work. There is no magic setting — there is only the right setting for your environment, chosen deliberately. This page explains what each value does in plain language, the arithmetic attackers face, the honest downside of strict settings (including the one nobody mentions: lockout as a weapon), and the values most offices end up happy with. It also covers Microsoft's modern position, which has shifted over the years from very low thresholds towards sensible ones paired with strong passwords.

Local Security Policy — Account Policies, Account Lockout Policy
Account lockout duration 30 minutes Account lockout threshold 10 invalid logon attempts Reset account lockout counter after 30 minutes
👆 The three values as they appear in the policy console (window recreated with the real entries; the values shown are a balanced example)
1

Threshold — How Many Mistakes Before the Door Closes

The threshold counts failed logons. Windows default is 0 — lockout disabled — which is why a home PC never locks anyone out until an admin turns the policy on. Raising it from 0 activates the other two settings.

  1. Too low (2–3): a user with Caps Lock on, a sticky key, or a phone retrying an old mail password locks the account before their second coffee. Helpdesk load explodes, and users start writing passwords on sticky notes — the strict policy has reduced real security.
  2. Sane range (5–10): far beyond honest typing mistakes, still tiny against an online guessing attack, which needs thousands to millions of attempts against any decent password.
  3. Too high (50+): you have given an attacker 50 free guesses per window, forever. At that point the policy is decoration.

Modern reality check: because lockout only throttles online guessing, its job is to make guessing hopeless, not to be the only wall. A 10-attempt threshold plus a long password plus multi-factor authentication beats a 3-attempt threshold plus a weak password every day of the week.

2

Duration — How Long the Account Stays Locked

The duration is the penalty box timer. When it expires, the account unlocks itself and the counter resets. Practical thinking:

  1. 15–30 minutes is the office sweet spot: long enough to break an automated guessing run into uselessness, short enough that a genuine user waits it out instead of raising a ticket.
  2. Duration 0 means "locked until an admin unlocks it". It sounds maximally secure and is sometimes required by compliance checklists — but be honest about the cost: every accidental lockout becomes an admin task, at 2 AM, on holidays, forever. Only choose 0 if a staffed admin desk truly exists.
  3. Remember the interaction with services: a phone or mapped drive still holding the old password can burn the threshold again the moment the duration ends — duration buys time to fix the cause, if you use it.
3

Reset Counter — The Window That Quietly Decides Everything

The third value — Reset account lockout counter after — is the observation window: how long failed attempts are remembered. 5 bad attempts inside the window trigger the lock at a threshold of 5; spread them wider than the window and the counter quietly forgives the early ones. Two rules govern it: the reset window can never exceed the lockout duration (Windows will adjust the values together if you try), and in practice most baselines simply set reset equal to duration — 30 and 30, for example — because the pairing is easy to reason about. A short reset window (say 5 minutes) with a threshold of 10 means an attacker can try 9 passwords every 5 minutes indefinitely without ever locking — roughly 2,600 guesses a day. Numbers interact; always judge the three values as one system, never alone.

4

Microsoft's Modern Stance — and the Denial-of-Service Problem

Two things every admin should know about how thinking has changed. First, Microsoft's own baselines and defaults have moved: very low thresholds are no longer the recommendation, and since the October 2022 cumulative updates, Windows ships with lockout effectively armed for the built-in Administrator — a default of 10 invalid attempts with an accompanying "Allow Administrator account lockout" policy — because internet-exposed machines were being brute-forced through the one account that historically could not lock. Second, the uncomfortable truth about lockout as a weapon: anyone who knows a username can deliberately lock that account, repeatedly, from anywhere the sign-in is reachable. A disgruntled insider or an external attacker can keep your entire office locked out all day with a trivial script. That is why lockout policy is a seatbelt, not the whole car: strong passwords, MFA, and — above all — not exposing sign-in screens (especially RDP) directly to the internet are what actually end brute-force attacks. Set the three numbers sanely, then go fix the exposure.

⚠️ A balanced starting point for most offices: threshold 10, duration 30 minutes, reset counter 30 minutes — then adjust for your reality. Whatever you choose, document why, keep two admin accounts, and never let duration 0 sneak in without a staffed unlock process behind it.

🎥 See the Lockout Recovery Methods in the Video

The complete lockout policy walkthrough and all 3 recovery methods, shown live on a real Windows system — this is the video this guide is based on.

▶️ Watch Full Video
❓ Frequently Asked Questions

What are the default account lockout settings in Windows?

On a fresh Windows install the threshold is 0, which means lockout is disabled. Since the October 2022 updates, new machines can lock even the built-in Administrator after 10 bad attempts by default. Any other values you see were set by an admin, a baseline, or a domain policy.

Why does Windows change my reset counter when I set the duration?

Because the reset window is not allowed to be longer than the lockout duration — otherwise the counter could forgive failures while the account is still locked, which makes no sense. Windows keeps the pair consistent and adjusts one when you change the other.

Is a lower threshold always more secure?

No. A threshold of 2 or 3 mainly locks out legitimate users, floods the helpdesk, and pushes people towards written-down passwords. Against online guessing, even 10 attempts per 30 minutes makes success hopeless for any reasonable password — especially with MFA in place.

This guide is based on the Technical Anshu Windows Account Lockout Policy video • Stuck on a step? Ask in the video comments — you will get a reply 🙏