Group Policy troubleshooting: gpresult, logs, RSoP and filtering
-
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
Sooner or later every admin gets the ticket that says “I set the policy, but it isn’t working”. Group Policy troubleshooting comes down to two questions: did the computer even try to apply this GPO, and if it did, why didn’t the setting win?
You’ll learn to read gpresult properly, follow one policy refresh through the Group Policy operational log, check link order and GPO versions on both DCs, and sort out filtering problems that catch out even experienced admins.
| Time | You need | By the end you can |
|---|---|---|
| About 75 minutes | DC01, DC02 and CL01, with the GPOs from Lessons 19 and 20 | Find why any GPO or setting does or doesn’t apply, with evidence |
What it is, in one line
Group Policy troubleshooting means checking, in order, whether a GPO reaches the computer (link, scope, filtering), whether it gets processed (logs), and whether its setting wins (precedence).
In Simple Words
In Simple Words
Imagine the school principal sends rules to every class by pinning them on notice boards. If a class didn’t follow a rule, there are only a few possible reasons: the notice was never pinned on their board, or it was pinned but said “only for Class 5B”, or another notice pinned later said the opposite. Group Policy troubleshooting follows the same thinking: did the notice reach the board, was it meant for this class, and which notice won?
Engineer's View
Engineer’s View
Scope: a GPO applies to the users and computers in the site, domain or OU it’s linked to, and to child OUs unless inheritance is blocked. Computer settings follow the computer object and user settings follow the user object, unless loopback is turned on.
Filtering: the computer or user needs Read and Apply Group Policy on the GPO (security filtering), the WMI filter has to return true, and the user or computer half of the GPO mustn’t be disabled. Ever since MS16-072, computers also need Read on every GPO, user-only ones included.
Processing: the Group Policy Client service (gpsvc) finds a DC, reads gpt.ini from SYSVOL and runs each client-side extension (CSE). The events go to Microsoft-Windows-GroupPolicy/Operational: 4000 to 4007 when processing starts, 5312 for the list of applicable GPOs, 5313 for the filtered ones, 4016 and 5016 for each extension, and 8000 to 8007 when it finishes.
Precedence: LSDOU (local, site, domain, OU), where the last one applied wins. Inside a single OU link order 1 wins, and an Enforced link beats everything below it.
Versions: every GPO has a version in AD (the GPC) and another in SYSVOL (the GPT), and if the two differ on a DC, AD or SYSVOL replication is running behind.
How it works, step by step
How a GPO gets from a DC to a setting on CL01:
Each check you run lines up with one of those stages. gpresult covers scope and filtering, the operational log covers processing and timing, and the HTML report gives you the “winning GPO” for each setting.
Go through them in order. Most “broken” GPOs turn out to be filtered out or linked to the wrong OU, and gpresult tells you that in a single line.
Keep in mind that group membership is read from the Kerberos ticket, so a computer you’ve added to a group won’t see the change until it gets a new ticket. You’ll prove that in the Break It lab.
Why a GPO or setting doesn’t apply, and where you see it:
In the lab you’ll:
- Read applied and filtered GPOs with gpresult.
- Follow one refresh in the operational log.
- Create an RSoP report for a user and computer.
- Check link order and precedence.
- Compare GPO versions on DC01 and DC02.
Hands-on lab: find why a GPO applies or not
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, DC02 and CL01. On CL01, sign in as SAATLAB\priya.sharma for the user checks, and use PowerShell as administrator (adm.rahul) for the computer checks.
1Read gpresult like a pro
On CL01, signed in as priya.sharma, in a normal PowerShell window:
gpresult /r /scope:userYou’ll see something like this (cut down):
USER SETTINGS
--------------
CN=Priya Sharma,OU=Finance,OU=Staff,OU=SAATLAB,DC=saatlab,DC=internal
Last time Group Policy was applied: 19/10/2026 at 15:40:12
Group Policy was applied from: DC01.saatlab.internal
Group Policy slow link threshold: 500 kbps
Domain Name: SAATLAB
Applied Group Policy Objects
-----------------------------
U-Finance-Printer
U-Staff-Desktop
The following GPOs were not applied because they were filtered out
-------------------------------------------------------------------
Local Group Policy
Filtering: Not Applied (Empty)Read it from the top: which DC served the policy and when, which GPOs applied, and which were filtered and why. “Not Applied (Empty)” means the GPO has no settings for this side, and the two you’ll end up chasing most are “Denied (Security)” and “Denied (WMI Filter)”.
✅ Checkpoint: gpresult shows the DC used, the applied GPOs and a reason for each filtered GPO.
2Follow one refresh in the operational log
On CL01, as administrator, refresh the computer policy and read the newest events:
gpupdate /target:computer /force
Get-WinEvent -LogName Microsoft-Windows-GroupPolicy/Operational -MaxEvents 12 |
Sort-Object TimeCreated |
Select-Object Id, @{ n = 'Message'; e = { ($_.Message -split "\r?\n")[0] } } | Format-Table -WrapYou’ll see something like this:
Id Message
-- -------
4004 Starting manual processing of policy for computer SAATLAB\CL01$.
5017 The system call to get account information completed.
5326 Group Policy successfully discovered the Domain Controller in 15 milliseconds.
5312 List of applicable Group Policy objects:
5313 The following Group Policy objects were not applicable because they were filtered out :
4016 Starting Registry Extension Processing.
5016 Completed Registry Extension Processing in 47 milliseconds.
4016 Starting Security Extension Processing.
5016 Completed Security Extension Processing in 312 milliseconds.
8004 Completed manual processing of policy for computer SAATLAB\CL01$ in 2 seconds.That’s one whole refresh from start to finish: the DC is found, the GPO list is built, each extension runs with its time, and it’s done. A slow extension shows a big time in its 5016 event, while a failed one logs an error (7016 or similar) with a code.
✅ Checkpoint: You see the start, the applicable list, each extension and the completion events for one refresh.

