No GPOs should have version mismatches
AD-GPOREP-16MediumActive DirectoryGroup Policy
Part of Active Directory · Active Directory · Group Policy · All checks
Invoke-Maester -TestId AD-GPOREP-16Overview
Section titled “Overview”Test-MtAdGpoVersionMismatchDetails
Section titled “Test-MtAdGpoVersionMismatchDetails”Returns details of GPOs with a version mismatch.
Why This Test Matters
Section titled “Why This Test Matters”- Detective control: identifies GPOs where the version reported has a mismatch, potentially indicating stale or misapplied policy definitions.
Control Type
Section titled “Control Type”Detective
Security Recommendation
Section titled “Security Recommendation”- Validate GPO versions against a known baseline and correct mismatches to ensure consistent policy behavior.
How the Test Works
Section titled “How the Test Works”- Fetches GPO state, filters GPOReports for HasVersionMismatch being true, and presents a table of mismatched GPOs.
Related Tests
Section titled “Related Tests”Test-MtAdGpoVersionMismatchCount- counts GPOs with version mismatches.
Related links
Section titled “Related links”- Microsoft Learn - Group Policy management
- ANSSI checkpoint: https://www.anssi.gouv.fr/
Details
Section titled “Details”Every attribute of this check
| Field | Value |
|---|---|
| Test ID | AD-GPOREP-16 |
| Severity | Medium |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Group Policy |
| Area | Infrastructure hardening |
| Resource type | GroupPolicy |
| User impact | Low |
| Implementation cost | Medium |
| MITRE ATT&CK | None |
| PowerShell test | Test-MtAdGpoVersionMismatchDetails |
| Services | ActiveDirectory |
| Permissions | ActiveDirectory:Ldap:groupPolicyContainer.gPCFileSysPath:ReadProperty, ActiveDirectory:File:SYSVOL:Read |
Source
Section titled “Source”- Test:
tests/ad/gpo-state/Test.AD-GPOREP-16.ps1 - Documentation:
tests/ad/gpo-state/Test.AD-GPOREP-16.md
About this check
- Severity
- Medium
- Effort to fix
- Medium
- Impact on users
- Low
- Product
- Active Directory
- Feature
- Group Policy
- Area
- Infrastructure hardening
- Suite
- Active Directory