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 default container count should be retrievable

AD-COMP-06InfoActive DirectoryComputers

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

Run this check
Invoke-Maester -TestId AD-COMP-06

Computers located in the default CN=Computers container represent a security and management concern:

  • No Group Policy inheritance: The Computers container is not an OU, so it doesn’t support Group Policy inheritance
  • Management gaps: Computers in the default container may not receive security policies, software updates, or configurations
  • Provisioning issues: Indicates the domain join process hasn’t been customized or automated provisioning is failing
  • Shadow IT: May represent unauthorized systems joined to the domain

Detective

  • Move all computers from the default Computers container into appropriate OUs based on:
    • Geographic location
    • Department or function
    • Security requirements
  • Implement a standardized domain join process that places computers in the correct OU
  • Use redircmp.exe to redirect new computer accounts to a specific OU
  • Regularly audit the default container for new additions

This test identifies enabled computer accounts where the Distinguished Name contains CN=Computers, indicating they are in the default Computers container rather than a proper organizational unit.

  • Test-MtAdComputerOUCount - Shows the distribution of computers across OUs
  • Test-MtAdComputerPerOUAverage - Analyzes OU structure effectiveness
Every attribute of this check
FieldValue
Test IDAD-COMP-06
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureComputers
AreaInfrastructure hardening
Resource typeComputer
MITRE ATT&CKNone
PowerShell testTest-MtAdComputerInDefaultContainer
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:computer:ReadProperty