JSI Tip 3799. How do I monitor group policy functions?

Jerold Schulman

June 13, 2001

1 Min Read
ITPro Today logo in a gray background | ITPro Today


To monitor group policy functions, I use Notepad to view the Gpedit.log and Userenv.log in the %systemRoot%DebugUserMode folder.

The Gpedit.log records the actions of the Group Policy snap-in and Userenv.log records processing details during the application of group policy.

To generate the appropriate level of detail, set the GPEditDebugLevel, UserenvDebugLevel, and RunDiagnosticLoggingGroupPolicy value names, each a REG_DWORD data type, at HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon, as follows:

RunDiagnosticLoggingGroupPolicy        0x1GPEditDebugLevel                       0x10002UserEnvDebugLevel                      0x10002

The GPEditDebugLevel and UserenvDebugLevel values are a bitmask:

0x0     No logging.0x10001 Generate a log file with the standard level of detail. 0x10002 Generate a log file with verbose detail. 0x20001 Generate a debugging file with the standard level of detail. 0x20002 Generate a debugging file with verbose detail.



Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like