AD.CLOUDSCHOOL.AI · PAGE 01 OF 14

Active Directory services, server roles and role services

AD DS, AD CS, AD FS, AD LDS, AD RMS and the related Windows Server roles and role services, with what each one does.

The Active Directory family

"Active Directory" is a family of five Windows Server roles. Most people mean the first one, AD DS. The others add certificates, federation, app directories and document protection on top of it.

Server roleWhat it doesTypical use
AD DS
Domain Services
The directory, Kerberos and NTLM authentication, Group Policy, replication. Servers that run it are domain controllers.Every Windows domain.
AD CS
Certificate Services
Your own public key infrastructure: issues and revokes certificates, integrated with AD for templates and autoenrollment.Smart cards, Wi-Fi and VPN (802.1X), LDAPS, TLS for internal sites, Windows Hello for Business.
AD FS
Federation Services
Claims-based single sign-on with SAML, WS-Federation and OpenID Connect for apps outside the domain.Legacy SSO to SaaS and partners. Microsoft recommends moving apps to Entra ID.
AD LDS
Lightweight Directory Services
A stand-alone LDAP directory without domains, Group Policy or Kerberos. Several instances can run on one server.App-specific directories, extranet users, schema experiments without touching the forest.
AD RMS
Rights Management Services
Encrypts documents and email and enforces who can open, print or forward them.Legacy information protection. Its cloud successor is Microsoft Purview Information Protection.

Role services of each role

In Server Manager or Install-WindowsFeature, some roles split into role services you install separately.

AD DS

  • Active Directory Domain Services (AD-Domain-Services): one role service. Promotion to a DC is a second step (Install-ADDSForest, Install-ADDSDomainController).
  • Management tools: RSAT-AD-Tools, which includes ADUC, ADAC, AD Sites and Services, AD Domains and Trusts, ADSI Edit and the AD PowerShell module.

AD CS

  • Certification Authority (ADCS-Cert-Authority): issues and revokes certificates.
  • Certification Authority Web Enrollment (ADCS-Web-Enrollment): the legacy /certsrv web pages.
  • Online Responder (ADCS-Online-Cert): OCSP, fast revocation checks.
  • Network Device Enrollment Service (ADCS-Device-Enrollment): SCEP for routers, switches and MDM.
  • Certificate Enrollment Policy Web Service (ADCS-Enroll-Web-Pol) and Certificate Enrollment Web Service (ADCS-Enroll-Web-Svc): enrollment over HTTPS for non-domain or cross-forest machines.

AD FS

  • Federation Service (ADFS-Federation) on internal servers, usually a farm on Windows Internal Database or SQL Server.
  • Web Application Proxy, part of the Remote Access role (Web-Application-Proxy), publishes AD FS to the internet from the DMZ.

AD LDS and AD RMS

  • AD LDS (ADLDS): one role service; you then create instances with adaminstall or the setup wizard.
  • AD RMS: Active Directory Rights Management Server and Identity Federation Support.

Roles inside AD DS: DC types, GC and FSMO

Within AD DS, domain controllers can take on extra duties. These are not Windows Server roles, but you plan them like roles.

Writable DC

Holds a full read-write copy of its domain, plus the configuration and schema partitions.

Read-only DC (RODC)

For branch offices with weak physical security. Read-only database, caches passwords only for accounts you allow, and has its own krbtgt account.

Global catalog (GC)

Holds a partial, read-only copy of every object in the forest. Needed for forest-wide searches, UPN logons and universal group membership. Port 3268/3269.

DNS server

Most DCs also run DNS with AD-integrated zones, so DNS data replicates with AD. See DNS, DHCP, NTP.

The five FSMO (operations master) roles

RoleScopeWhat breaks if it is down
Schema masterForestSchema updates (new Exchange, new Windows Server level).
Domain naming masterForestAdding or removing domains and application partitions.
RID masterDomainNew objects once DCs run out of their pool of 500 relative IDs.
PDC emulatorDomainTime sync root, password change priority, account lockout, GPO editing default. The one you notice first.
Infrastructure masterDomainCross-domain group member references. Irrelevant if every DC is a GC or there is one domain.
netdom query fsmo
Get-ADForest | Select SchemaMaster, DomainNamingMaster
Get-ADDomain | Select PDCEmulator, RIDMaster, InfrastructureMaster
Move-ADDirectoryServerOperationMasterRole -Identity DC02 -OperationMasterRole PDCEmulator,RIDMaster

Cloud counterparts

  • Microsoft Entra ID: cloud identity for Microsoft 365, Azure and SaaS. Not a cloud copy of AD DS: no OUs, no Group Policy, no LDAP or Kerberos for servers.
  • Microsoft Entra Connect Sync and Entra Cloud Sync: synchronize AD users and groups to Entra ID.
  • Microsoft Entra Domain Services: a managed domain in Azure with LDAP, Kerberos and Group Policy for lift-and-shift apps.
  • Microsoft Defender for Identity: sensors on DCs, AD FS and AD CS servers that detect identity attacks.

Install the roles: Install-WindowsFeature AD-Domain-Services, DNS -IncludeManagementTools. List everything AD-related with Get-WindowsFeature *AD*, *ADCS*, *ADFS*, *DNS*, *DHCP*, *NPAS*.