Skip to content

Lesson 6 of 14 · 16m

GPO Order: LSDOU and the Toggles That Flip It

Local-Site-Domain-OU ordering plus Enforced, Block Inheritance, security filtering, WMI filters, and loopback mode decide which policy actually lands.

LSDOU, and the two toggles that flip it

Group Policy applies in a fixed order: Local, Site, Domain, OU. Later wins — an OU-level GPO beats a domain-level one on a conflicting setting, and OUs process parent-to-child, so the deepest OU has the last word. Within one container, link order decides: in GPMC the precedence list runs top-down, and the link closest to the top applies last. That's the whole engine.

The wrong model is "nearest wins, like CSS specificity." It's mostly true until the two toggles enter:

  • Block Inheritance on an OU stops every inherited non-enforced GPO upstream.
  • Enforced (the old "No Override") on a link makes that GPO apply through Block Inheritance — a domain-level Enforced GPO wins over an OU that tried to opt out.

So the real precedence rule is: enforced high-level GPOs can't be shaken; everything else falls in LSDOU order.

One more ordering detail that bites: when several GPOs link to the same OU, GPMC's link-order list ranks them — position 1 is highest precedence because it applies last. Dragging a GPO to the top of an OU's list makes it the winner, which is backwards from every other "first in the list wins" UI you'll ever use. Enforced GPOs sit above the whole stack regardless.

Filtering: who actually applies it

Scope is three knobs, not one. Security filtering sets the permission pair — Read plus Apply Group Policy — that a GPO requires; the default is Authenticated Users, and if you scope to a pilot group, remember that computer objects need Apply too for machine-side settings. WMI filters attach a WQL query evaluated at apply time — SELECT * FROM Win32_OperatingSystem WHERE BuildNumber >= 22000 targets Windows 11 — one filter per GPO, and on slow hardware it costs logon time. And loopback processing (Computer Configuration → Administrative Templates → System → Group Policy → "Configure user Group Policy loopback processing") rewrites where user settings come from: merge combines the computer-OU's user settings with the user's own, replace discards the user's entirely. Replace is the kiosk answer: identical user environment regardless of who logs on.

gpresult is the truth, not the console

When the tree disagrees with your mental model, the console will happily lie to you by omission — it doesn't show blocked, filtered, or security-denied GPOs unless you run the analysis. Not Applied (Empty) is its own diagnostic too: a GPO containing only settings that don't exist on this OS version is filtered out and listed as such. The commands that matter:

gpresult /r
gpresult /h gpreport.html

/r gives the summary — which GPOs applied to computer and user, from which DC, and which were filtered out and why. /h writes the full RSoP report as HTML. Get-GPResultantSetOfPolicy does it remotely against another machine or user. RSOP.msc renders it as a console tree. Denied GPOs show a reason — "Denied (Security)" or "Denied (Inheritance)" — which is almost always the actual answer.

This is a real-world failure class on its own: the pilot group that "didn't get the policy" because security filtering dropped Authenticated Users and nobody added the test group; the OU where Block Inheritance silenced the baseline; the kiosk that still got roaming user settings because loopback was set to merge. Every one of those is invisible until you run gpresult on the box that misbehaves. Not Applied (Empty) and Denied (Security) are answers, not errors — they tell you the mechanism worked as configured and the configuration is wrong.

Design the OU tree around GPO scope first, filter deliberately, and when something doesn't apply, stop reasoning about it — query it.

Was this lesson helpful?

Sign in to rate

Keep reading

Related articles from the SudoSecurity blog.