Active Directory Series

🏛️ Understanding the Difference Between AD and DC, and Domains vs. Forests, from a "Top 1%" Perspective — The Overall Structure of Active Directory and Functional Levels

Introduction

This article is part of the Top 1% Series’ full article guide. It’s the first article in a new series on Active Directory; upcoming articles will dig into DNS, FSMO, DC health checks, post-migration cleanup, and other topics that come up constantly in real AD migration work.

Prerequisites

Getting the Big Picture

In a Nutshell

AD DS (Active Directory Domain Services) is the mechanism itself — a hierarchically structured database that centrally manages an organization’s users, computers, groups, and so on, along with the query and authentication apparatus around it. A DC (domain controller) is the server that actually runs that AD DS, holds a replica of it, and responds to queries and authentication requests. The former is a collection of mechanisms, data structures, and protocols; the latter is the physical or virtual server — the actor — that executes it.

graph TB
    subgraph Concept["The AD DS mechanism (concept / data structure)"]
        Schema["Schema (object type definitions)"]
        Objects["Objects such as users,<br/>computers, and groups"]
        Protocol["LDAP/Kerberos<br/>as the access means"]
    end
    subgraph Servers["DCs (domain controllers) — the actors that run it"]
        DC1["DC1<br/>(holds a replica of AD DS)"]
        DC2["DC2<br/>(holds the same content, replicated)"]
    end
    Concept -.materialized / held by.-> DC1
    Concept -.materialized / held by.-> DC2
    DC1 <-.multi-master replication.-> DC2
    Client["Client PC"] -->|"LDAP query / Kerberos authentication"| DC1
    Client -->|"Falls back to DC2 if DC1 is down"| DC2

The reason this terminology is confusing is that the word “AD” gets used ambiguously depending on context — sometimes referring to AD DS (the mechanism), sometimes to a DC (the server). From here on, this article deliberately distinguishes the two, writing “AD DS” and “DC” explicitly.

Fundamentals, Explained Thoroughly

What Is AD DS (Active Directory Domain Services)?

AD DS is a directory service implemented by Microsoft, based on X.500, an international standard for directory services. In substance, it’s a hierarchically structured database organized according to a schema (a rulebook that defines the types of objects it can hold — users, computers, groups — and their attributes), searchable and updatable from the outside via the LDAP protocol, using Kerberos (and NTLM for compatibility) for authentication.

Understanding the schema through a concrete example

The schema is a set of definitions organized into two layers: “object types” and “attributes.” For example, the user object type (class) defines attributes like sAMAccountName (logon name), mail (email address), and memberOf (group membership). When you actually create a new user in Active Directory Users and Computers, under the hood that corresponds to “generating one object that conforms to the user class, and writing the entered values into each of its attributes.” Having a schema lets AD DS consistently enforce, at the database level, which attributes a given object type can or can’t have and which attributes are required versus optional — and it guarantees that when one DC creates an object and another DC replicates it, both interpret it by the exact same rules. “Schema extension” — where an application like Exchange adds its own object classes and attributes to this schema — is covered in depth in Understanding AD Schema Extension.

The contents of this database are divided into three main partitions (naming contexts):

PartitionWhat it holdsReplication scope
Domain partitionObjects belonging to that domain — users, computers, groups, and so onOnly among DCs within the same domain
Configuration partitionForest-wide configuration information, including the configuration of sites (a physical-network grouping representing locations separated by low-bandwidth links) and the replication topology governing how replication happens between those sitesAmong all DCs in the forest
Schema partitionThe object type definitions themselvesAmong all DCs in the forest

This split — where only the domain partition stays confined to the domain, while the configuration and schema partitions are shared across the entire forest — is the key to understanding what the domain and forest boundaries discussed later actually mean.

Do you need a separate DB server, like SQL Server, to install AD DS?

No, you don’t. AD DS has its own dedicated, built-in database engine (ESE/JET, the Extensible Storage Engine), which gets set up automatically the moment you install AD DS. In practice this database is a file called NTDS.dit sitting on each DC’s local disk — there’s no need to install a separate DB server product (like SQL Server) or configure a connection to another server at all.

