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.
Active Directory Domain Services
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.
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.
DNS locates DCs → authentication → replication between DCs → directory data
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
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.
Operational reference
Fast context before you go deeper.
nslookup -type=SRV _ldap._tcp.dc._msdcs.corp.example.comVerification & 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
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
dcdiagandrepadmin /replsummaryfor 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 · 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.
A defined client resolves AD DNS, locates a suitable DC, reads the intended directory object and completes the expected identity operation against consistent directory state.
command output · Documented exampleActive Directory local healthy-state checkpointThe expected object, scope, state and counters match a controlled test.
Subtopics
Go one level deeper into this subject.
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 DomainsAn 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 ForestsAn 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 TreesAn AD DS tree is a set of one or more domains in the same forest that share a contiguous hierarchical DNS namespace.
Subtopic Domain ControllersA 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 UnitsOrganizational Units (OUs) are hierarchical containers inside an AD DS domain used to organize objects, delegate administration and scope Group Policy application.
Subtopic UsersAD 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 GroupsAD 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 ComputersAD 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 SitesAD DS sites represent well-connected network locations and are used by DC Locator and replication topology to make directory traffic topology-aware.
Subtopic SubnetsAD DS subnet objects map IPv4 or IPv6 network prefixes to sites so clients and domain controllers can make topology-aware location decisions.
Subtopic SchemaThe 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 CatalogThe 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 TroubleshootingAD 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.
- 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.
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 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.
- Structure: Domains, Forests, Organizational Units, Global Catalog, Sites.
- Authentication: Kerberos, NTLM.
- Directory protocol: LDAP.
- Replication operations (Windows): AD Replication.
- Hardening and attacks (tiering, Kerberoasting, LAPS): Active Directory Security.
- Cloud identity and hybrid sync: Microsoft Entra ID.
- Fault isolation: AD DS Troubleshooting.
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
| Element | Meaning |
|---|---|
| Forest | Security and schema boundary; one schema and configuration partition shared by all domains |
| Domain | Replication and administrative boundary for objects; has its own DNS name (e.g. corp.example.com) |
| Tree | Domains sharing a contiguous DNS namespace |
| OU | Container for delegation and Group Policy linking |
| Trust | Lets 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:
| Role | Scope | If unavailable |
|---|---|---|
| Schema Master | Forest | Schema changes impossible |
| Domain Naming Master | Forest | Cannot add or remove domains |
| RID Master | Domain | DCs eventually cannot create new objects when their RID pool runs out |
| PDC Emulator | Domain | Time source for the domain, password-change and lockout processing, GPO editing target |
| Infrastructure Master | Domain | Cross-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).
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
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. 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%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.
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 reference map
Fast lookup boundaries for Active Directory Domain Services.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Forest | Top-level AD DS instance | not proof every domain/DC is healthy |
| Domain | Directory partition/admin scope | not a forest security boundary |
| Domain Controller | Replica/service endpoint | not proof data is current |
| Directory Object | Identity/config record | not proof authentication or authorization succeeded |
Active Directory evidence chain
Configuration, operational state, counters and downstream proof remain separate.
| Boundary | Question | Evidence | Does not prove |
|---|---|---|---|
| Definition | What is configured or intended? | running configuration / controller policy | live operation |
| Local state | Is the feature active at the expected scope? | Get-ADDomain | remote success |
| Counters | Did controlled traffic or an event reach this stage? | scoped counters/timestamps | complete return path |
| Next boundary | What consumes or transports this state? | computer/domain context → effective policy/configuration → role/service → dependency/replication/network → event evidence → user/service outcome | application success |
Deep reference
Healthy vs suspicious evidence
Output interpretation
| Output | Meaning |
|---|---|
nltest /dsgetdc returns a DC in another site | Client subnet not mapped to a site, or no DC available locally |
| SRV lookup fails or returns old DCs | Client uses the wrong DNS server, or DNS records of a removed DC were not cleaned up |
repadmin /replsummary fails with error 1722 | RPC server unavailable — network/firewall or the partner DC is down |
| Error 8453 | Replication access denied — permissions or secure channel |
| Error 8606 / event 1988 | Lingering objects — a DC was offline longer than the tombstone lifetime |
| Error 1256 / 1908 | Remote system not available / could not find the domain controller |
| Largest delta in days | Replication stopped long ago; find the first failing link |
w32tm offset of minutes | Kerberos will fail beyond 5 minutes of skew; fix the time hierarchy from the PDC Emulator |
dcdiag Advertising or NetLogons failed | DC not advertising as a DC — SYSVOL not shared yet (DFSR) or Netlogon problems |