Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

DC operating system details should be retrievable

AD-DC-08InfoActive DirectoryDomain controllers

Part of Active Directory · Active Directory · Domain controllers · All checks

Run this check
Invoke-Maester -TestId AD-DC-08

Understanding the operating system distribution across your domain controllers helps with:

  • Security compliance: Identifying DCs on unsupported OS versions
  • Patch management: Planning update cycles across different OS versions
  • Upgrade planning: Prioritizing which DCs to upgrade first
  • Capacity planning: Understanding feature availability across DCs
  • Risk assessment: Evaluating exposure from outdated systems

Domain controllers running end-of-life operating systems are a critical security risk as they no longer receive security updates, making them vulnerable to known exploits.

Operational

Upgrade domain controllers running end-of-life operating systems immediately.

Priority order for upgrades:

  1. Windows Server 2008 R2 and earlier (unsupported)
  2. Windows Server 2012/2012 R2 (extended support ended)
  3. Windows Server 2016 (still supported, but older)

Upgrade process:

  1. Promote new DCs on supported OS versions
  2. Transfer FSMO roles if needed
  3. Demote old DCs
  4. Remove from domain

This test retrieves the OperatingSystem attribute from all domain controllers and groups them by OS version, showing:

  • Count of DCs per OS version
  • Percentage distribution
  • Names of DCs running each OS
  • Test-MtAdDcOperatingSystemCount - Count of unique OS versions
  • Test-MtAdDomainControllerCount - Total DC count
Every attribute of this check
FieldValue
Test IDAD-DC-08
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureDomain controllers
AreaInfrastructure hardening
Resource typeDomainController
MITRE ATT&CKNone
PowerShell testTest-MtAdDcOperatingSystemDetails
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:nTDSDSA:ReadProperty