Advanced Group Policy: loopback, WMI filters and backups
-
Phase 0: Before you start
-
Phase 1: The foundation
-
Phase 2: Core administration and security
-
Phase 3: Enterprise infrastructure
-
Phase 4: Troubleshooting step by step
-
Phase 5: Final project and career
Basic GPOs take you a long way, but real networks also have kiosks, Remote Desktop servers, a mix of Windows versions and now and then a GPO someone deleted. Advanced Group Policy is the set of tools for those cases: the central store, loopback, WMI filters, targeting, backups and modelling.
You’ll set up the central store, back up every GPO and target a computer GPO with a WMI filter. Then you’ll use loopback on a kiosk OU, add item-level targeting, model results before linking and redirect Documents to SRV01.
| Time | You need | By the end you can |
|---|---|---|
| About 90 minutes | DC01, SRV01 and CL01 with the GPOs from Lesson 19 | Manage ADMX files, back up and restore GPOs, use WMI filters, loopback and item-level targeting, run RSoP reports and set up Folder Redirection |
What it is, in one line
Advanced Group Policy covers the features that control where, when and how safely policies apply, such as filters, loopback, targeting, the central store, backups and modelling.
In Simple Words
Rules for rooms, not just people
At school, most rules depend on who you are, so a Year 5 student follows Year 5 rules wherever they go. The science lab is different: it has its own rules for everyone who walks in, teachers included, like goggles on and no food. Loopback is that science lab rule, where settings depend on the computer someone signs in to rather than on who they are. A WMI filter is like “this rule only applies in rooms with a projector”, and item-level targeting is “give this locker only to the chess club”.
Backups are the photocopy of the rule book kept in the office safe for the day someone tears a page out.
Engineer's View
ADMX, loopback, WMI, ILT and RSoP
Central store: Administrative Templates are ADMX/ADML files, and by default each admin’s editor reads them from its own C:\Windows\PolicyDefinitions. If you create a PolicyDefinitions folder inside SYSVOL’s Policies folder, it becomes the central store and every admin sees the same, up-to-date templates.
Loopback (the Computer Configuration setting “Configure user Group Policy loopback processing mode”) applies the user settings from GPOs linked to the computer’s OU. Merge adds them after the user’s normal GPOs, so the computer side wins, while Replace uses only the GPOs on the computer’s OU. You’ll usually see it on kiosks, labs and Remote Desktop servers.
WMI filters run a WQL query on the computer, and the GPO applies only if the query returns something. They cost time at every refresh, so keep the queries simple. Item-level targeting filters individual Preference items by group, OS, IP range and more, without needing extra GPOs.
Backups and modelling: Backup-GPO saves settings, permissions and WMI filter links, but not the GPO’s links to OUs. Group Policy Modeling (RSoP planning) predicts the result for a user and computer anywhere in AD, while Group Policy Results reads what actually applied.
How it works, step by step
Here’s how loopback changes where user settings come from when Priya signs in to a kiosk:
With Merge, Priya still gets her normal Staff GPOs and then the kiosk’s user settings on top; with Replace she’d get only the kiosk’s user settings. Replace is common on Remote Desktop servers, where you want every session to look the same.
Here’s what you’ll add to the lab:
- Central store in SYSVOL, and a backup of every GPO.
- C-Workstation-Security, a computer GPO with a WMI filter for Windows 11.
- C-Kiosk-Loopback, on a Kiosks OU, which blocks Control Panel for anyone signing in there.
- Item-level targeting: an F: drive only for GG_Finance.
- RSoP report for Priya on CL01.
- Folder Redirection of Documents to SRV01.
Hands-on Lab: advanced Group Policy in saatlab.internal
Before you run any command, double-check it
Read every command twice before you press Enter. Check the target: the system or account, the IDs, the names and the sizes. These commands are for learning and were tested in our lab, not on your system. At work, run the read-only list commands first, follow your change process, make sure a backup exists, and ask a second person to check anything that changes or deletes data. You run them at your own risk.
Start DC01, SRV01 and CL01. Work on DC01 as SAATLAB\Administrator in PowerShell as administrator and keep Group Policy Management open.
1Create the central store
On DC01, copy the local templates into SYSVOL:
$store = '\\saatlab.internal\SYSVOL\saatlab.internal\Policies\PolicyDefinitions'
Copy-Item C:\Windows\PolicyDefinitions $store -Recurse
Test-Path "$store\en-US"You should see this:
TrueEdit any GPO and click Administrative Templates, and the heading now says the policy definitions came from the central store. Whenever a new Windows version adds settings, you download Microsoft’s latest ADMX package and update this one folder.
✅ Checkpoint: Administrative Templates shows “retrieved from the central store” in the editor.
2Back up every GPO
On DC01, run this:
New-Item -ItemType Directory C:\GPOBackups -Force | Out-Null
Backup-GPO -All -Path C:\GPOBackups | Select-Object DisplayName, Id | Format-Table -AutoSizeYou should see something like this:
DisplayName Id
----------- --
U-Finance-Printer 7c2e4b1a-0d3f-4e59-9a61-2b8c5d7e9f10
Default Domain Controllers Policy d41b9e6c-8a2f-4c37-b5e0-1f6a3c9d2e84
Default Domain Policy 3f8a1c5e-6b2d-4f90-8e7a-9c0d1b2e3f45
U-Staff-Desktop a9d3e7f1-2c4b-4d68-91e0-5b7c3a8f6d22Each Id is a backup folder under C:\GPOBackups. At work you’d keep these off the DC and run the backup on a schedule (Lesson 27 turns it into a scheduled task).
✅ Checkpoint: Four backups exist in C:\GPOBackups.
3Target a computer GPO with a WMI filter
Test the query on CL01 first (PowerShell as administrator):
Get-CimInstance -Query "SELECT * FROM Win32_OperatingSystem WHERE ProductType = 1 AND Version LIKE '10.0.2%'" | Select-Object Caption, VersionYou should see something like this:
Caption Version
------- -------
Microsoft Windows 11 Enterprise Evaluation 10.0.26200ProductType 1 means a workstation, and Windows 11 version numbers start with 10.0.2 (build 22000 and later). On a server the query returns nothing, so the GPO won’t apply there.
In Group Policy Management, right-click WMI Filters, choose New, name it Windows 11 only, click Add, and paste the query (namespace root\CIMv2). Save it.
On DC01, create the GPO, give it one setting and link it:
New-GPO -Name 'C-Workstation-Security' | New-GPLink -Target 'OU=Workstations,OU=SAATLAB,DC=saatlab,DC=internal' | Out-Null
Set-GPRegistryValue -Name 'C-Workstation-Security' -Key 'HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -ValueName RestrictDriverInstallationToAdministrators -Type DWord -Value 1 | Out-NullSelect C-Workstation-Security in GPMC and pick Windows 11 only under WMI Filtering at the bottom of the Scope tab. The setting keeps printer driver installs admin-only, which you learned about in Lesson 18.
On CL01, refresh and check:
gpupdate /force
gpresult /r /scope computer | Select-String 'C-Workstation'
Get-ItemProperty 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' | Select-Object RestrictDriverInstallationToAdministratorsYou should see something like this:
C-Workstation-Security
RestrictDriverInstallationToAdministrators
------------------------------------------
1✅ Checkpoint: C-Workstation-Security applies to CL01 and the registry value is 1.
4Loopback on a Kiosks OU
On DC01, create the OU and a loopback GPO in Merge mode with a single user setting:
New-ADOrganizationalUnit -Name Kiosks -Path 'OU=Workstations,OU=SAATLAB,DC=saatlab,DC=internal'
New-GPO -Name 'C-Kiosk-Loopback' | New-GPLink -Target 'OU=Kiosks,OU=Workstations,OU=SAATLAB,DC=saatlab,DC=internal' | Out-Null
Set-GPRegistryValue -Name 'C-Kiosk-Loopback' -Key 'HKLM\Software\Policies\Microsoft\Windows\System' -ValueName UserPolicyMode -Type DWord -Value 1 | Out-Null
Set-GPRegistryValue -Name 'C-Kiosk-Loopback' -Key 'HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer' -ValueName NoControlPanel -Type DWord -Value 1 | Out-Null
Get-ADComputer CL01 | Move-ADObject -TargetPath 'OU=Kiosks,OU=Workstations,OU=SAATLAB,DC=saatlab,DC=internal'UserPolicyMode 1 is Merge (2 is Replace), and it’s the loopback setting under Computer Configuration, System, Group Policy. NoControlPanel is a user setting sitting in a GPO linked to a computer OU, and it only works there because of loopback.
Restart CL01, since computer settings and the OU move need it, then sign in as Priya and try to open Control Panel. You’ll get a message saying the operation was cancelled because of restrictions in effect on this computer.
Afterwards, move CL01 back so the later lessons behave as expected:
Get-ADComputer CL01 | Move-ADObject -TargetPath 'OU=Workstations,OU=SAATLAB,DC=saatlab,DC=internal'✅ Checkpoint: Control Panel was blocked for Priya on CL01 while it was in Kiosks, and CL01 is back in Workstations.
5Item-level targeting: an F: drive for Finance only
Edit U-Staff-Desktop, go to User Configuration, Preferences, Windows Settings, Drive Maps and add a mapped drive: Update, \\saatlab.internal\Files\Departments\Finance, letter F, label Finance.
On its Common tab, tick Item-level targeting, click Targeting, then New Item, Security Group, choose SAATLAB\GG_Finance and click OK twice. Priya gets F: at her next sign-in, while Sneha in IT doesn’t, even though it’s the same GPO.
✅ Checkpoint: After signing in again, Priya has both S: and F:.
6Report what applies, and model before you link
On DC01, create an RSoP report for Priya on CL01:
New-Item -ItemType Directory C:\Temp -Force | Out-Null
Get-GPResultantSetOfPolicy -User 'SAATLAB\priya.sharma' -Computer CL01 -ReportType Html -Path C:\Temp\priya-cl01.html
Start-Process C:\Temp\priya-cl01.htmlThe report lists every applied and denied GPO for both halves, which GPO won each setting, and any errors. When you want to know “what would happen if…”, use Group Policy Modeling in GPMC: you pick a user, a computer and their OUs, and it predicts the result before you’ve linked anything.
✅ Checkpoint: The HTML report opens and lists U-Staff-Desktop, U-Finance-Printer and C-Workstation-Security.
7Redirect Documents to SRV01
On SRV01, create the share with the permissions Microsoft recommends for Folder Redirection:
New-Item -ItemType Directory D:\Redirect | Out-Null
icacls D:\Redirect /inheritance:r /grant:r "SYSTEM:(OI)(CI)F" "BUILTIN\Administrators:(OI)(CI)F" "CREATOR OWNER:(OI)(CI)(IO)F" "Authenticated Users:(RD,AD,RA,X)"
New-SmbShare -Name 'Redirect$' -Path D:\Redirect -FullAccess 'NT AUTHORITY\Authenticated Users' -FolderEnumerationMode AccessBased | Out-NullUsers can create their own folder in the root but can’t see anyone else’s, and CREATOR OWNER gives each user full control of what they create. On DC01, create a GPO called U-Folder-Redirection linked to Staff and edit it: User Configuration, Policies, Windows Settings, Folder Redirection, Documents, Properties.
Choose Basic, Create a folder for each user under the root path, and root path \\SRV01\Redirect$. Click OK and accept the warning.
On CL01, sign Priya out and back in (it sometimes takes two goes), then check:
[Environment]::GetFolderPath('MyDocuments')You should see this:
\\SRV01\Redirect$\priya.sharma\Documents✅ Checkpoint: Priya’s Documents folder now lives on SRV01. Take snapshots called “GP advanced” of DC01, SRV01 and CL01.

