Pcornel
Browse topics
Options
Recent
Favorites
Identity · Technical reference

Active Directory Domain Services

Direct answer

AD DS is a distributed directory service built around forests, domains, directory partitions, domain controllers and directory objects. It provides identity lookup and policy infrastructure, but its health depends on DNS, time, replication, authentication and network reachability.

When to use this

Use this topic to identify the correct AD DS boundary before diving into domains, forests, DCs, OUs, users, groups, sites, schema, Global Catalog, replication, FSMO, Group Policy or Kerberos.

First 30 seconds

1. dcdiag /e /q — failures?

2. repadmin /replsummary — errors?

3. DNS: DC SRV records (nltest /dsgetdc:<domain>).

4. Time in sync on DCs.

5. FSMO holders online: netdom query fsmo.

Operational verification

DNS locates DCs → authentication → replication between DCs → directory data

Evidence · next step

Repeat against another relevant DC/site or move to authentication, replication, Group Policy or application-specific evidence depending on the next boundary.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Do not treat domain membership, DC reachability, a successful LDAP bind, a visible object or a healthy service as end-to-end evidence. Each is a local checkpoint only.

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
Key commandnslookup -type=SRV _ldap._tcp.dc._msdcs.corp.example.com
Scope / prerequisiteUse this topic to identify the correct AD DS boundary before diving into domains, forests, DCs, OUs, users, groups, sit…
What next?3 suggested next steps
Child topics (this level)14
Evidence2
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

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

5 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

Start from a real client operation, identify the DC selected by locator, verify the required object on that DC, then independently verify authentication/authorization and replication state if the workflow crosses those boundaries.

Operational checks for Active Directory Domain Services — Verification path: Anchor the same user/computer principal, logon session, ticket/token and target SPN/resource across the authentication path. Close with Inspect SCM state plus PID/checkpoint and service-specific events, validate the owned resource such as listener/device/file, then repeat the original client operation. and state what the evidence does not show.

Step 2 Operational verification Verify boundary

Directory objects, domain services, replication, authentication dependencies and operational AD troubleshooting.

Fast verification

  • Start with DNS/DC discovery, then dcdiag and repadmin /replsummary for domain-controller health.

- Verify replication, SYSVOL, time and authentication dependencies before changing directory objects.

- Use Get-AD* queries against the intended domain/partition to show the object state.

Step 3 Verification path Verify boundary

Verify in the order the dependencies fail: DNS and DC discovery, time, replication, then DC health.

# Which DC does this client use, and does DNS locate DCs in the right site?
nltest /dsgetdc:corp.example.com
nslookup -type=SRV _ldap._tcp.dc._msdcs.corp.example.com

# Domain, FSMO roles and DCs
Get-ADDomain | Select-Object DNSRoot, PDCEmulator, RIDMaster, InfrastructureMaster
Get-ADForest | Select-Object SchemaMaster, DomainNamingMaster, ForestMode
Get-ADDomainController -Filter * | Select-Object HostName, Site, IsGlobalCatalog, OperatingSystem

# Time
w32tm /query /status
w32tm /monitor

# Replication and DC health
repadmin /replsummary
repadmin /showrepl * /errorsonly
dcdiag /e /q

repadmin /replsummary should show zero failures and a largest delta within the site-link schedule; dcdiag /q prints only failing tests.

Step 4 Verification & troubleshooting Narrow the fault

Topic-specific scope

Path: Windows → Active Directory Domain Services. Local intent: Active Directory Domain Services (AD DS) is the Windows Server directory service that stores identities, computers, groups and directory configuration in a replicated hierarchical database and exposes them to authentication, authorization and management workflows.

Step 5 Failure boundaries Narrow the fault
  • A client that cannot find a DC is a DNS problem until proven otherwise.
  • Logon works on one DC but not another: replication (password, group change not replicated yet) or time on that DC.
  • Group Policy not applying but logon works: SYSVOL/DFSR replication or permissions, not AD replication.
  • Errors only across sites: site links, firewall between sites or bridgehead DC health.
  • Everything fails after restoring a DC from a VM snapshot: risk of USN rollback — use supported backup/restore or virtualization-safe cloning.
Evidence references

Evidence · 2 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 · 1command output · 1
Drill down

Subtopics

Go one level deeper into this subject.

Subtopic AD DS Fundamentals

AD DS Fundamentals explains the directory data model, naming contexts, objects, attributes, replication model and the dependencies that make an Active Directory domain usable.

Subtopic Domains

An AD DS domain is a logical directory partition and administrative scope with a DNS name, domain-specific objects and policy settings inside an Active Directory forest.

Subtopic Forests

An AD DS forest is the top-level Active Directory instance containing one or more domains that share schema, configuration, Global Catalog scope and forest-wide trust relationships.

