Pcornel
Browse topics
Options
Recent
Favorites
Identity · Technical reference

AD DS Troubleshooting

Direct answer

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.

When to use this

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.

First 30 seconds

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.

Operational verification

DNS → DC services → replication → authentication

Evidence · next step

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
Common mistakes
Common traps

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.

Platform / version applicability
Windows Server Active Directory and identity
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows Server Active Directory and identity · Windows / Windows Server / PowerShell · Windows Server / AD DS
Key commanddcdiag
Scope / prerequisiteUse this topic when domain join, logon, directory lookup, account changes, group membership, secure channel or AD-depen…
Verify · 1Reference · 2
What next?3 suggested next steps
Catalog command links3
Evidence1
On this pageJump to a specific section
Operational command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

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 references

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.

observation · 1
Key points
  • 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.
Key checks
  • Get-ADDomain — domain details and FSMO holders
  • Get-ADDomainController -Filter * | Select HostName,Site,IsGlobalCatalog — DCs
  • dcdiag /v /e /q — DC health tests (errors only with /q)
  • repadmin /replsummary — replication summary
  • nltest /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
SwitchEffect
/s:<dc>Target DC
/eAll DCs in the enterprise
/cComprehensive (most tests)
/qErrors only
/vVerbose (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

TestFailure usually means
ConnectivityDNS registration of the DC or network/RPC reachability
AdvertisingDC not offering services (Netlogon stopped, SYSVOL not shared yet)
Replications / KccEventAD replication errors — continue with repadmin /showrepl
NetLogons / SysVolCheckSYSVOL/NETLOGON not shared; DFSR SYSVOL replication problem
FsmoCheck / KnowsOfRoleHoldersFSMO holder unreachable or seized role leftovers
DNS (basic, forwarders, delegations, dynamic update, records)DC DNS configuration; missing SRV records
ServicesRequired services stopped (DNS, KDC, Netlogon, NTDS, DFSR)
SystemLogRecent 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 causeEffects
DC uses public DNS or only itselfConnectivity, replication and DNS test failures
Time not synchronised from the PDC hierarchyKerberos failures, replication errors
SYSVOL still on FRS or DFSR stoppedNetLogons/SysVolCheck failures, GPOs inconsistent
Old DC removed without metadata cleanupKnowsOfRoleHolders, 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.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

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.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows Server Active Directory and identity current

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%
Terminology layer

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.

Aliases that resolve here
ad troubleshootingactive directory troubleshootingdomain troubleshootingad ds health
Embedded reference data

Quick lookup tables

Active Directory Domain Services → AD DS Troubleshooting reference map

Fast lookup boundaries for Active Directory Domain Services → AD DS Troubleshooting.

BoundaryMeaningEvidence limit
LocatorDNS/site/DC selectionnot directory state
DirectoryObject/account statenot auth/token
AuthenticationCredential/protocol resultnot resource authorization
ReplicationCross-DC consistencynot application health
Confirmation

Confirm action

Continue?