Skip to content

AD-GPOL-04: Enforced GPO link count should be retrievable

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

Enforced Group Policy Object (GPO) links are special link entries that block inheritance from being overridden at lower levels (for example, by child OUs).

This can be a powerful mechanism for security baselines, but it also increases the chance that a critical policy unintentionally becomes “sticky” across the domain.

Detective

  • Enforced GPOs override inheritance blocking: any configuration enforced at a higher scope can still apply even if child OUs attempt to disable inheritance.
  • Use enforced links sparingly: reserve them for critical security policies that must apply everywhere.
  • Review enforced policies regularly: confirm the GPO’s purpose and ownership, and ensure the enforced settings remain aligned with current security requirements.

This test retrieves Active Directory GPO state from Get-MtADGpoState (using $gpoState.GPOLinks) and:

  1. Examines each collected link object for the Enforced property.
  2. Counts link entries where Enforced is $true.
  3. Reports the enforced link count and the enforced ratio in Markdown.
  • Test-MtAdGpoTotalCount - Counts total GPO inventory
  • Test-MtAdGpoLinkedCount - Identifies GPOs that are actively linked
  • Test-MtAdGpoUnlinkedCount - Identifies GPOs not linked anywhere
  • Test-MtAdGpoUnlinkedDetails - Shows unlinked GPO details

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.