GROUP POLICY COURSE · PAGE 13 OF 14

Troubleshooting Group Policy

A step-by-step method, the GroupPolicy operational log and key event IDs, gpsvc.log, SYSVOL and version mismatches, and fixes for the most common Group Policy problems.

A method that works

  1. Define the gap: which setting, on which machine or user, expected value, actual value.
  2. 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.
  3. Run gpresult /h (elevated) on the machine: is the GPO under Applied or Denied, and why?
  4. Read the GroupPolicy operational log around the last refresh.
  5. Check the registry (or security database) for the value; watch a gpupdate /force with Process Monitor if needed.
  6. Check the infrastructure: DC reachable, DNS, time, SYSVOL replicated, AD and SYSVOL versions equal.
  7. 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 IDMeaning
4000–4007Processing started (computer or user; startup, logon, manual or periodic)
5312 / 5313List of GPOs that apply / that were filtered out, with the reason
4016 → 5016 / 6016 / 7016A client-side extension started, then finished with success / a warning / an error, with its processing time
5314Link speed and slow-link decision
8000–8007Processing completed, with total time

Failures also appear in the System log with source GroupPolicy:

Event IDTypical causeFix
1129No network connectivity to a DC during processingNetwork, firewall (LDAP 389, SMB 445, Kerberos 88, RPC), Wi-Fi not up yet at startup
1058Can't read gpt.ini from SYSVOLDFS/SYSVOL access, DNS, SMB signing mismatch, permissions on the GPT folder, UNC hardening paths
1030Couldn't query the list of GPOs (often follows 1058 or LDAP/Kerberos problems)DC health, DNS, time skew, secure channel (Test-ComputerSecureChannel)
1085A specific extension failed (named in the event)Read that extension's details; for preferences, check the item and its targeting
1096Can't process the local Registry.pol (corrupt file)Delete or rename C:\Windows\System32\GroupPolicy\Machine\Registry.pol and run gpupdate /force
1006LDAP 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

SymptomLikely causeFix
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 allObject in another OU, link disabled, Block Inheritance, GPO half disabled, wrong siteCheck the OU inheritance list and GPO status
"Denied (WMI Filter)"Query false or invalid on this machineRun the query with Get-CimInstance -Query on the target
User settings missing on RDS / VDALoopback not configured, or user lacks Read on loopback GPOsSet loopback Merge/Replace on the computer GPO; check user filtering
Folder Redirection / Software Installation needs two logonsAsynchronous processing (Fast Logon Optimization)Always wait for the network at computer startup and logon
Setting applied but app ignores itWrong OS version for the policy, app reads it only at start, or a newer policy/MDM winsCheck supportedOn in the policy browser, restart the app, check MDM conflicts
Setting shows as "Extra Registry Settings"The central store lacks the ADMX for itAdd the right ADMX/ADML; or edit with Set-GPRegistryValue
Old value still there after removing the GPOTattooing (non-policy key, preference, security setting)See Registry: what persists
Different results in different sitesSYSVOL not replicated, AD/SYSVOL version mismatch on the local DCGPMC domain Status tab; dfsrdiag; fix DFSR replication
Slow logonMany GPOs, WMI filters, ILT, scripts, synchronous processingEvent 5016 timings per extension; consolidate and simplify
"The processing of Group Policy failed… because of lack of network connectivity" on laptopsWi-Fi or VPN connects after the user signs inExpected 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.