A method that works
- Define the gap: which setting, on which machine or user, expected value, actual value.
- Check scope on paper: is the object in the OU you think? Is the GPO linked, link enabled, GPO status enabled for that half? Use GPMC's Group Policy Inheritance tab on the OU.
- Run
gpresult /h(elevated) on the machine: is the GPO under Applied or Denied, and why? - Read the GroupPolicy operational log around the last refresh.
- Check the registry (or security database) for the value; watch a
gpupdate /forcewith Process Monitor if needed. - Check the infrastructure: DC reachable, DNS, time, SYSVOL replicated, AD and SYSVOL versions equal.
- Turn on gpsvc logging only if the above doesn't explain it.
The GroupPolicy operational log
Event Viewer > Applications and Services Logs > Microsoft > Windows > GroupPolicy > Operational records every processing cycle with an Activity ID that ties its events together.
| Event ID | Meaning |
|---|---|
| 4000–4007 | Processing started (computer or user; startup, logon, manual or periodic) |
| 5312 / 5313 | List of GPOs that apply / that were filtered out, with the reason |
| 4016 → 5016 / 6016 / 7016 | A client-side extension started, then finished with success / a warning / an error, with its processing time |
| 5314 | Link speed and slow-link decision |
| 8000–8007 | Processing completed, with total time |
Failures also appear in the System log with source GroupPolicy:
| Event ID | Typical cause | Fix |
|---|---|---|
| 1129 | No network connectivity to a DC during processing | Network, firewall (LDAP 389, SMB 445, Kerberos 88, RPC), Wi-Fi not up yet at startup |
| 1058 | Can't read gpt.ini from SYSVOL | DFS/SYSVOL access, DNS, SMB signing mismatch, permissions on the GPT folder, UNC hardening paths |
| 1030 | Couldn't query the list of GPOs (often follows 1058 or LDAP/Kerberos problems) | DC health, DNS, time skew, secure channel (Test-ComputerSecureChannel) |
| 1085 | A specific extension failed (named in the event) | Read that extension's details; for preferences, check the item and its targeting |
| 1096 | Can't process the local Registry.pol (corrupt file) | Delete or rename C:\Windows\System32\GroupPolicy\Machine\Registry.pol and run gpupdate /force |
| 1006 | LDAP bind failed (credentials or Kerberos) | Time, secure channel, account lockout, SPNs |
gpsvc.log debug logging
md %windir%\debug\usermode
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Diagnostics" /v GPSvcDebugLevel /t REG_DWORD /d 0x00030002 /f
gpupdate /force
notepad %windir%\debug\usermode\gpsvc.log
rem turn it off again
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Diagnostics" /v GPSvcDebugLevel /t REG_DWORD /d 0 /f
The usermode folder must exist or no log is written. The log shows DC discovery, the LDAP search for GPOs, each GPO's filtering decision (security, WMI), and every extension call. Search for error, denied and failed. For a support case, Microsoft's TSS script with the Group Policy scenario collects this plus gpresult, event logs and the GPExtensions key.
Common problems and fixes
| Symptom | Likely cause | Fix |
|---|---|---|
| GPO shows "Denied (Security)" | No Read/Apply for the user or computer, or Authenticated Users removed without Domain Computers Read (MS16-072) | Fix the Delegation tab |
| GPO not listed at all | Object in another OU, link disabled, Block Inheritance, GPO half disabled, wrong site | Check the OU inheritance list and GPO status |
| "Denied (WMI Filter)" | Query false or invalid on this machine | Run the query with Get-CimInstance -Query on the target |
| User settings missing on RDS / VDA | Loopback not configured, or user lacks Read on loopback GPOs | Set loopback Merge/Replace on the computer GPO; check user filtering |
| Folder Redirection / Software Installation needs two logons | Asynchronous processing (Fast Logon Optimization) | Always wait for the network at computer startup and logon |
| Setting applied but app ignores it | Wrong OS version for the policy, app reads it only at start, or a newer policy/MDM wins | Check supportedOn in the policy browser, restart the app, check MDM conflicts |
| Setting shows as "Extra Registry Settings" | The central store lacks the ADMX for it | Add the right ADMX/ADML; or edit with Set-GPRegistryValue |
| Old value still there after removing the GPO | Tattooing (non-policy key, preference, security setting) | See Registry: what persists |
| Different results in different sites | SYSVOL not replicated, AD/SYSVOL version mismatch on the local DC | GPMC domain Status tab; dfsrdiag; fix DFSR replication |
| Slow logon | Many GPOs, WMI filters, ILT, scripts, synchronous processing | Event 5016 timings per extension; consolidate and simplify |
| "The processing of Group Policy failed… because of lack of network connectivity" on laptops | Wi-Fi or VPN connects after the user signs in | Expected off-network; use always-on VPN or Intune for remote devices |
Checks on the domain controllers
dcdiag /test:sysvolcheck /test:netlogons /test:dfsrevent /v
repadmin /replsummary
Get-DfsrState -ComputerName DC01 | Measure-Object # pending SYSVOL updates
dfsrdiag replicationstate
# AD vs SYSVOL versions of every GPO on one DC (see the PowerShell page for a full script)
Get-GPO -All -Server DC02 | Where-Object { $_.Computer.DSVersion -ne $_.Computer.SysvolVersion }
For deep AD and DC troubleshooting (DNS, replication, Kerberos), go to ad.cloudschool.ai/troubleshooting.
References: Applying Group Policy troubleshooting guidance, TSS for Group Policy.