Use this when securing Group Policy and using it for security baselines.
Group Policy Security
Group Policy security protects GPOs from tampering, since anyone who can edit a GPO controls the computers it applies to. Limit GPO edit rights, audit changes, and use GPOs to enforce security baselines.
1. GPO security: who can edit GPOs controls the domain.
2. Restrict GPO edit rights.
3. Security baselines (Microsoft/CIS).
4. No passwords in GPP (cpassword).
5. Monitor GPO changes.
GPO → linked OU → applied to computers/users
Context & applicabilityCommon mistakes · platform/version boundaries
- Helpdesk or server admins able to edit GPOs linked to DCs.
- Group Policy Preferences with passwords still present in SYSVOL.
- Scripts in GPOs pointing to writable shares.
- No backup of GPOs before changes (
Backup-GPO -All -Path).
Operational reference
Fast context before you go deeper.
Get-GPO -All | ForEach-Object { Get-GPPermission -Guid $_.Id -All |Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Auditing GPO permissions Verify boundary
Get-GPO -All | ForEach-Object { Get-GPPermission -Guid $_.Id -All |
Where-Object Permission -match 'Edit' | Select @{n='GPO';e={$_.DisplayName}},Trustee,Permission }
Only Tier 0 admins should edit GPOs linked to domain controllers or the domain root. Also check SYSVOL file permissions and GPP passwords (cpassword in SYSVOL XML files).
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Whoever edits a GPO controls computers it applies to.
- SYSVOL permissions matter too.
- GPO changes should be audited.
gpresult /h report.html— applied policiesGet-GPO -All | ft DisplayName,ModificationTime— GPO inventoryGet-GPPermission -All -Guid <gpo>— GPO permissions
ReferenceWhy it matters1 section · depth on demand
Protecting GPOs
- Limit who can edit or link GPOs, especially those linked to the Domain Controllers OU or domain root.
- Watch for changes: events 5136/5141 and GPO version changes.
- Check SYSVOL permissions; anyone who can write a GPO's files controls its computers.
- Do not store passwords in GPO preferences (cpassword is decryptable).
A GPO can run scripts, create admin accounts or deploy software, so editing rights equal admin rights on every target.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Group Policy is how Active Directory pushes security settings to computers and users — and therefore a powerful attack path: whoever can edit a GPO linked to many computers can run code on all of them.
Securing Group Policy:
| Area | Measure |
|---|---|
| Permissions | Review who can edit/link GPOs (delegation tab); few editors |
| SYSVOL | No passwords in scripts or Group Policy Preferences (cpassword is decryptable) |
| Change control | Backups, versioning (AGPM or scripted exports), reviews |
| Monitoring | Alert on GPO changes (event 5136 on the GPO object) and new links |
| Content | Security baselines applied via GPO |
Get-GPO -All | ForEach-Object { Get-GPPermission -Guid $_.Id -All | Where-Object Permission -match 'Edit' }
findstr /S /I cpassword \\corp.example.com\SYSVOL\*.xml
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Active Directory Security → Group Policy Security. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows/security/ · confidence 94%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.