3Create an RSoP report
On CL01, as administrator, build a report of what priya.sharma gets on CL01:
Get-GPResultantSetOfPolicy -Computer CL01 -User SAATLAB\priya.sharma -ReportType Html -Path C:\Lab\rsop-priya.html
Start-Process C:\Lab\rsop-priya.htmlYou’ll see something like this:
RsopMode : Logging
Namespace : \\CL01\Root\Rsop\NS2A7C1F07_63D4_4F1B_8A6B_6E04B2B9C3D1
LoggingComputer : CL01
LoggingUser : SAATLAB\priya.sharma
LoggingMode : UserAndComputerOpen Settings in the report. Each setting has a Winning GPO column, so you can answer “which GPO set this?” without guessing. [Add your screenshot here]
✅ Checkpoint: rsop-priya.html opens and shows the winning GPO for each setting.
4Check link order and precedence
On DC01:
(Get-GPInheritance -Target 'OU=Workstations,OU=SAATLAB,DC=saatlab,DC=internal').InheritedGpoLinks |
Select-Object Order, DisplayName, Enforced, TargetYou’ll see something like this:
Order DisplayName Enforced Target
----- ----------- -------- ------
1 C-Workstation-Security False OU=Workstations,OU=SAATLAB,DC=saatlab,DC=internal
2 C-LAPS False OU=Workstations,OU=SAATLAB,DC=saatlab,DC=internal
3 C-Cert-Autoenroll False OU=Workstations,OU=SAATLAB,DC=saatlab,DC=internal
4 Default Domain Policy False dc=saatlab,dc=internalThe list comes in precedence order, so if two GPOs set the same thing, Order 1 wins. A GPO linked closer to the object (the OU) beats one linked higher up (the domain), unless that higher link is Enforced.
✅ Checkpoint: You can say which GPO wins on CL01 for a conflicting setting.
5Compare GPO versions on both DCs
On DC01:
foreach ($dc in 'DC01', 'DC02') {
$g = Get-GPO -Name U-Staff-Desktop -Server $dc
[pscustomobject]@{
DC = $dc
UserAD = $g.User.DSVersion
UserSysvol = $g.User.SysvolVersion
Modified = $g.ModificationTime
}
}You’ll see something like this:
DC UserAD UserSysvol Modified
-- ------ ---------- --------
DC01 6 6 19/10/2026 11:02:14
DC02 6 6 19/10/2026 11:02:14All four numbers match, so AD and SYSVOL agree on both DCs. If DC02 had shown an older SYSVOL version, clients in the Branch site would be getting the old settings, and you’d check DFS Replication for SYSVOL (Lesson 41) and AD replication (Lesson 45).
✅ Checkpoint: U-Staff-Desktop has the same AD and SYSVOL version on DC01 and DC02.
Break It, Then Fix It
Both of these problems show up in one line of gpresult, once you know how to read it.
1Break it: the user half of a GPO is switched off
On DC01, disable the user settings of U-Staff-Desktop:
(Get-GPO -Name U-Staff-Desktop).GpoStatus = 'UserSettingsDisabled'On CL01, signed in as priya.sharma:
gpupdate /target:user /force
gpresult /r /scope:user | Select-String -Context 0,1 'U-Staff-Desktop'You’ll see something like this:
> U-Staff-Desktop
Filtering: Disabled (GPO)The GPO is linked and Priya can read it, but someone has switched off its user half, often while “testing”, or by mistake when they meant to disable the unused computer half. Her screen saver and S: drive settings stop applying.
To fix it, turn all the settings back on and refresh:
(Get-GPO -Name U-Staff-Desktop).GpoStatus = 'AllSettingsEnabled'Run gpupdate /target:user /force on CL01 again and U-Staff-Desktop shows up under Applied Group Policy Objects once more.
✅ Checkpoint: gpresult showed “Disabled (GPO)” and the GPO applies again after setting AllSettingsEnabled.
2Break it: a computer joins a group but the GPO still skips it
On DC01, create a pilot GPO that applies only to computers in GG_PilotPCs:
New-GPO -Name C-Pilot-Test | New-GPLink -Target 'OU=Workstations,OU=SAATLAB,DC=saatlab,DC=internal'
Set-GPRegistryValue -Name C-Pilot-Test -Key 'HKLM\Software\SaatLab' -ValueName Pilot -Type String -Value Yes
New-ADGroup GG_PilotPCs -GroupScope Global -Path 'OU=Groups,OU=SAATLAB,DC=saatlab,DC=internal'
Set-GPPermission -Name C-Pilot-Test -TargetName 'Authenticated Users' -TargetType Group -PermissionLevel GpoRead -Replace
Set-GPPermission -Name C-Pilot-Test -TargetName GG_PilotPCs -TargetType Group -PermissionLevel GpoApply
Add-ADGroupMember GG_PilotPCs -Members 'CL01$'On CL01, as administrator:
gpupdate /target:computer /force
gpresult /r /scope:computer | Select-String -Context 0,1 'C-Pilot-Test'You’ll see something like this:
> C-Pilot-Test
Filtering: Denied (Security)
CL01 is in the group in AD, but its Kerberos ticket was issued before you added it, and membership is read from that ticket. So until CL01 gets a fresh ticket, it still looks like a non-member.
To fix it, purge the computer’s tickets (you don’t need a restart), then refresh and check:
klist -li 0x3e7 purge
gpupdate /target:computer /force
Get-ItemProperty HKLM:\Software\SaatLab | Select-Object PilotYou’ll see something like this:
Pilot
-----
Yes-li 0x3e7 is the logon session of the computer account (SYSTEM), and a restart gets you the same result more slowly. Once you’re finished, clean up with Remove-GPO C-Pilot-Test and Remove-ADGroup GG_PilotPCs.
✅ Checkpoint: C-Pilot-Test was “Denied (Security)” until the computer’s tickets were purged, then the Pilot value appeared.
This happened at work
The logon that took 20 minutes
At one company, after what everyone called a “small” change, users sat for up to 20 minutes on “Applying computer settings” every morning. Nothing else had changed, so the team suspected the network and spent two days going through switches. Then an engineer opened the Group Policy operational log on one PC, and one step jumped out: evaluating a WMI filter was taking over 15 minutes. A new filter was targeting PCs that had a certain app installed, and it used a query on Win32_Product. Win32_Product is slow because it checks every installed MSI package and can even trigger repairs, so on older PCs with hundreds of packages the query ran for many minutes at every boot.
The fix: they swapped the filter for a check on a registry key the app creates, using Group Policy Preferences item-level targeting, and startup went back to under a minute.
The lesson: the operational log records how long every step takes, so when Group Policy is slow, read those times before you blame the network.
Common mistakes and troubleshooting
| Mistake | What happens | What to do instead |
|---|---|---|
| Linking a user GPO to a computers OU | Settings never apply | Link where the user objects live, or use loopback |
| Removing Authenticated Users completely | Computers can’t read the GPO; it fails silently | Keep Read for Authenticated Users or Domain Computers |
| Testing before the token updates | Group filtering seems broken | Log off and on, or klist -li 0x3e7 purge for computers |
| Guessing which GPO wins | Hours of trial and error | Check the Winning GPO column in an RSoP report |
| Ignoring the operational log | Slow or failing extensions stay hidden | Read 4016, 5016 and error events |
| Editing GPOs on different DCs at once | Conflicting versions | Edit on the PDC emulator (the GPMC default) |
| Slow WMI filters | Long startups and logons | Use simple queries or GPP item-level targeting |
| Forgetting SYSVOL replication | Some sites get old settings | Compare AD and SYSVOL versions per DC |
Interview questions
Click a question to open it. Each one is worded the way an interviewer would ask it, and underneath you’ll see why they ask and one way you could answer in your own words.
Fresher level
1. A user says a new policy isn’t working on their PC. How would you check which GPOs actually applied?
Why they ask this: They’re checking you know gpresult, the first tool you reach for with any Group Policy problem.
How you might answer: I’d run gpresult /r on their PC for a quick summary of the applied GPOs, and if I need more detail, gpresult /h report.html and open the report. The HTML report also shows which GPOs were filtered out and why, and that often answers the question straight away.
2. What does gpupdate /force actually do?
Why they ask this: They want to see you know how policy refresh works and where it stops.
How you might answer: It reapplies every policy setting right away, not only the ones that changed. Some settings, like software installation or folder redirection, still need a logon or a restart, so I tell the user that if it hasn’t taken effect after the update.
3. Can you explain LSDOU in simple words?
Why they ask this: They want to know you understand the order GPOs apply in and which one wins.
How you might answer: LSDOU stands for local, site, domain, OU, which is the order GPOs get applied in. The last one applied wins, so a GPO linked to the OU usually beats one linked at the domain.
2–5 years experience
4. In the gpresult report, a GPO shows “Denied (Security)”. What would you check?
Why they ask this: They want to see you can read security filtering and know why it blocks a GPO.
How you might answer: I’d look at the GPO’s security filtering and delegation, because the user or computer needs Read and Apply Group Policy, either directly or through a group. If they’d only just been added to the group, I’d check their token is current too, since group changes need a new logon or a restart.
5. A setting on a server is wrong, and nobody knows which GPO sets it. How would you find out?
Why they ask this: They want to know you use RSoP-style reports and don’t open GPOs one at a time.
How you might answer: I’d create an RSoP report or a gpresult /h report, which shows the Winning GPO for every setting, so I know exactly where to change it. If I wanted to try a what-if, say moving the server to another OU, I’d use Group Policy Modeling.
6. Computers take a long time at startup, and users blame Group Policy. How would you investigate?
Why they ask this: They want to see you use the logs to find the slow part.
How you might answer: I’d read the Group Policy operational log, because it shows how long each extension took and so where the time is going. Then I’d look at WMI filters, scripts, software installs and how long it takes to find a DC.
Senior level
7. Some sites still get old GPO settings, days after you changed them. Why might that be?
Why they ask this: They want to see you link Group Policy problems to AD and SYSVOL replication.
How you might answer: Most likely AD or SYSVOL replication is behind. A GPO lives in both places and they have to match, so I’d compare the GPC and GPT version numbers on each DC and then check DFSR health for SYSVOL and AD replication.
8. What changed with MS16-072, and why do people still trip over it?
Why they ask this: They want to know you understand this update, because it still breaks user GPOs when people change filtering.
How you might answer: Since MS16-072, user policy is fetched using the computer’s security context, so computers need Read on every GPO. If someone takes Authenticated Users off a GPO to filter it and doesn’t add Domain Computers with Read, the user GPOs stop applying.
9. Say you’re in charge of Group Policy for a large company. How would you make GPO changes safely?
Why they ask this: They want to see you think about process and risk as well as the settings.
How you might answer: I’d back up GPOs before every change and put changes through change control. They’d go to a pilot OU and pilot group first, with links added in stages. Every GPO would have a documented owner, I’d compare reports before and after, and AGPM or a similar review process helps a lot here.
Quick quiz
Q1. Which command shows applied and filtered GPOs?
- gpupdate
- gpresult /r
- dcdiag
Show answer
B — Add /h for an HTML report.
Q2. What does “Filtering: Disabled (GPO)” mean?
- The link is missing
- The user or computer half of the GPO is switched off
- The WMI filter failed
Show answer
B — Check GpoStatus.
Q3. Which link order wins inside one OU?
- The highest number
- Order 1
- The oldest GPO
Show answer
B — Unless another link is Enforced.
Q4. How do you refresh a computer’s group membership without a restart?
- gpupdate
- klist -li 0x3e7 purge
- ipconfig /flushdns
Show answer
B — It clears the computer’s tickets.
Q5. What caused slow logons in the work story?
- DNS
- A WMI filter using Win32_Product
- A full SYSVOL
Show answer
B — The operational log showed the time.
Quick recap
- Group Policy troubleshooting works through scope, filtering, processing and precedence, in that order.
gpresult /rshows applied GPOs and why others were filtered.- The GroupPolicy operational log records every refresh, with the time each extension took.
- RSoP reports show the winning GPO for each setting.
- Group changes need a new ticket, so log off, restart or run
klist -li 0x3e7 purge. - When sites disagree, compare the AD and SYSVOL versions.
Next lesson
Lesson 47: Performance → Next you’ll track down CPU, memory, disk and network bottlenecks with Performance Monitor counters, Resource Monitor and PowerShell, and learn what “normal” looks like on a server.
Further reading: Group Policy troubleshooting
Want to go deeper into Group Policy troubleshooting? Microsoft’s guide to troubleshooting Group Policy walks through each stage, and the Get-GPResultantSetOfPolicy reference explains RSoP reports. You can also see the full plan for this course on the Windows Server Administration course page.
