Group Policy
Cheat sheet · https://pcornel.dk/topic.php?topic=379
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 computergpupdate /force— refresh policyGet-GPO -All | Select DisplayName,GpoStatus— GPOs in the domainGet-GPInheritance -Target '<OU DN>'— links and inheritance for an OUGet-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
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Link/scope | Where a GPO can apply | not proof target passes filters |
| Filtering | Security/WMI applicability | not proof setting processed |
| Replication | AD + SYSVOL version availability | not proof client used that replica |
| RSoP | Processed resultant policy | not 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