Enable Logging for Group Policy Object Editor Client Side Extensions

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

You can enable logging of events generated by the Group Policy Object Editor for its Client Side Extensions on the administrative computer.

When To Enable Group Policy Object Editor Client Side Extensions Logging

Group Policy Object Editor CSE logging, by default, is set to only log errors. To avoid using unnecessary disk space, you should leave CSE logging at the default setting. You can enable CSE logging to gather verbose troubleshooting information when a Group Policy Object CSE editing task causes errors.

Enabling Group Policy Object Editor Client Side Extensions Logging


This section contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, see Description of the Microsoft Windows Registry on the Microsoft Web site (https://go.microsoft.com/fwlink/?LinkId=35500).

To enable CSE Extensions logging on the client

  1. Log on to the client computer as the administrator.

  2. Click Start, Run, and then run Regedit to add the following registry value (or modify it, if the value already exists):

    Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

  3. Enter the following:

    Value: GPTextDebugLevel

    Value Type: REG_DWORD

    Value Data: 10002 (Hexadecimal)

GPTextDebugLevel can have the following values:

  • NONE 0x00000000

  • NORMAL 0x00000001

  • VERBOSE 0x00000002

  • LOGFILE 0x00010000

  • DEBUGGER 0x00020000

The default value is NORMAL|LOGFILE (0x00010001).

To disable logging, select NONE (0X00000000).

You can also combine the GPTextDebugLevel values. For example, you can combine VERBOSE 0x00000002 and LOGFILE 0x00010000 to get 0x00010002. If you set GPTextDebugLevel to 0x00010002, you turn on both LOGFILE and VERBOSE. By combining these values, you achieve the same effect as using an OR statement as follows:

0x00010000 OR 0x00000002 = 0x00010002

The log file is written to the GPText.log file in the %Systemroot%\Debug\UserMode\ folder.

See Also


Fixing Group Policy problems by using log files