Active Directory · Part 12

Active Directory — Part 12 — Active Directory Health & Monitoring

Active Directory rarely fails loudly. It degrades — quietly, one unnoticed error at a time — until the symptoms surface somewhere far from the cause. This part covers the FSMO roles explained simply, what to check regularly, the early signs that AD is struggling, and the tools that do the checking.

Quick idea: AD health is a small, repeatable set of checks — replication, DNS, SYSVOL, time, backups, and the five FSMO roles — done regularly enough that you find the decay before your users do.
FSMO Roles

Five jobs that exactly one Domain Controller at a time performs for everyone.

dcdiag

The built-in health test suite for Domain Controllers.

Baseline

Knowing what healthy looks like, so unhealthy is recognisable early.

Introduction

Everything in this series so far has described a system designed to hide small failures. Replication routes around a dead DC (Part 7). The DC locator finds another Domain Controller when one stops answering (Part 8). Clients retry, caches cover gaps, and users notice nothing.

That resilience is a blessing with a sharp edge: Active Directory can run in a quietly broken state for months. So how do you know your AD is actually healthy, rather than merely not-yet-visibly-broken?

You check. Regularly, briefly, and with the same short list every time. This part is that list — but first, we need to pay a debt from Part 7 and meet the five roles that are the exception to everything we said about multi-master.

FSMO: The Five Exceptions to Multi-Master

Part 7 established that every Domain Controller is writable and equal. That is true for almost everything — but a few operations would break if two DCs could perform them simultaneously. For those, AD quietly falls back to single-master: exactly one DC holds each of five Flexible Single Master Operations roles.

Think of it like a committee that shares nearly all the work, but has appointed one member each as treasurer, secretary, and chair — jobs where two people acting at once would cause chaos rather than help.

Role Scope What It Does When It Is Offline
Schema Master Forest Approves changes to the schema — the object and attribute definitions from Part 7’s partition table. Nothing, until you try a schema update (e.g. preparing for Exchange or a new Windows Server version).
Domain Naming Master Forest Approves adding and removing domains in the forest. Nothing, until you add or remove a domain.
RID Master Domain Hands out pools of Relative IDs, the unique part of every new SID. Nothing at first — DCs hold RID reserves. Long outages eventually block object creation.
PDC Emulator Domain Final authority on passwords (Part 10), top of the time hierarchy, target for lockout processing and legacy operations. Noticed within hours: authentication oddities, lockout confusion, time drift.
Infrastructure Master Domain Maintains references to objects that live in other domains. Little in single-domain forests; stale cross-domain group listings in multi-domain ones.

The pattern in the last column is worth noticing: most FSMO roles can be offline for days without anyone caring. The PDC Emulator is the exception — it does visible work constantly, which is why its placement and health matter most, and why so many earlier parts of this series kept mentioning it.

Practical rule: Know where your roles live — netdom query fsmo answers in seconds. If a role holder dies permanently, roles can be seized onto another DC. Seizure is a last resort: the old holder must never come back online afterwards.

What to Check Regularly

A useful AD health routine is short enough that it actually happens. The daily set is five questions:

Check Question It Answers Command
Replication Are all DCs agreeing with each other? (Part 7) repadmin /replsummary
DC health Are the core services on every DC passing their own tests? dcdiag
DNS Can everything still find everything? (Part 8) dcdiag /test:dns
Time Is the time hierarchy intact? Kerberos depends on it (Part 5). w32tm /query /source
Backups When was the last system state backup of a DC? repadmin /showbackup

Weekly, add three more: SYSVOL replication — the DFS-R backlog check, since Part 7 showed GPO files travel separately from AD data; disk space on the volumes holding the AD database and logs; and a skim of the Directory Service event log for recurring warnings. Monthly, review privileged group membership (the Part 11 audit) and confirm the FSMO roles are where your documentation says they are.

Production note: The single most neglected item on this list is backups. A DC backup older than the tombstone lifetime from Part 7 is not a backup — it is a liability that must never be restored. If repadmin /showbackup surprises you, stop reading and fix that first.

Signs That AD Is Struggling

Because AD hides small failures, the early symptoms are behavioural, not alarms. The ones worth treating as smoke:

Logons that got slower for no stated reason — often DNS or site problems making clients authenticate across the WAN (Part 8). Group Policy applying inconsistently between offices — AD or SYSVOL replication lag (Parts 6 and 7). Authentication that fails intermittently and then works on retry — a struggling DC still in the DNS rotation. Account lockouts behaving strangely — replication or PDC Emulator trouble (Part 10). And recurring event-log entries that everyone has learned to ignore — the most reliable early-warning signal there is, precisely because it is the one most often silenced.

Key point: “It works when I retry” is not resilience — it is one failed component being covered by a healthy one. Retries are the system spending its redundancy. Investigate while the redundancy still exists.

The Tools

