Pcornel
Windows

Group Policy

Cheat sheet · https://pcornel.dk/topic.php?topic=379

Back to the Topic

Answer

Group Policy pushes settings to computers and users in an Active Directory domain. Settings live in Group Policy Objects, linked to a site, domain or organizational unit, and apply to the accounts located there.

Remember

Order: local, site, domain, OU — the last one wins, unless a link is Enforced. Computer settings follow the computer account's location, user settings the user's. A GPO applies only to accounts with Read and Apply permission. Some settings need a restart or logon.

First checks

  • gpresult /h report.html — RSoP report for user and computer
  • gpupdate /force — refresh policy
  • Get-GPO -All | Select DisplayName,GpoStatus — GPOs in the domain
  • Get-GPInheritance -Target '<OU DN>' — links and inheritance for an OU
  • Get-WinEvent -LogName Microsoft-Windows-GroupPolicy/Operational -MaxEvents 50 — processing events

Commands

gpupdate
Windows command used to refresh Group Policy for the current computer and/or user. `/force` reapplies all policy settin…
gpresult
Windows command that displays Resultant Set of Policy (RSoP) information for a user and computer, including applied pol…

Verify in this order

GPO linked → scope (security/WMI filters) → client processes in order → settings applied

Where it usually breaks

First mismatch in forest/domain/object identity → authoritative DC/source policy → replication/KDC/GP processing → client token/effective policy → target resource → event/audit verification; preserve identity/native error/pre-state before mutation.

Group Policy reference map

BoundaryMeaningEvidence limit
Link/scopeWhere a GPO can applynot proof target passes filters
FilteringSecurity/WMI applicabilitynot proof setting processed
ReplicationAD + SYSVOL version availabilitynot proof client used that replica
RSoPProcessed resultant policynot proof workload behaves correctly

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=379

Confirmation

Confirm action

Continue?