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) →

Computer operating system count should be investigated

AD-DCOMP-04InfoActive DirectoryComputers

Part of Active Directory · Active Directory · Computers · All checks

Run this check
Invoke-Maester -TestId AD-DCOMP-04
  • Understanding the distribution of operating systems in your Active Directory environment is crucial for security management. High OS diversity can indicate:

Security Implications:

  • Legacy Systems: Older operating systems may no longer receive security updates
  • Inconsistent Patching: Different OS versions may have varying patch levels
  • Unsupported Platforms: End-of-life operating systems pose significant security risks
  • Compliance Issues: Regulatory requirements may mandate specific OS versions

Common Scenarios:

  • Windows Server 2008/2012 reaching end-of-life
  • Mixed Windows and Linux environments
  • Workstations running outdated client OS versions

Operational

  1. Standardize Operating Systems:

    • Minimize OS diversity where possible
    • Establish standard builds for servers and workstations
    • Maintain supported OS versions only
  2. Identify End-of-Life Systems:

    • Create inventory of systems nearing end-of-life
    • Plan upgrade paths for legacy systems
    • Isolate unsupported systems if upgrades are delayed
  3. Patch Management:

    • Ensure all systems receive regular security updates
    • Prioritize critical and high-severity patches
    • Test patches on representative OS versions

This test analyzes computer objects in Active Directory and:

  • Counts distinct operating systems
  • Shows distribution percentages
  • Identifies computers without OS data
  • Test-MtAdComputerOperatingSystemDetails - Detailed OS and service pack information
  • Test-MtAdComputerStaleEnabledCount - Identifies stale computer accounts
  • Test-MtAdDcOperatingSystemDetails - Domain Controller OS distribution
Every attribute of this check
FieldValue
Test IDAD-DCOMP-04
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureComputers
AreaDevices and endpoints
Resource typeComputer
MITRE ATT&CKNone
Supports controlsnist-800-53-r5:CM-8
PowerShell testTest-MtAdComputerOperatingSystemCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:computer:ReadProperty