What you need
A domain-joined computer with the RSAT Active Directory and DNS tools, Windows PowerShell 5.1 and a domain account. Every command below only reads; none of them changes the directory. Replace DC01 with the name of one of your domain controllers.
Eight read-only steps
Inventory your domain controllers
List every domain controller with its site, operating system and roles. Anything on Windows Server 2016 needs a plan before January 12, 2027; Windows Server 2012 R2 gets no more security fixes.
Get-ADDomainController -Filter * | Select-Object Name, Site, OperatingSystem, IsGlobalCatalog, IsReadOnly
Check replication
A summary of replication between domain controllers, then any failures the directory knows about.
repadmin /replsummary Get-ADReplicationFailure -Scope Domain -Target (Get-ADDomain).DNSRoot
Run the domain controller health tests
dcdiag in quiet mode prints only failed tests. Never add /fix during an audit: that changes things.
dcdiag /q
List who has full control
Every member of Domain Admins and Enterprise Admins, including nested groups, and the age of the krbtgt key password.
Get-ADGroupMember -Identity "Domain Admins" -Recursive | Select-Object Name, SamAccountName Get-ADGroupMember -Identity "Enterprise Admins" -Recursive | Select-Object Name, SamAccountName Get-ADUser krbtgt -Properties PasswordLastSet | Select-Object PasswordLastSet
Read the password policy
The default domain policy and any fine-grained policies. Compare the minimum length and lockout threshold with your security standard.
Get-ADDefaultDomainPasswordPolicy Get-ADFineGrainedPasswordPolicy -Filter *
Find stale and never-expiring accounts
Enabled users with no sign-in for 90 days, and enabled users whose password never expires.
Search-ADAccount -AccountInactive -TimeSpan 90.00:00:00 -UsersOnly | Where-Object Enabled | Select-Object Name, LastLogonDate Get-ADUser -Filter 'PasswordNeverExpires -eq $true -and Enabled -eq $true' | Select-Object Name
Find accounts exposed to offline password cracking
User accounts with a service principal name can be targeted by any domain user. Old passwords on these accounts are the priority.
Get-ADUser -LDAPFilter "(servicePrincipalName=*)" -Properties ServicePrincipalName, PasswordLastSet | Select-Object Name, PasswordLastSet
Check DNS zone update settings
Zones should accept secure dynamic updates only. Run it against a DNS server, usually a domain controller.
Get-DnsServerZone -ComputerName DC01 | Select-Object ZoneName, ZoneType, DynamicUpdate, IsDsIntegrated
Eight steps are a start, not an audit
What a full audit adds
Certificate templates, Group Policy permissions and stored passwords, AdminSDHolder, file share permissions on every server, Hyper-V, backups and remote access: 140 controls with evidence, scored and mapped to NIST CSF 2.0, ISO 27001 and CIS v8.
Open the full checklistHave it done for you
The audit collects all of it in one read-only run and turns it into five reports and a roadmap, for one fixed price.
See pricingWhat common results mean
The commands show facts. This is how those facts usually translate into risk for a small or mid-sized business.
| Result | What it means |
|---|---|
| More than a few Domain Admins | Each member is a full-control account an attacker can target. Most businesses need only two or three, used only for administration. |
| krbtgt password unchanged for years | Forged Kerberos tickets stay usable for longer. Microsoft’s guidance is to reset it twice, allowing replication in between. |
| Replication failures | Domain controllers disagree about accounts and policies, so a disabled account or a password change may not apply everywhere. |
| Short password length or no lockout | Password guessing becomes practical, especially against accounts that never sign in interactively. |
| Domain controllers on unsupported Windows Server | No more security fixes. Plan the upgrade before the support end date, not after. |
Page 18 of 18: How to audit Active Directory
- 1. Active Directory Security Audit (hub)
- 2. Active Directory health & design
- 3. Privileged access review
- 4. Accounts & password policy
- 5. Kerberos, delegation & certificates
- 6. Group Policy & delegation
- 7. Windows DNS security
- 8. Windows DHCP security
- 9. Domain controller hardening
- 10. Windows Server patching & hardening
- 11. File shares & permissions
- 12. Hyper-V & virtualization
- 13. Backup & recovery
- 14. Remote access & Entra Connect
- 15. Sample report
- 16. Active Directory security checklist
- 17. Pricing
- 18. How to audit Active Directory (this page)

Guided by Ali Hassani, CISO
Certified CISO (C|CISO) and CISSP with 25+ years in IT, cybersecurity, compliance and infrastructure, and dozens of Microsoft and Cisco certifications, including MCSE, MCITP, MCSA Security, CCNP and CCNA. Every Active Directory audit is read-only, evidence-based and written so an owner and an administrator can both act on it.
Questions about auditing Active Directory
Is it safe to run these commands on a production domain?
Yes. Every command in this guide only reads information. Avoid options such as dcdiag /fix, which make changes.
Do I need Domain Admin rights to run them?
No. Most of them work with an ordinary domain account, because Active Directory lets authenticated users read most directory information. That is also why an attacker with one stolen account can map a domain so quickly.
How often should Active Directory be audited?
At least once a year, and after major changes such as a merger, a new domain controller or a security incident.

Know how your domain would hold up, before an attacker tests it
Schedule a consultation. We scope the Active Directory and Windows Server audit in 30 minutes and quote one fixed price: $3,500, any organization size.
Read-only audit. No changes to your systems. Irvine, Orange County and Southern California on-site; remote nationwide.