Subtopic Trees

An AD DS tree is a set of one or more domains in the same forest that share a contiguous hierarchical DNS namespace.

Subtopic Domain Controllers

A domain controller (DC) is a Windows Server running AD DS that stores directory replicas and provides directory, authentication and locator-related services for its domain.

Subtopic Organizational Units

Organizational Units (OUs) are hierarchical containers inside an AD DS domain used to organize objects, delegate administration and scope Group Policy application.

Subtopic Users

AD DS user objects represent people or service identities with directory attributes and, when enabled as security principals, credentials and SIDs used by Windows authentication/authorization.

Subtopic Groups

AD DS groups collect security principals for authorization and administration, with group type and scope controlling how membership can be used across domains and forests.

Subtopic Computers

AD DS computer objects represent domain-joined machines as security principals and maintain identity, machine-account credentials and directory attributes used by domain authentication and management.

Subtopic Sites

AD DS sites represent well-connected network locations and are used by DC Locator and replication topology to make directory traffic topology-aware.

Subtopic Subnets

AD DS subnet objects map IPv4 or IPv6 network prefixes to sites so clients and domain controllers can make topology-aware location decisions.

Subtopic Schema

The AD DS schema is the forest-wide definition of object classes, attributes, syntax and structural rules that determine which directory objects and properties can exist.

Subtopic Global Catalog

The Global Catalog (GC) is an AD DS service that provides forest-wide search by holding a full replica of its own domain and partial replicas of objects from other domains in the forest.

Subtopic AD DS Troubleshooting

AD DS Troubleshooting is an evidence-first method for isolating failures across DNS/DC Locator, site selection, domain controller services, directory objects, authentication, authorization and replication consistency.

Key points
  • AD DS is a distributed directory, not a single-server database.
  • Forest is the top-level AD DS instance and primary security/isolation boundary; domains are partitions and administrative scopes inside it.
  • DNS/DC Locator, time, authentication, LDAP access and replication are separate dependencies.
  • A reachable DC does not prove the directory data is current or the requested identity operation will succeed.
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 is4 sections · depth on demand

Direct Answer

AD DS is the Windows directory: domain controllers hold a replicated database of users, groups, computers and policies. Clients find DCs through DNS SRV records, authenticate with Kerberos, query with LDAP and read Group Policy from SYSVOL. When something fails, check in order: DNS → time → replication → DC health (nltest /dsgetdc, w32tm /query /status, repadmin /replsummary, dcdiag /q).

Scope and canonical references

This Topic owns AD DS as a directory service: logical and physical structure, domain controllers, FSMO roles, sites and replication, and DC health.

What it is

Active Directory Domain Services (AD DS) is the on-premises directory of Windows networks. It stores users, groups, computers and policies in a database (NTDS.dit) that every domain controller (DC) holds a copy of and replicates to the others. Clients find DCs through DNS, authenticate to them with Kerberos (or NTLM as a fallback), read directory data over LDAP, and apply Group Policy from SYSVOL. Almost every AD problem is one of four dependencies failing: DNS, time, replication or network reachability to a DC.

Core model

AD DS stores directory objects in a hierarchy and replicates directory partitions between domain controllers. The logical model is forest → domain → OU/object, while the physical service model includes domain controllers, sites, subnets, DNS locator records and replication topology. Keeping those models separate prevents many troubleshooting errors.

ReferenceWhy it matters2 sections · depth on demand

When to use it

Use this Topic when you design or operate a Windows domain: adding or removing domain controllers, placing DCs in sites, checking replication and FSMO roles, or diagnosing logon, Group Policy and "domain not available" problems. For a single failing logon start with Kerberos; for directory queries from applications start with LDAP.

Why it matters operationally

The useful outcome is not simply knowing a definition; it is being able to decide whether Active Directory is healthy, misconfigured, missing, or only a symptom of a failure somewhere else.

ReferenceHow it works1 section · depth on demand

How it works

Directory objects, domain services, replication, authentication dependencies and operational AD troubleshooting.

ReferenceImportant terms & boundaries2 sections · depth on demand

What the evidence shows

Treat the observation source explicitly: which client, which DNS resolver, which DC, which naming context, which object and which timestamp. “Active Directory works” is too broad to be useful evidence.

Mechanics

Logical structure

ElementMeaning
ForestSecurity and schema boundary; one schema and configuration partition shared by all domains
DomainReplication and administrative boundary for objects; has its own DNS name (e.g. corp.example.com)
TreeDomains sharing a contiguous DNS namespace
OUContainer for delegation and Group Policy linking
TrustLets principals of one domain/forest access resources in another; automatic two-way transitive trusts exist within a forest

Directory partitions