This is different from how a business application (like ApexOne) separately requires Microsoft SQL Server. A business application is designed with “the application itself” and “the DB that stores its data” as separate products — since it doesn’t include a DB of its own, you need to provision an RDBMS product like SQL Server on the side. AD DS, on the other hand, is designed around an assumption specific to directory-service workloads — extremely read-heavy, write-light access — and ships as a product that already bundles its own dedicated database engine, optimized for hierarchical structure (an LDAP namespace) rather than the general-purpose relational model SQL Server uses.

What Is a DC (Domain Controller)?

A DC is a Windows Server role that holds an actual replica of the AD DS database described above and responds to LDAP queries and Kerberos authentication requests from clients. It’s common to place multiple DCs within a single domain, and each DC replicates changes to the others using a scheme called multi-master replication. This isn’t a simple master/subordinate relationship where one master handles all updates and the others just distribute read-only copies — rather, a change made on any DC propagates out to all the other DCs (with the exception of certain operations handled exclusively by a single DC through FSMO, which a later article covers).

The exception of RODCs (Read-Only Domain Controllers)

Besides ordinary (writable) DCs, there’s also a type called an RODC (Read-Only Domain Controller). An RODC holds only a read-only replica of the AD DS database and, by default, caches no password hashes at all (an administrator can designate specific accounts whose hashes may be cached). RODCs are used at sites where physical security can’t be fully guaranteed (such as branch offices), so that even if the DC is stolen or compromised, the attacker can’t obtain write access or the password hashes of every account.

In practice, the typical setting where an RODC gets chosen is a branch office, factory, or retail location connected to HQ over a thin link. These sites often lack HQ-level physical lock-and-key discipline, so the risk of unauthorized access to (or outright theft of) a server rack is relatively elevated — while there’s still a desire to keep a DC locally, to keep authentication and name resolution fast within the site. With an RODC, even if it’s stolen, there’s no writable AD DS database or forest-wide password hashes to leak — the blast radius is limited to, at most, the password hashes of the users who routinely logged on at that site. RODCs also carry an operational benefit in environments like overseas sites, where link quality to HQ is unstable and replication delays or conflicts are more likely: since an RODC never accepts writes, there’s no complex replication-conflict resolution to worry about. Unless otherwise noted, the rest of this article — and this series — assumes an ordinary, writable DC.

To summarize the relationship between the DC “server” and the AD DS “mechanism”:

Domain: The Boundary of Authentication and Policy

A domain is the smallest management unit in AD DS — a boundary that shares or isolates the following:

Placing multiple DCs in a single domain just means those DCs share replicas of the same domain partition; the domain boundary itself remains singular. You split domains apart when you have requirements such as wanting to apply different password policies per organization or site, or wanting a clean separation of administrative authority.

Trees and Forests: Namespace and Trust Relationships

Trees and forests come into play when you’re dealing with multiple domains.

What a "parent-child trust relationship" concretely means, and the benefit of a tree structure

“Trust relationship” sounds abstract, but concretely it means: “a user authenticated in one domain can, using Kerberos, also access resources in the other domain (given the right permissions).” When example.com and child.example.com are in a parent-child relationship, a user account in child.example.com can access a file server or shared folder on the example.com side automatically, from the start, with no need to configure a trust between the two domains separately. This trust is bidirectional (works in both directions, parent-to-child and child-to-parent) and transitive (it automatically extends to a child’s child — a “grandchild” domain — too).

The real-world benefits of choosing a tree structure (a parent domain with child domains) come down mainly to two things:

  • Distributing administration while keeping the namespace consistent: You can place a dedicated administrator (a domain admin) for each child domain, scoped to that location or department, while still keeping an organization-wide, consistent naming convention like tokyo.corp.example.com.
  • Simpler operations thanks to automatic trust: As noted above, the moment you add a child domain, a trust relationship with the existing domains in the forest is established automatically — no need to manually configure trusts between separate domains one by one.

That said, if your actual requirement is just “I want different policies per department,” splitting into separate domains is usually overkill — OUs (organizational units) combined with Group Policy are almost always enough. The real motivation for deliberately choosing a tree structure is usually a genuine organizational or legal distinction — a separate location, an acquired company — where the DNS namespace or the entity actually responsible for IT management needs to be kept separate. If you want to see this automatic trust get established with your own eyes by actually building a child domain, check out Hands-On: Building a Multi-Domain, Multi-Tree AD Forest.

