Computer default container count should be retrievable
AD-COMP-06InfoActive DirectoryComputers
Part of Active Directory · Active Directory · Computers · All checks
Invoke-Maester -TestId AD-COMP-06Overview
Section titled “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
Control Type
Section titled “Control Type”Detective
Security Recommendation
Section titled “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
Section titled “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
Section titled “Related Tests”Test-MtAdComputerOUCount- Shows the distribution of computers across OUsTest-MtAdComputerPerOUAverage- Analyzes OU structure effectiveness
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AD-COMP-06 |
| Severity | Info |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Computers |
| Area | Infrastructure hardening |
| Resource type | Computer |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtAdComputerInDefaultContainer |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:computer:ReadProperty |
Source
Section titled “Source”- Test:
tests/ad/computer/Test.AD-COMP-06.ps1 - Documentation:
tests/ad/computer/Test.AD-COMP-06.md
About this check
- Severity
- Info
- Product
- Active Directory
- Feature
- Computers
- Area
- Infrastructure hardening
- Suite
- Active Directory