In most ransomware attacks on Windows networks, the attacker’s goal is the same: become a Domain Admin. Once they control Active Directory, they can push ransomware to every machine at once.
This checklist covers 20 practical checks for small and medium businesses, grouped by area, with PowerShell commands to see where you stand. Run them from a management workstation with the Active Directory module installed.
Privileged accounts
1. Keep Domain Admins small
Get-ADGroupMember "Domain Admins" -Recursive | Select-Object Name, SamAccountName
Aim for two or three people, using dedicated admin accounts. Check Enterprise Admins, Schema Admins and Administrators too.
2. Use separate admin accounts
Admins should never read email or browse the web with an account that has domain admin rights.
3. Add admins to Protected Users
The Protected Users group blocks NTLM, weak Kerberos encryption and credential caching for its members. Test first, as some older apps break.
4. Find accounts with “password never expires”
Get-ADUser -Filter {PasswordNeverExpires -eq $true -and Enabled -eq $true} | Select-Object Name
Service accounts often have this set. Replace them with group managed service accounts (gMSA) where possible.
5. Look for Kerberoastable service accounts
Accounts with a service principal name (SPN) can have their passwords cracked offline:
Get-ADUser -Filter {ServicePrincipalName -like "*"} -Properties ServicePrincipalName | Select-Object Name, ServicePrincipalName
Give them long (25+ character) passwords, or move them to gMSAs.
Stale and risky accounts
6. Disable stale users
Search-ADAccount -AccountInactive -TimeSpan 90.00:00:00 -UsersOnly | Where-Object Enabled
7. Clean up stale computers
Search-ADAccount -AccountInactive -TimeSpan 90.00:00:00 -ComputersOnly
Disable first, delete later.
8. Check for accounts that don’t need Kerberos pre-authentication
Get-ADUser -Filter {DoesNotRequirePreAuth -eq $true}
These can be attacked with AS-REP roasting. There’s rarely a good reason for this setting.
9. Review accounts with SID history and admin count
Old migrations sometimes leave accounts with hidden privileges (adminCount=1, SID history). Review and clean them up.
Passwords and authentication
10. Strong password policy
Use a minimum length of 14 or more characters and a banned-password list (Entra Password Protection works on-premises too). Long passphrases beat complex short passwords.
11. Deploy Windows LAPS
Unique local admin passwords on every server and PC stop attackers moving from one machine to the next. See our Windows LAPS setup guide.
12. Reduce NTLM
Audit NTLM use, then restrict it. Disable NTLMv1 entirely.
13. Require LDAP signing and channel binding
Prevents relay attacks against domain controllers.
14. Reset the KRBTGT password
If it’s never been reset (or after an incident), reset it twice, with time between resets for replication, using Microsoft’s documented script.
Domain controllers
15. Domain controllers do nothing else
No file shares, no browsing, no extra software. Patch them monthly. See our Windows Server 2025 hardening checklist.
16. Keep the print spooler off on DCs
Get-Service Spooler -ComputerName DC01
Stop and disable it unless the DC is genuinely a print server (it shouldn’t be).
17. Back up AD and test restores
Keep system state backups of at least one DC, offline or immutable, and test an authoritative restore in a lab.
Monitoring
18. Alert on privileged group changes
Turn on advanced auditing and alert when someone is added to Domain Admins, Enterprise Admins or other admin groups.
19. Watch for brute force and lockouts
Repeated lockouts can mean password spraying. See account keeps locking out.
20. Run a free assessment tool
Tools such as PingCastle and Purple Knight score your AD security in minutes and list concrete fixes. Run one now and every quarter.
Checklist summary
| Area | Checks |
|---|---|
| Privileged accounts | Small Domain Admins, separate admin accounts, Protected Users, no “never expires”, Kerberoastable accounts |
| Stale accounts | Disable inactive users and computers, no pre-auth exceptions, review adminCount |
| Authentication | 14+ character passwords, LAPS, NTLM reduced, LDAP signing, KRBTGT reset |
| Domain controllers | Dedicated, patched, spooler off, backed up |
| Monitoring | Group change alerts, lockout monitoring, quarterly assessment |
Active Directory security isn’t a one-off project. Run these checks quarterly, and fix the highest-risk findings first: privileged groups, LAPS and stale admin accounts.

