Group Policy Troubleshoot

Useful tools to know when dealing with group policies.

Review the policies applied to current logged on user: (saves the html to c:\temp\)

  • Gpresult /h c:\temp\xx.html  

View policy applied for computer configuration. (firewall, trusted zone info, etc.)

  • Gpresult /h c:\temp\report.html /scope computer 

Enable Group Policy Service (GPSvc) logging


On the client where the GPO problem occurs, follow these steps to enable Group Policy Service debug logging.

  1. Open Registry Editor.
  2. Locate and then select the following registry subkey:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion
  3. On the Edit menu, select New > Key.
  4. Type Diagnostics, and then press Enter.
  5. Right-click the Diagnostics subkey, select New > DWORD (32-bit) Value.
  6. Type GPSvcDebugLevel, and then press Enter.
  7. Right-click GPSvcDebugLevel, and then select Modify.
  8. In the Value data box, type 30002 (Hexadecimal), and then select OK.
  9. Exit Registry Editor.
  10. In a command prompt window, run the gpupdate /force command, and then press Enter.

Then, view the Gpsvc.log file in the following folder: %windir%\debug\usermode

Note

If the usermode folder does not exist, create it under %windir%\debug. If the usermode folder does not exist under %WINDIR%\debug\, the gpsvc.log file will not be created.


Source:

https://learn.microsoft.com/en-us/troubleshoot/windows-server/group-policy/applying-group-policy-troubleshooting-guidance

https://www.top-password.com/blog/view-group-policy-applied-to-windows-10-user/#:~:text=Press%20the%20Windows%20key%20%2B%20R,system%20for%20applied%20group%20policies

Leave a comment