graph TB
    subgraph Forest["Forest (topmost security boundary)"]
        subgraph Tree1["Tree 1: example.com"]
            Root1["example.com"]
            Child1["child.example.com"]
            Root1 --- Child1
        end
        subgraph Tree2["Tree 2: example.net (unrelated namespace)"]
            Root2["example.net"]
        end
        Root1 <-.automatically trusted within the forest.-> Root2
    end

The reason the forest is treated as the topmost boundary is that powerful privileges affecting the entire forest — such as Schema Admins or Enterprise Admins — are only ever partitioned at the forest level. A given domain’s administrators (Domain Admins) hold strong privileges within their own domain, but can’t directly manipulate objects in other domains. Schema changes (such as adding a new attribute), on the other hand, affect the entire forest, so an account holding that privilege is effectively the single most powerful entity from the perspective of any domain in the forest. The assumption that “splitting into separate domains creates an independent security boundary” is a misconception — the real security boundary (one that fully isolates an untrusted party) is the forest, and this is a critical premise in AD design.

What is a global catalog (GC)?

A forest typically has one or more DCs playing the role of global catalog (GC). A GC holds a full, writable replica with every attribute for the domain it belongs to, while holding a partial replica containing only a subset of commonly searched attributes for every other domain in the forest.

A common misconception here is to think of a GC as some ad-hoc “cache of frequently-needed info jotted down in advance.” In reality, the partial replica a GC holds for other domains is a fully-fledged replica, kept continuously in sync through AD DS’s ordinary replication mechanism — not a temporary cache. Limiting it to a subset of attributes is purely a design optimization: “restrict it to just the attributes that get referenced frequently in forest-wide search scenarios, to keep the amount of data being replicated down.” This lets forest-wide searches — such as “I want the email address of a user in a different domain” — be resolved with a single query to the GC, rather than querying that domain’s own DCs one at a time. Confirming membership in universal groups (groups that can include members from any domain in the forest) also requires querying a GC, meaning that even a single-domain forest can, in certain steps of the logon process, require reachability to a GC. The relationship between GCs and FSMO (particularly the infrastructure master) will be covered in the article dedicated to FSMO.

What Are Functional Levels (Domain/Forest Functional Level)?

A functional level controls “up to which version of AD DS functionality can be used within a given domain (or forest).” There are two kinds: the Domain Functional Level (DFL), set per domain, and the Forest Functional Level (FFL), set per forest.

The reason functional levels exist is simple: a forest or domain can contain a mix of DCs running Windows Server 2012 R2 alongside DCs running Windows Server 2025. Some newer AD DS features can’t be safely enabled unless every DC is running a version capable of understanding that feature (for example, features that touch the replication mechanism itself). A functional level acts as a constraint of the form “the functional level can only be raised as high as the oldest DC’s OS version present in this domain/forest allows” — and conversely, raising it lets you safely start using features introduced at or below that version from that point on.

graph LR
    DC2016["DC (Windows Server 2016)"]
    DC2019["DC (Windows Server 2019)"]
    DC2025["DC (Windows Server 2025)"]
    FL["Domain functional level<br/>= Windows Server 2016<br/>(capped by the oldest DC present)"]
    DC2016 --> FL
    DC2019 -.newer features are available on it,<br/>but that isn't reflected in the level.-> FL
    DC2025 -.same as above.-> FL

To get a concrete sense of “what actually changes when you raise the functional level” in practice, here are some representative examples:

Functional levelA change that comes up often in practice
Domain functional level: Windows Server 2008Fine-Grained Password Policy becomes available, letting you set different password policies per user or group
Forest functional level: Windows Server 2008 R2The Active Directory Recycle Bin can be enabled, letting you restore accidentally deleted objects (meeting the functional level alone doesn’t turn it on automatically — it still needs to be explicitly enabled separately)
Domain functional level: Windows Server 2012 R2Authentication policies and authentication policy silos become available, letting you restrict which machines a given privileged account is allowed to log on to

