Enabling Debug Logging
There are optional debug logging for the Group Policy Editor that provide much more detailed logging than is available from within Event Viewer. You can enable debug logging by creating and configuring the following REG_DWORD registry value.
<vofr>HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\GPEditDebugLevel
The value normally used for troubleshooting purposes is 0x10002. Configuring this registry value will create a GpEdit.log in the %SystemRoot%\debug\usermode folder. The following sample output for this log file indicates malformed ADMX files named test.admx and test.adml.
GPEDIT(b6c.10c8) 12:10:03:713 PDX parser: Parsing file 'C:\Windows\PolicyDefinitions \FolderRedirection.admx'. GPEDIT(b6c.10c8) 12:10:03:716 PDX parser: Obtained appropriate PDX resource file 'C:\Windows\PolicyDefinitions\en-US\FolderRedirection.adml' for language 'en-US'. GPEDIT(b6c.10c8) 12:10:03:717 PDX parser: Parsing resource file 'C:\Windows\PolicyDefinitions\en-US\FolderRedirection.adml'. GPEDIT(b6c.10c8) 12:10:03:719 PDX parser: Parsing resource file completed successfully. GPEDIT(b6c.10c8) 12:10:03:720 PDX parser: Successfully parsed file. GPEDIT(b6c.10c8) 12:10:03:720 PDX parser: Parsing file 'C:\Windows\PolicyDefinitions \test.admx'. GPEDIT(b6c.10c8) 12:10:03:721 CSAXErrorHandlerImpl::fatalError: Parsing error, hr = 0xc00cee2d, message = 'Incorrect document syntax. GPEDIT(b6c.10c8) 12:10:11:223 CSAXParser::ParseURL: parseURL for C:\Windows \PolicyDefinitions\test.admx failed with 0xc00cee2d. GPEDIT(b6c.10c8) 12:10:11:223 PDX parser: Failed to parse C:\Windows\PolicyDefinitions \test.admx with 0xc00cee2d.
In this tutorial:
- Managing the Desktop Environment
- Understanding Group Policy in Windows 7
- Group Policy Before Windows Vista
- Group Policy in Windows Vista and Windows Server 2008
- New Group Policy Features in Windows 7 and Windows Server 2008 R2
- Group Policy Policy Settings in Windows 7
- Understanding ADMX Template Files
- Types of ADMX Template Files
- Local Storage of ADMX Template Files
- Considerations When Working with ADMX Template Files
- Understanding Multiple Local Group Policy
- MLGPOs and Group Policy Processing
- Managing Group Policy
- Adding ADMX Templates to the Store
- Creating and Managing GPOs
- Using Starter GPOs
- Creating and Managing GPOs Using the GPMC
- Creating and Managing GPOs Using Windows PowerShell
- Editing GPOs
- Configuring Policy Settings
- Configuring Preference Items
- Managing MLGPOs
- Migrating ADM Templates to ADMX Format
- Converting ADM Template Files to ADMX Format
- Creating and Editing Custom ADMX Template Files
- Configuring Group Policy Processing
- Using Advanced Group Policy Management
- Troubleshooting Group Policy
- Enabling Debug Logging
- Using Group Policy Log View
- Using GPResult