Each DC holds the schema and configuration partitions (forest-wide), its own domain partition, and application partitions such as DomainDnsZones and ForestDnsZones for AD-integrated DNS. A Global Catalog server additionally holds a partial, read-only copy of every domain's objects for forest-wide searches and universal group membership at logon.

FSMO roles

Most changes can be made on any DC (multi-master), but five operations have a single owner:

RoleScopeIf unavailable
Schema MasterForestSchema changes impossible
Domain Naming MasterForestCannot add or remove domains
RID MasterDomainDCs eventually cannot create new objects when their RID pool runs out
PDC EmulatorDomainTime source for the domain, password-change and lockout processing, GPO editing target
Infrastructure MasterDomainCross-domain reference updates (irrelevant when all DCs are GCs or the Recycle Bin is enabled)

The PDC Emulator of the forest root domain should sync to a reliable external time source; all other DCs follow the domain hierarchy.

DC locator

Clients find DCs through DNS SRV records such as _ldap._tcp.dc._msdcs.<domain> and _ldap._tcp.<site>._sites.dc._msdcs.<domain>, preferring DCs in their own site (based on the client's subnet). Missing or wrong SRV records, or a client using a non-AD DNS server, break logon and Group Policy.

Replication

AD replicates changes per attribute using update sequence numbers (USNs) and conflict resolution by version and timestamp. Within a site, changes are sent after a short notification delay; between sites, replication follows site links (default interval 180 minutes, configurable down to 15). The Knowledge Consistency Checker (KCC) builds connection objects automatically, and one DC per site (the ISTG) chooses bridgehead servers. SYSVOL (Group Policy files, logon scripts) replicates separately with DFS Replication.

Objects deleted longer ago than the tombstone lifetime (180 days in forests created on modern Windows versions) disappear for good; a DC that has not replicated for longer than that must not be brought back online without cleanup (lingering objects).

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Lifecycle and ownership

  • Adding a DC: install the AD DS role, promote with Install-ADDSDomainController, make it a Global Catalog and DNS server where appropriate, place it in the correct site, and check replication before relying on it.
  • Removing a DC: transfer FSMO roles first, demote gracefully; if a DC died, seize roles to a healthy DC and run metadata cleanup — never bring the old DC back.
  • Functional levels: raise domain and forest functional levels only after all DCs run the required Windows Server version; Windows Server 2025 introduced a new functional level.
  • Backup: system-state backups of at least two DCs per domain; enable the AD Recycle Bin for object recovery.
  • Patching: patch DCs in a rolling fashion, one per site at a time, and verify replication after each reboot.
  • Ownership: Tier 0 — only a small group of domain administrators manages DCs, from privileged access workstations (see Active Directory Security).
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. 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%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
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
active directoryad dsactive directorywindows active directoryactive directory domain servicesActive Directory troubleshootingwindows domain directory
Embedded reference data

Quick lookup tables

Active Directory Domain Services reference map

Fast lookup boundaries for Active Directory Domain Services.

BoundaryMeaningEvidence limit
ForestTop-level AD DS instancenot proof every domain/DC is healthy
DomainDirectory partition/admin scopenot a forest security boundary
Domain ControllerReplica/service endpointnot proof data is current
Directory ObjectIdentity/config recordnot proof authentication or authorization succeeded

Active Directory evidence chain

Configuration, operational state, counters and downstream proof remain separate.

BoundaryQuestionEvidenceDoes not prove
DefinitionWhat is configured or intended?running configuration / controller policylive operation
Local stateIs the feature active at the expected scope?Get-ADDomainremote success
CountersDid controlled traffic or an event reach this stage?scoped counters/timestampscomplete return path
Next boundaryWhat consumes or transports this state?computer/domain context → effective policy/configuration → role/service → dependency/replication/network → event evidence → user/service outcomeapplication success
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

OutputMeaning
nltest /dsgetdc returns a DC in another siteClient subnet not mapped to a site, or no DC available locally
SRV lookup fails or returns old DCsClient uses the wrong DNS server, or DNS records of a removed DC were not cleaned up
repadmin /replsummary fails with error 1722RPC server unavailable — network/firewall or the partner DC is down
Error 8453Replication access denied — permissions or secure channel
Error 8606 / event 1988Lingering objects — a DC was offline longer than the tombstone lifetime
Error 1256 / 1908Remote system not available / could not find the domain controller
Largest delta in daysReplication stopped long ago; find the first failing link
w32tm offset of minutesKerberos will fail beyond 5 minutes of skew; fix the time hierarchy from the PDC Emulator
dcdiag Advertising or NetLogons failedDC not advertising as a DC — SYSVOL not shared yet (DFSR) or Netlogon problems
Confirmation

Confirm action

Continue?