AD-COMP-06 - Computer default container count should be retrievable
Overviewโ
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
Security Recommendationโ
- 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
How the Test Worksโ
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.
Related Testsโ
Test-MtAdComputerOUCount- Shows the distribution of computers across OUsTest-MtAdComputerPerOUAverage- Analyzes OU structure effectiveness
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-COMP-06 |
| Severity | Info |
| Suite | Active Directory |
| Category | AD.Computer |
| PowerShell test | Test-MtAdComputerInDefaultContainer |
| Tags | AD, AD-COMP-06, AD.Computer |
Sourceโ
- Pester test:
tests/ad/computer/Test-MtAdComputerInDefaultContainer.Tests.ps1 - PowerShell source:
powershell/public/ad/computer/Test-MtAdComputerInDefaultContainer.ps1

