AD-GPOS-04 - Disabled GPO settings count should be retrievable
Overviewโ
Test-MtAdGpoSettingsDisabledCountโ
Counts GPOs where settings are disabled (AllDisabled, UserDisabled, or ComputerDisabled).
Why This Test Mattersโ
- Detective control: checks how many GPOs have disabled settings (AllDisabled, UserDisabled, ComputerDisabled).
Control Typeโ
Operational
Security Recommendationโ
- Review disabled settings to confirm they are intentional and document exceptions if needed.
How the Test Worksโ
- Counts GPOs whose GpoStatus maps to a disabled state and reports totals and ratios.
Related Testsโ
Test-MtAdGpoAllSettingsDisabledDetailsandTest-MtAdGpoSettingsDisabledCount.
Related linksโ
- Microsoft Learn - Group Policy management
- ANSSI checkpoint: https://www.anssi.gouv.fr/
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-GPOS-04 |
| Severity | Info |
| Suite | Active Directory |
| Category | AD.GPOState |
| PowerShell test | Test-MtAdGpoSettingsDisabledCount |
| Tags | AD, AD-GPOS-04, AD.GPOState |
Sourceโ
- Pester test:
tests/ad/gpostate/Test-MtAdGpoSettingsDisabledCount.Tests.ps1 - PowerShell source:
powershell/public/ad/gpostate/Test-MtAdGpoSettingsDisabledCount.ps1
