AD.CLOUDSCHOOL.AI · PAGE 06 OF 14

Group Policy operations and design (overview)

How Group Policy applies, LSDOU order, inheritance, filtering, loopback, central store, GPMC operations and design rules. Details on gpo.cloudschool.ai.

What a GPO is

A Group Policy Object is a set of settings that domain-joined Windows machines download and apply. Each GPO has two halves:

  • Group Policy Container (GPC): an AD object under CN=Policies,CN=System with the version, status and links. Replicates with AD.
  • Group Policy Template (GPT): a folder in SYSVOL\<domain>\Policies\{GUID} with registry.pol files, scripts and security templates. Replicates with DFSR.

Each GPO has Computer Configuration (applies at startup and every 90 minutes ± 30, every 5 minutes on DCs) and User Configuration (applies at logon and on the same refresh), each split into Policies (enforced, reverted when removed) and Preferences (set once, user can change, not reverted).

This page is the high-level view. Every setting area, ADMX template, security baseline and troubleshooting walkthrough is on gpo.cloudschool.ai.

Processing order: LSDOU

  1. Local policy on the machine
  2. Site-linked GPOs
  3. Domain-linked GPOs
  4. OU-linked GPOs, parent OU first, the OU holding the object last

The last GPO applied wins a conflict, so the closest OU wins. Within one container, link order 1 has the highest precedence (it applies last).

ControlSet onEffect
Block InheritanceOUIgnores GPOs linked above, except enforced ones.
EnforcedGPO linkCannot be blocked and wins over GPOs linked lower down.
Security filteringGPOApplies only to users or computers with Read and Apply Group Policy. Keep Authenticated Users or Domain Computers with Read.
WMI filterGPOApplies only if a WMI query is true, such as OS version or laptop. Costs time at every refresh.
Item-level targetingPreference itemFine-grained conditions for a single preference (group, IP range, OS).
Loopback (Merge / Replace)Computer settingsApplies user settings based on the computer's OU. For kiosks, RDS and labs.
Link disabled / GPO statusLink or GPOTurn off a link, or the user or computer half of a GPO, without deleting it.

Policies that only work at domain level

  • Password, account lockout and Kerberos policy for domain accounts come only from GPOs linked to the domain (normally the Default Domain Policy).
  • Different password rules for groups use fine-grained password policies (Password Settings Objects) in ADAC, not GPOs.
  • The Default Domain Controllers Policy sets user rights and audit settings for DCs. Change it carefully, or better, add a separate DC GPO.

Everyday GPO operations

# Create, link and set order
New-GPO -Name "WS - Security Baseline" | New-GPLink -Target "OU=Workstations,OU=Corp,DC=corp,DC=contoso,DC=com" -LinkEnabled Yes
Set-GPLink -Name "WS - Security Baseline" -Target "OU=Workstations,..." -Order 1

# Back up, restore, copy, import
Backup-GPO -All -Path \\backup\gpo
Restore-GPO -Name "WS - Security Baseline" -Path \\backup\gpo
Copy-GPO -SourceName "WS - Base" -TargetName "WS - Pilot"
Import-GPO -BackupGpoName "WS - Base" -Path \\backup\gpo -TargetName "WS - Base" -CreateIfNeeded

# Report and check results on a client
Get-GPOReport -All -ReportType Html -Path C:\gpo.html
gpupdate /force
gpresult /h result.html
Invoke-GPUpdate -Computer PC042 -Force
  • Group Policy Modeling (planning) and Group Policy Results in GPMC show what would apply and what actually applied.
  • Central Store: one copy of ADMX/ADML templates in SYSVOL keeps every admin editing with the same templates.
  • Starter GPOs and migration tables help when copying GPOs between domains.
  • Track changes: GPMC has no versioning. Back up before every change, or use Advanced Group Policy Management (AGPM, out of mainstream support) or your own scripts in source control.

Design rules that age well

One purpose per GPO

"WS - Browser", "WS - Defender", "SRV - RDP". Easier to troubleshoot and reuse than one giant GPO.

Naming convention

Prefix with scope and type, such as C- computer, U- user, WS, SRV, DC.

Leave the defaults alone

Only password, lockout and Kerberos settings in the Default Domain Policy; only DC rights in the Default DC Policy.

Link low, filter little

Link to the OU that needs it. Avoid lots of security and WMI filters, Block Inheritance and Enforced: they hide where settings come from.

Start from baselines

Microsoft Security Compliance Toolkit baselines, then layer your exceptions in separate GPOs.

Pilot first

Link to a pilot OU or filter to a pilot group, then widen. Disable unused halves of each GPO for faster processing.

Modern alternatives: Intune configuration profiles and settings catalog for cloud-managed devices. Many organizations run both during the move.

Continue on gpo.cloudschool.ai ↗