Built into every DC: dcdiag runs the full test suite — connectivity, advertising, replication, services, and with /test:dns the DNS chain. repadmin owns replication diagnostics, as covered in depth in Part 7. The Active Directory module for PowerShell turns all of it into scriptable, schedulable checks. And the event logs — Directory Service, DNS Server, DFS Replication, and Security — are where the detail lives once a summary check turns red.

Beyond the built-ins, the sensible progression is automation first, products second: a scheduled script that runs the daily checks and emails a red/green summary catches most decay for free. Dedicated monitoring platforms add trending and alerting when the environment justifies them.

Related: The ADOPSKIT post covers a scripted, repeatable approach to exactly this kind of operational checking.

Scripts / Commands

Use the commands below as the working health check. All are read-only.

# Where are the five FSMO roles?
netdom query fsmo

# The same, via PowerShell
Get-ADForest | Select-Object SchemaMaster, DomainNamingMaster
Get-ADDomain | Select-Object PDCEmulator, RIDMaster, InfrastructureMaster

# Replication health across the forest (Part 7)
repadmin /replsummary

# Full DC health test - run per DC, or /e for every DC (verbose)
dcdiag
dcdiag /e /q

# DNS-specific tests (Part 8)
dcdiag /test:dns

# Time source check - should be a DC, or the external source on the PDC Emulator
w32tm /query /source
w32tm /query /status

# Last system state backup per partition
repadmin /showbackup

# SYSVOL replication backlog between two DCs
dfsrdiag backlog /rgname:"Domain System Volume" /rfname:"SYSVOL Share" `
    /smem:DC1 /rmem:DC2

# Are all critical AD services running on every DC?
Get-ADDomainController -Filter * | ForEach-Object {
    Get-Service -ComputerName $_.HostName -Name NTDS, DNS, Netlogon, KDC, DFSR |
        Select-Object MachineName, Name, Status
}

# Recent errors and warnings from the Directory Service log
Get-WinEvent -FilterHashtable @{
    LogName = 'Directory Service'; Level = 2, 3
} -MaxEvents 25 | Select-Object TimeCreated, Id, Message
Healthy output: dcdiag /e /q is the quiet one — it prints only failures, so no output is good news. Pair it with repadmin /replsummary showing zero fails and repadmin /showbackup showing a recent date, and you have a defensible “AD is healthy” in three commands.

Warning Signs Cheat Sheet

Symptom Likely Cause Where to Look
Logons suddenly slower at one office Clients authenticating to a remote DC — DNS or site/subnet gaps. nltest /dsgetdc: from a client there; Part 8’s checks.
GPO changes reach some DCs only SYSVOL (DFS-R) lag or failure, independent of AD replication. dfsrdiag backlog; DFS Replication event log.
Cannot create users; RID errors in logs RID Master long offline and local RID pools exhausted. netdom query fsmo; recover or seize the role.
Password changes take hours to work everywhere Replication lag, or PDC Emulator unreachable for the fallback check. repadmin /replsummary; PDC Emulator health.
Kerberos clock-skew errors appearing Time hierarchy broken — often after PDC Emulator moves or virtualisation changes. w32tm /query /source up the chain, per Part 5’s time rules.
dcdiag advertising test fails on one DC DC up but not offering services — DNS registration or service failure. Netlogon and NTDS services; SRV records for that DC.
Event 2042 / replication blocked A DC exceeded tombstone lifetime without replicating. Part 7’s lingering-objects guidance — do not force replication.

Quick Reference Summary

Term Meaning
FSMO Five single-master roles in an otherwise multi-master directory.
Schema / Domain Naming Master Forest-wide roles for schema changes and domain add/remove.
RID Master Allocates the pools that make every new SID unique.
PDC Emulator Password authority, time source, lockout centre — the busy role.
Infrastructure Master Keeps cross-domain object references current.
Role seizure Forcibly moving a FSMO role off a dead DC — one-way operation.
dcdiag Built-in DC health test suite; /e /q for a quiet forest sweep.
System state backup The AD-aware backup a DC restore must come from (Part 7).
DFS-R backlog Queue of SYSVOL changes not yet replicated to a partner.

Final Thoughts

Monitoring Active Directory is not a product decision; it is a habit decision. The failure pattern in real environments is nearly always the same: the information was sitting in repadmin output or an event log for weeks, and nobody was looking.

The counter-habit is deliberately small. Three commands daily, three checks weekly, two reviews monthly — none of it takes ten minutes, and together it converts AD failures from surprises into scheduled maintenance. Boring on purpose, like the best infrastructure.

Key takeaway: Run dcdiag /e /q and repadmin /replsummary today. Silence from the first and zero fails from the second means your directory is genuinely healthy — anything else just told you exactly where to spend your next hour.
Next in this series

Active Directory — Part 13 — Active Directory & the Cloud. How traditional AD relates to Microsoft Entra ID (formerly Azure AD), what hybrid really means, what changed, what stayed the same, and where identity is heading.