Lockdown Lab #8 CRITICAL Windows Server

Enforce account lockout policy

Enforce account lockout policy

Brute-force attacks against user accounts are not sophisticated, but they are incredibly effective. If your Windows Servers aren’t locking accounts, you’re essentially providing an infinite guessing game for every password in your domain.

This is a fundamental control, yet I still see environments where it’s misconfigured or missing entirely. Five failed attempts, 30-minute lockout – that’s the sweet spot. It’s enough to deter automated attacks without locking out legitimate users due to a few typos.

It’s simple to implement and massively reduces your attack surface. Go configure this now:

net accounts /lockoutthreshold:5 net accounts /lockoutduration:30 net accounts /lockoutwindow:30

Don’t leave the front door wide open when a simple lock will do.

The fix

# PowerShell (GPO or local policy)

net accounts /lockoutthreshold:5

net accounts /lockoutduration:30

net accounts /lockoutwindow:30

Reference: CIS Windows Server Benchmark 1.2

Mark this as done

Open the interactive hardening checklist and tick this off in your environment.

Open interactive checklist →

Related Posts

Configure WSUS or Windows Update for Business

You know what's worse than a known vulnerability? A known vulnerability with a patch available that you haven't applied. This isn't just theory; it's the...

lockdown-labhardeningwindowspatching
/Shimi Cohen

Disable unnecessary Windows features

Every unnecessary feature on your Windows Server is a potential attack surface. It’s a basic hardening principle, yet I still find environments riddled with dormant...

lockdown-labhardeningwindowsservices
/Shimi Cohen

Disable unnecessary Windows features

Every unnecessary feature on your Windows Server is a potential attack surface. Period. You wouldn't leave an unlocked window open on your house, so why...

lockdown-labhardeningwindowsservices
/Shimi Cohen