Where Group Policy permissions live
Group Policy has four separate places that hold permissions. Mixing them up is the main cause of "I can edit it but can't link it" problems.
| Object | Permission | Set in GPMC |
|---|---|---|
| Domain (GPO container) | Create GPOs | Group Policy Objects node > Delegation tab |
| A GPO | Read, Read + Apply (filtering), Edit settings, Edit settings + delete + modify security | The GPO's Delegation tab (and Security Filtering box) |
| Site, domain or OU | Link GPOs, Perform Group Policy Modeling analyses, Read Group Policy Results data | The container's Delegation tab |
| WMI Filters container / a filter | Creator Owner, Full Control, Edit | WMI Filters node > Delegation tab |
The GPMC permission levels are bundles of AD and SYSVOL rights. GPMC sets the AD ACL on the GPC and the matching NTFS ACL on the GPT folder together. If they drift apart, GPMC shows "The permissions for this GPO in the SYSVOL folder are inconsistent with those in Active Directory".
Default permissions
- Domain Admins and Enterprise Admins: full control of every GPO and every link in the domain.
- Group Policy Creator Owners: can create GPOs in the domain and becomes the owner (full control) of the GPOs they create. They can't link GPOs anywhere unless you delegate Link GPOs on an OU. Members who are not admins can't edit GPOs created by others.
- Authenticated Users: Read and Apply group policy on new GPOs.
- ENTERPRISE DOMAIN CONTROLLERS: Read.
- SYSTEM: full control.
New GPOs take their default ACL from the defaultSecurityDescriptor of the groupPolicyContainer class in the schema. Change it there only if every new GPO must start with a different ACL, and document the change.
Apply vs edit
Apply group policy decides who receives the settings. Edit settings decides who can change them. They are independent: an administrator usually should not have Apply on a workstation GPO, and the workstations should never have Edit.
- Keep Authenticated Users or Domain Computers with Read on every GPO (MS16-072).
- Use Deny Apply group policy for exclusions sparingly and name the group clearly, for example
GPO-Exclude-WS-Baseline. - Anyone with Edit on a GPO that applies to domain controllers or tier 0 servers controls those servers. Treat that permission as Domain Admin.
A delegation design
- GPO authors (for example
GPO-Authors-Workstations): Edit settings on the workstation GPOs only. - GPO linkers (for example
GPO-Link-Workstations): Link GPOs on the Workstations OU only. - Helpdesk: Read Group Policy Results data on the Workstations OU, so they can run the Results wizard without admin rights.
- Architects: Perform Group Policy Modeling analyses on the domain.
- Tier 0 GPOs (Default Domain Policy, Default Domain Controllers Policy, any GPO linked to Domain Controllers or applying to tier 0 servers): edited only by Domain Admins from privileged access workstations.
# Delegate edit on one GPO, link on one OU (GPMC cmdlets + AD rights)
Set-GPPermission -Name "WS - Security Baseline" -TargetName "GPO-Authors-Workstations" -TargetType Group -PermissionLevel GpoEdit
# Link permission is an AD right on the OU (write gPLink and gPOptions). Easiest in GPMC:
# OU > Delegation tab > Permission: "Link GPOs" > Add...
# Audit who can edit which GPO
Get-GPO -All | ForEach-Object {
$g = $_
Get-GPPermission -Guid $g.Id -All | Where-Object Permission -in 'GpoEdit','GpoEditDeleteModifySecurity' |
Select-Object @{n='GPO';e={$g.DisplayName}}, @{n='Trustee';e={$_.Trustee.Name}}, Permission
}
Auditing GPO changes
- Enable Audit Directory Service Changes (Advanced Audit Policy > DS Access) on the Default Domain Controllers Policy. GPO edits then log event 5136 on the DC (attribute
versionNumber,gPLinkorgPCMachineExtensionNameschanged) and 5137 / 5141 for created and deleted GPOs. - Add a SACL for "Write all properties" on
CN=Policies,CN=Systemand on your OUs (forgPLink) so these events fire. - Track settings drift by exporting
Get-GPOReport -All -ReportType Xmlon a schedule and diffing it, or by storing GPO backups in Git.
References: GPMC, Set-GPPermission, Event 5136.