Skip to content

AD-GPOL-06: GPO linked OU count should be retrievable

ID AD-GPOL-06
Severity Info
Suite Active Directory (on-premises)
Product Active Directory
Feature Group Policy
Security area Infrastructure hardening
Resource type OrganizationalUnit
Reads from On-premises Active Directory

Understanding the distribution of GPO links across Organizational Units is important for several security reasons:

  • Policy Coverage: Identifies OUs that may lack necessary security policies
  • Compliance Assessment: Helps ensure all organizational units receive appropriate policy coverage
  • Security Gaps: OUs without GPO links may rely solely on domain-level policies, potentially missing OU-specific security controls
  • Policy Management: Provides visibility into how broadly GPOs are deployed across the directory structure

Operational

Review OUs without GPO links to ensure:

  • They inherit appropriate policies from parent containers
  • They don’t require OU-specific security policies
  • Critical security settings are not being missed
  • Consider creating OU-specific policies for organizational units with unique security requirements

This test retrieves all Organizational Units from Active Directory and counts:

  • Total number of OUs in the domain
  • Number of OUs with GPO links (gPLink attribute is populated)
  • Number of OUs without GPO links

The gPLink attribute is checked to determine if any GPOs are linked to each OU.

  • Test-MtAdGpoLinkedCount - Counts distinct GPOs with links
  • Test-MtAdGpoUnlinkedTargetCount - Counts targets without GPO links
  • Test-MtAdComputerOUCount - Counts distinct OUs containing computers

Mito check. Author: soulemike. Open-source licences.

Open-source licences. CIS Benchmark material © Center for Internet Security, Inc.; CISA SCuBA baselines are public domain (CC0).

© 2026 Virtual Petals. Mito is a Virtual Petals service, hosted in Microsoft Azure UAE North.