Use this topic when domain join, logon, directory lookup, account changes, group membership, secure channel or AD-dependent applications fail and the failing subsystem is not yet known.
AD DS Troubleshooting
AD DS troubleshooting narrows a "domain problem" to its real cause, which is usually DNS, time, the wrong domain controller or site, replication, account state, Kerberos or permissions. Start with dcdiag and repadmin /replsummary.
1. dcdiag /e /q.
2. repadmin /replsummary.
3. DNS: DC registration (dcdiag /test:dns).
4. Time sync and secure channel.
5. Events: Directory Service, DFS Replication, System.
DNS → DC services → replication → authentication
Collect boundary-native evidence, make one minimal reversible change and rerun the same client-visible test.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
Avoid “fixes” that change many variables at once: deleting/recreating accounts, rejoining machines, restarting multiple DC services or forcing replication without understanding the failure can create secondary problems and destroy evidence.
Operational checks for AD DS Troubleshooting — Common traps: Anchor the same user/computer principal, logon session, ticket/token and target SPN/resource across the authentication path.
Operational reference
Fast context before you go deeper.
dcdiagPrimary Commands
Configuration and operational commands for this Topic.
dcdiagReferenceRun domain controller diagnostics.
Windows / Windows Server / PowerShell · mixeddcdiag /vReferenceOperational command for Run Active Directory domain-controller diagnostics. Focus fields: test name, pass/fail result, DC identity, replication/service/DNS findings.
Use when: Use when working the canonical Topic windows--active-directory-domain-services-ad-ds-troubleshooting and the matching failure boundary.
Quick note: Known-good: critical AD DS diagnostics pass for the intended domain controller. Suspicious: one or more named tests fail or DNS/replication/service findings identify a specific boundary. Next discriminating check: follow the first failing dcdiag test with the matching repadmin, DNS or service evidence.
Windows Server / AD DS · serviceGet-ADDomainController -DiscoverVerifyRead-only observation for domain-controller locator result and site/domain identity.
Use when: Use when troubleshooting the linked operational Windows boundary.
Quick note: Command ownership closure. Output remains live/runtime evidence and is never pre-populated as captured production state.
Windows / PowerShell · control planeVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
Reproduce the exact operation, show each dependency until the first failing step, make one reversible change, then repeat the same operation and verify no regression on another relevant client/DC.
Step 2 Verify AD DS with DC identity, replication state and the original client operation Verify boundary
Verify AD DS by capturing the client-selected domain controller, successful bind identity and the target object GUID or DN. Read the changed attribute from the originating DC, then from a replication partner and expect the same value and healthy replication metadata after normal convergence. Confirm DNS locator records resolve to intended DCs and repeat the original logon, group-access or directory query using a fresh session when token caching applies. A successful LDAP query shows one directory endpoint responded, but it does not show replication, SYSVOL delivery or effective client authorization.
Step 3 Branch AD DS troubleshooting at discovery, bind, write, replication and consumption Narrow the fault
If a client cannot locate AD DS, first verify DNS SRV answers and the DC selected by the locator; if discovery is correct but bind/authentication fails, inspect time, secure channel, Kerberos/NTLM and the exact principal. If an LDAP or PowerShell write succeeds on one DC but another DC returns the old value, inspect replication metadata and partner failures before repeating the write. If replication is healthy but policy or group access remains wrong, branch to token refresh, SYSVOL/GPO delivery or application authorization. Capture the first divergent observation rather than treating every directory symptom as database corruption.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- DNS is a foundational AD DS dependency, but successful name resolution alone does not prove AD DS health.
- Wrong site/DC selection can mimic replication or performance problems.
- A directory object can be correct while authentication or authorization still fails.
- If DCs disagree, preserve both observations and move to replication diagnostics.
Get-ADDomain— domain details and FSMO holdersGet-ADDomainController -Filter * | Select HostName,Site,IsGlobalCatalog— DCsdcdiag /v /e /q— DC health tests (errors only with /q)repadmin /replsummary— replication summarynltest /dsgetdc:<domain>— DC locator
ReferenceWhat it is1 section · depth on demand
Core model
A good AD DS investigation starts with the client-visible operation and walks dependencies in order. This prevents broad resets such as password changes, rejoin, metadata cleanup or DC reboot from obscuring the actual cause.
ReferenceWhy it matters1 section · depth on demand
AD DS failures cross locator, replication, authentication and directory-state boundaries
AD DS troubleshooting starts by separating directory object state from the client path used to discover and consume that state. A domain controller can answer LDAP while DNS SRV registration, Netlogon secure-channel state, Kerberos time, SYSVOL/DFSR replication or inter-DC replication is unhealthy. The writable owner of an attribute and the DC queried by a client may differ, so stale reads can look like failed writes. Record the client, selected DC, naming context, object GUID/SID and replication partner before changing AD DS configuration; otherwise a retry can hide which boundary actually failed.
ReferenceImportant terms & boundaries3 sections · depth on demand
What the evidence shows
Capture both healthy and failing evidence with timestamps and endpoint identity. Always name the DC queried. If behavior changes by DC, that is strong evidence to inspect replication/topology rather than repeatedly editing the object.
Operational checks for AD DS Troubleshooting — Evidence boundary: Anchor the same user/computer principal, logon session, ticket/token and target SPN/resource across the authentication path.
In depth
Run dcdiag with output you can act on
C:\> dcdiag /s:dc01 /v /c /e /q
C:\> dcdiag /test:dns /v /s:dc01
C:\> dcdiag /test:advertising /s:dc02
| Switch | Effect |
|---|---|
/s:<dc> | Target DC |
/e | All DCs in the enterprise |
/c | Comprehensive (most tests) |
/q | Errors only |
/v | Verbose (detail for failures) |
/test:<name> | Single test |
dcdiag diagnoses domain controller health; combine /e /q for a forest-wide error list, then drill into one DC with /v.
Test → what a failure means
| Test | Failure usually means |
|---|---|
| Connectivity | DNS registration of the DC or network/RPC reachability |
| Advertising | DC not offering services (Netlogon stopped, SYSVOL not shared yet) |
| Replications / KccEvent | AD replication errors — continue with repadmin /showrepl |
| NetLogons / SysVolCheck | SYSVOL/NETLOGON not shared; DFSR SYSVOL replication problem |
| FsmoCheck / KnowsOfRoleHolders | FSMO holder unreachable or seized role leftovers |
| DNS (basic, forwarders, delegations, dynamic update, records) | DC DNS configuration; missing SRV records |
| Services | Required services stopped (DNS, KDC, Netlogon, NTDS, DFSR) |
| SystemLog | Recent errors in the System log — read them |
Supporting checks
nltest /dsgetdc:corp.example.com /force
nltest /sc_verify:corp.example.com # secure channel from a member
netdom query fsmo
repadmin /replsummary
Get-SmbShare -Name SYSVOL,NETLOGON -CimSession dc01
Typical root causes
| Root cause | Effects |
|---|---|
| DC uses public DNS or only itself | Connectivity, replication and DNS test failures |
| Time not synchronised from the PDC hierarchy | Kerberos failures, replication errors |
| SYSVOL still on FRS or DFSR stopped | NetLogons/SysVolCheck failures, GPOs inconsistent |
| Old DC removed without metadata cleanup | KnowsOfRoleHolders, replication errors to a non-existent DC |
Fix DNS and time first — most other test failures follow from them.
*The dcdiag and secure-channel commands demonstrate diagnostic checks; no domain-controller test report is supplied.*
Method
AD DS troubleshooting follows the dependency chain: DNS, network connectivity, time, replication, then the specific service (authentication, LDAP, Group Policy).
1. DNS: clients and DCs must use AD-integrated DNS servers; check SRV records.
2. Connectivity: required ports (88, 135, 389, 445, 464, 636, 3268, dynamic RPC) between clients and DCs.
3. Time: within 5 minutes of the DC (Kerberos).
4. DC health: dcdiag tests.
5. Replication: repadmin summary.
6. Service logs: Directory Service, DNS Server, System logs.
dcdiag /v /c /e /q
repadmin /replsummary
nltest /dsgetdc:corp.example.com
Resolve-DnsName -Type SRV _ldap._tcp.dc._msdcs.corp.example.com
w32tm /query /status
Get-WinEvent -LogName 'Directory Service' -MaxEvents 30 | Where-Object Level -le 3
Most "AD is broken" incidents turn out to be DNS: a DC or client pointing to an external DNS server cannot find domain services.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Active Directory Domain Services → AD DS Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/ · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Active Directory Domain Services → AD DS Troubleshooting reference map
Fast lookup boundaries for Active Directory Domain Services → AD DS Troubleshooting.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Locator | DNS/site/DC selection | not directory state |
| Directory | Object/account state | not auth/token |
| Authentication | Credential/protocol result | not resource authorization |
| Replication | Cross-DC consistency | not application health |