Break It, Then Fix It
Two failures that only show up with the advanced features: a WMI filter that quietly leaves everyone out, and a deleted GPO that comes back without its links.
1Break it: a WMI filter with a typo
In Group Policy Management, open WMI Filters, Windows 11 only, click Edit Filter, change '10.0.2%' to '10.0.3%' and save.
On CL01 (as administrator), refresh and look at the computer results:
gpupdate /force
gpresult /r /scope computerYou’ll see something like this:
The following GPOs were not applied because they were filtered out
-------------------------------------------------------------------
C-Workstation-Security
Filtering: Denied (WMI Filter)You get no error and no red event, because the filter returned nothing on CL01 and the GPO was skipped. Filters are shared, so a single typo can switch off every GPO that uses one.
To fix it, correct the query and test it on a client before you save it again:
Get-CimInstance -Query "SELECT * FROM Win32_OperatingSystem WHERE ProductType = 1 AND Version LIKE '10.0.2%'" | Select-Object CaptionPut '10.0.2%' back in the filter and run gpupdate /force on CL01, and C-Workstation-Security shows up under applied GPOs again.
✅ Checkpoint: gpresult showed “Denied (WMI Filter)” with the typo and the GPO applied after the fix.

2Break it: delete a GPO, then restore it
On DC01, delete U-Staff-Desktop:
Remove-GPO -Name 'U-Staff-Desktop'
Get-GPInheritance -Target 'OU=Staff,OU=SAATLAB,DC=saatlab,DC=internal' | Select-Object -ExpandProperty GpoLinks | Select-Object DisplayNameYou’ll see something like this:
DisplayName
-----------
U-Finance-Printer
U-Folder-RedirectionBoth the GPO and its link have gone, and at their next sign-in staff lose S:, F: and the screen saver lock. Now bring it back from the backup you took in step 2:
To fix it, import from the backup and then re-create the link:
Import-GPO -BackupGpoName 'U-Staff-Desktop' -TargetName 'U-Staff-Desktop' -Path C:\GPOBackups -CreateIfNeeded | Out-Null
New-GPLink -Name 'U-Staff-Desktop' -Target 'OU=Staff,OU=SAATLAB,DC=saatlab,DC=internal' -Order 1 | Select-Object DisplayName, Enabled, OrderYou should see something like this:
DisplayName Enabled Order
----------- ------- -----
U-Staff-Desktop True 1The settings are back, but only as they were at the moment of the backup. The F: drive you added in step 5 came later, so it stays missing until you add it again, and you had to make the link by hand because backups don’t hold links. Keep a list of links (Get-GPInheritance output) alongside every backup.
✅ Checkpoint: U-Staff-Desktop is restored and linked to Staff with order 1, and you re-added the F: drive.
This happened at work
The day half the settings disappeared
An admin wanted the new Windows 11 settings to show up in the editor, so he copied ADMX files into the central store from a laptop he had nearby. The laptop was running an old Windows 10 build, and the copy overwrote the newer files already in SYSVOL. Next morning, colleagues editing GPOs found lots of settings, Windows Update and Defender among them, sitting under “Extra Registry Settings” instead of their usual places. One of them decided the GPOs must be corrupt and started rebuilding them.
In fact the GPOs were fine and computers were still getting the settings; the editor simply had no template to display them with. Restoring the central store from a SYSVOL backup and then updating it from Microsoft’s current ADMX package fixed the view. The fix: the central store is now updated only from the official ADMX download, after the current folder is copied to a dated backup, and changes go through the change board.
The lesson: every admin shares the central store, so treat it as production, because that’s what it is.
Common mistakes and troubleshooting
| Mistake or symptom | What happens | What to do instead |
|---|---|---|
| Settings show as “Extra Registry Settings” | The editor has no ADMX for them | Update the central store from the current ADMX package |
| Loopback Replace by accident | Users lose all their normal user settings on those computers | Use Merge unless you really want Replace |
| Complex or slow WMI filters | Slower startups and refreshes | Short, simple queries; test them with Get-CimInstance |
| “Denied (WMI Filter)” everywhere | A shared filter has a mistake | Test the query on a client before saving |
| Expecting Backup-GPO to keep links | A restored GPO applies nowhere | Record links with each backup and re-create them |
| Using many GPOs where one Preference with ILT would do | GPO sprawl and slower processing | Item-level targeting for Preference items |
| Folder Redirection with wrong share permissions | Redirection fails or users see each other’s folders | Use the documented CREATOR OWNER and this-folder-only rights |
| Linking before modelling | Surprises in production | Group Policy Modeling or a pilot OU first |
| No scheduled GPO backups | A deleted GPO has to be rebuilt from memory | Back up all GPOs daily, off the DC |
Interview questions
Click a question to open it. Each one is phrased the way an interviewer would ask it, and underneath you’ll find why they ask it and one way you could answer in your own words.
Fresher level
1. Two admins see different options in the Group Policy editor for the same GPO. What is the central store, and how would it fix that?
Why they ask this: They want to check that you know how ADMX templates are managed, so every admin works from the same set.
How you might answer: It’s a PolicyDefinitions folder in SYSVOL that holds the ADMX and ADML files. Once it’s there, every admin’s editor uses the same templates from it, so everyone sees the same settings.
2. Can you explain in simple words what loopback processing is for?
Why they ask this: They want to see that you understand the idea and know the typical places it is used.
How you might answer: Normally user settings follow the user, and loopback makes them depend on the computer the person signs in to instead. You’d use it on kiosks, training labs and Remote Desktop servers, where the machine should decide the experience.
3. Have you backed up and restored GPOs before? How did you do it?
Why they ask this: They want to know if you have done it hands-on, and if you know what a restore does not bring back.
How you might answer: Yes. I use Backup-GPO, and Restore-GPO or Import-GPO to bring them back, and GPMC has the Back Up and Manage Backups options too. The thing to remember is that links aren’t part of the backup, so I have to re-create them.
2–5 years experience
4. How would you explain the difference between loopback Merge and Replace to a colleague?
Why they ask this: They want to check that you know exactly how each mode treats the user’s normal GPOs.
How you might answer: With Merge, the user’s normal GPOs apply first and then the user settings from the computer’s OU, which win any conflict. With Replace, the user’s normal GPOs are ignored and only the user settings from the computer’s OU GPOs apply.
5. When would you use a WMI filter on a GPO, and what problems can they cause?
Why they ask this: They want to see that you weigh what a feature costs as well as what it can do.
How you might answer: I’d use one to target by OS version, hardware or some other property when the OUs don’t separate those machines. The downside is that they run at every refresh, so complex ones slow processing down, and a wrong filter fails silently and the GPO doesn’t apply.
6. What’s the difference between Group Policy Modeling and Group Policy Results, and when would you use each?
Why they ask this: They want to check that you know both RSoP tools and use the right one for planning or for troubleshooting.
How you might answer: Modeling simulates what would apply for a chosen user and computer in chosen locations, so I use it before a change or a move. Results reads what really applied on a real computer for a real user, so that’s my troubleshooting tool.
Senior level
7. In a large company, one wrong GPO can hit thousands of machines. How would you manage Group Policy changes safely?
Why they ask this: They want to see that you use change control and staged rollouts, not edits straight into live policy.
How you might answer: I’d test in pilot OUs first, roll out in stages and check the result with Group Policy Modeling. Backups would go into version control, with AGPM-style review where we have it, and I’d keep naming standards, document the links and run scheduled backups with restores we’ve tested.
8. You’re asked to set up user settings for a Remote Desktop Session Host farm. How would you design it?
Why they ask this: They want to see that you can apply loopback well in a real design, including profiles and exceptions.
How you might answer: I’d put the RDSH servers in their own OU and link GPOs there with loopback in Replace mode, so every session is the same, and handle exceptions with security filtering or item-level targeting. For profiles I’d use Folder Redirection or FSLogix, and the server settings would go in separate GPOs.
9. gpresult says the GPO is applied, but the setting clearly isn’t working. What would you check next?
Why they ask this: They want to see if you can go deeper than gpresult when the obvious check looks fine.
How you might answer: I’d check whether another GPO wins that particular setting, and whether it needs a restart or a new sign-in, then read the event log for that client-side extension. I’d also look for local overrides like tattooed registry values and confirm the setting is supported on that OS version.
Quick quiz
Q1. Where does the central store live?
- C:\Windows\PolicyDefinitions on each admin PC
- PolicyDefinitions in SYSVOL\Policies
- In the registry
Show answer
B — Every admin then sees the same templates.
Q2. What does loopback Merge do?
- Ignores the user’s GPOs
- Adds the computer OU’s user settings after the user’s own
- Disables user policy
Show answer
B — The computer side wins conflicts.
Q3. What did gpresult show with the WMI typo?
- Applied
- Denied (WMI Filter)
- Access denied
Show answer
B — The filter returned nothing on CL01.
Q4. What does Backup-GPO NOT include?
- Settings
- Permissions
- Links to OUs
Show answer
C — Re-create links after an import.
Q5. In the work story, why did settings appear as Extra Registry Settings?
- The GPOs were corrupt
- Old ADMX files overwrote the central store
- A WMI filter failed
Show answer
B — The editor had no templates for them.
Quick recap
- Advanced Group Policy controls where, when and how safely settings apply.
- Use a central store in SYSVOL and update it from Microsoft’s ADMX package.
- Loopback (Merge or Replace) applies user settings by computer OU.
- WMI filters and item-level targeting narrow who gets what; test queries first.
Backup-GPOdoesn’t save links; record them.- Model with GPMC, verify with RSoP reports, and redirect folders with the right share permissions.
Next lesson
Lesson 21: Kerberos and NTLM → You’ll watch Kerberos tickets being issued with klist, register and find SPNs, break authentication with a clock skew and a duplicate SPN, and see when Windows falls back to NTLM.
Further reading: advanced Group Policy
Want to go deeper into advanced Group Policy? Microsoft’s central store guide explains ADMX management, and the Folder Redirection deployment guide lists the share permissions used here. You can also see the full plan for this course on the Windows Server Administration course page.
