Wednesday, May 18, 2011

Enabling debug logging for the Net Logon service

Let me fix it myself
The version of Netlogon.dll that has tracing included is installed by default. To enable debug logging, set the debug flag that you want in the registry and restart the service by using the following steps:
  1. Start the Regedt32 program.
  2. Delete the Reg_SZ value of the following registry entry, create a REG_DWORD value with the same name, and then add the 2080FFFF hexadecimal value.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters\DBFlag
  1. At a command prompt, type net stop netlogon, and then type net start netlogon. This enables debug logging.
  2. To disable debug logging, change the data value to 0x0 in the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters\DBFlag
  1. Quit Regedt32.
  2. Stop Net Logon, and then restart Net Logon.
Read more: MS Support