In other words, raising the functional level is really about “satisfying the prerequisite for using a new AD management or security feature” — raising it doesn’t suddenly change existing behavior on its own. Raising the functional level itself must be done explicitly, via Active Directory Administrative Center or PowerShell (Set-ADDomainMode / Set-ADForestMode), and it also affects whether older-OS DCs can be added going forward (once you raise the level, DCs running an older OS than that level can no longer newly join). In many versions it’s technically possible to lower the functional level again, but some features enabled after raising it aren’t restored simply by lowering it — so in practice, it’s safest to plan the operation as a one-way decision.

The relationship between domain functional level and forest functional level

The forest functional level can only be set to at or below the lowest domain functional level among all domains belonging to that forest. Conversely, a domain functional level can’t be set above the forest functional level (you can’t push an individual domain to a higher functional level than what the forest as a whole permits). In practice, the order of operations is: first align the domain functional levels of every domain in the forest, then raise the forest functional level.

What Gets Installed Alongside the AD DS Role

When you select “Active Directory Domain Services” in the “Add Roles and Features” wizard in Server Manager, a confirmation dialog automatically proposes several management tools as add-ons. This is common Server Manager behavior — the wizard’s “Include management tools (if applicable)” option is enabled by default, and it proposes a full set of tools needed to manage the role you selected. Here’s a breakdown of the items commonly seen when adding AD DS:

ItemCategoryWhy it’s added
Active Directory Domain ServicesRoleThe actual role you wanted to install
File and Storage Services (Storage Services)RoleNot an AD DS-specific dependency — it’s simply a baseline role that’s always enabled by default on any Windows Server. Once this DC is later promoted to a domain controller, it hosts the SYSVOL share (which stores Group Policy templates and scripts, and is replicated between DCs via DFSR) on top of the file-sharing mechanism this role provides
Group Policy Management (GPMC)FeatureThe management console for Group Policy (GPO, Group Policy Object) — a mechanism for bulk-distributing and enforcing OS and application settings across a domain or OU — which is one of AD DS’s primary use cases. GPO’s own creation/application rules and its relationship to SYSVOL are covered in more depth in Understanding SYSVOL, DFSR, and Group Policy. Added as an accompanying tool when the AD DS role is selected
Remote Server Administration Tools → Role Administration Tools → AD DS and AD LDS Tools (AD module, Active Directory Administrative Center, AD DS Snap-Ins and Command-Line Tools, etc.)Feature (management tools)The standard tool set for managing this DC — and other DCs — from the GUI or PowerShell
.NET Framework 4.8 Features (including WCF Services and TCP Port Sharing)FeatureNot AD DS-specific — it’s a baseline feature enabled by default that many of Windows Server’s management tools and PowerShell modules rely on as their runtime. The relationship between .NET Framework and PowerShell itself is covered in depth in Understanding .NET Framework and PowerShell

The key point here is not to conflate “what’s newly enabled as a result of adding the AD DS role” with “baseline functionality Windows Server already has from the start.” For items annotated above as “not an AD DS-specific dependency” (File and Storage Services, .NET Framework 4.8, and so on), those are already enabled even without AD DS installed — what’s actually newly enabled alongside AD DS is, in practice, essentially just the Group Policy Management Console and the AD DS management tool set (RSAT).

This same role-selection screen also lists several similarly named roles carrying the “Active Directory” name — “Active Directory Certificate Services,” “Active Directory Federation Services,” and others. How these differ from AD DS is sorted out in Understanding AD DS, AD CS, AD FS, AD LDS, and AD RMS.

Why you don't need to select the DNS server on the "Server Roles" screen

At the stage of simply adding the AD DS role (the “Add Roles and Features” wizard), you don’t need to separately select DNS Server functionality. That’s because the operation of actually promoting this server to a domain controller (the “Promote this server to a domain controller” wizard, launched from the notification flag in Server Manager) has its own, independent “Install DNS server” checkbox. In many AD environments, a DC also serves as a DNS server (the reasons for this will be covered in detail in a later article on DNS), and if you select the DNS server role within that promotion wizard, the DNS server role ends up installed once the promotion completes — even if you never pre-selected DNS server at the role-selection stage. Adding it up front in the role-selection screen too causes no functional problems, but it’s just redundant work, so as a rule of thumb, leave that decision to the promotion wizard.

Baseline Features That Windows Server Has From the Start

Beyond the items noted above as “enabled by default regardless of AD DS,” Windows Server has several features enabled from the start, independent of any role selection. Here are ones that commonly cause confusion when engineers browse the feature list in Server Manager and think “I don’t remember enabling this”:

FeatureRole
Microsoft Defender AntivirusWindows Server’s built-in malware protection. The basic mechanism is shared with the client-edition Microsoft Defender
System Data ArchiverUnderlying functionality for collecting and archiving system diagnostic data
Windows Admin Center SetupPreparatory functionality that enables the browser-based management console, Windows Admin Center, on this server
Windows PowerShell (5.1)The standard shell for management and automation. Nearly every management tool depends on it
Wireless LAN ServiceThe service that controls Wi-Fi adapters. Even on servers that never physically use Wi-Fi, this component is bundled in by default
WoW64 SupportThe compatibility layer that lets 32-bit applications run on 64-bit Windows. The difference between x64 and x86 itself, from a practical installer-selection standpoint, is planned for a separate article
XPS ViewerA viewer for documents in XPS format (XPS stands for “XML Paper Specification,” a document format Microsoft devised as a competitor to PDF that preserves print layout as-is. “Microsoft XPS Document Writer,” which shows up as a destination in the Print dialog, is the virtual printer that writes files out in this format — you won’t run into it often in practice, but it still shows up today as the print-log format for some legacy applications and as an output format for line-of-business reporting in some systems)

These are provided as part of Windows Server’s baseline, independent of adding or removing roles — they’re not “features that increased because AD DS was installed.” Keeping this distinction in mind reduces the confusion of scanning Server Manager’s feature list.

The View From the Top 1% Perspective

When a Multi-Domain, Multi-Tree Forest Is Actually Needed in Practice

For small-to-medium organizations, the simplest configuration — one forest, one tree, one domain — is almost always sufficient. Splitting into multiple domains is mainly considered in cases such as:

Conversely, if the requirement is simply “we want to divide management by department,” that can usually be satisfied without splitting the domain at all — using a combination of OUs (organizational units), Group Policy, and delegation of authority. It’s important to recognize that adding a domain is a costly decision that reliably increases the complexity of the entire forest — more trust relationships to manage, a larger set of objects for the GC to replicate, and more DCs to operate. If you want to actually build a child domain and a separate tree and get hands-on confirmation of what’s shared versus isolated between them, see the hands-on lab Building a Multi-Domain, Multi-Tree AD Forest.

What to Check Before Raising the Functional Level

Raising the functional level itself is a near-instant operation in the UI or via commands, but in practice, the trouble that most commonly arises is failing to check beforehand whether an old DC that falls below the functional level you’re about to raise to still exists somewhere in the environment. If a DC you thought had been retired wasn’t properly demoted and only lingers as an AD DS object, raising the functional level can fail outright, or appear to succeed while later surfacing inconsistencies during replication. The specific way to confirm that “all the old DCs really have been retired correctly” is covered in detail in a later article focused on DC health checks.

Common Misconceptions and Pitfalls

The Troubleshooting Perspective

Issues rooted in the structure of AD DS itself are best approached by first isolating which boundary — domain or forest — the problem actually concerns.

  1. An administrator account in one domain can’t manipulate objects in a different domain: This is expected behavior. A domain is an independent management boundary, and privileges don’t automatically extend to other domains even within the same forest. Consider delegating the necessary operational privileges, or joining an appropriate universal group within the forest.
  2. Attributes of a user in a different domain within the forest can’t be searched, or appear stale: Check whether you’re trying to search for an attribute not included in the GC’s replicated attribute set, and whether GC replication is functioning correctly.
  3. Raising the functional level errors out, or succeeds but some features don’t work: Check whether an older-version DC than expected exists in the environment — particularly a “zombie DC” that was never properly demoted and lingers only as an AD DS object.

Preventive Measures and Permanent Fixes

Summary

What to Keep in Mind From Today

  1. Whenever you use the phrase “AD server,” consciously distinguish in your head whether you mean AD DS (the mechanism) or a DC (the server).
  2. Recognize that adding a domain or forest, and raising a functional level, are both costly, essentially one-way decisions — inventory the DCs in your environment and re-confirm the requirements before executing either.

References

Comments

Feel free to leave thoughts, questions, or corrections below (sign in with a GitHub account to comment or react).