Skip navigation

JSI Tip 2185. User Environment debug logging in Windows 2000.

In Windows NT 4.0, you needed the checked build of Userenv.dll to perform debug logging of user profiles and system policies.

In Windows 2000, the functionality is included. To enable it, use Regedt32 to navigate to:

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

On the Edit menu, Add Value name UserEnvDebugLevel as a type REG_DWORD. Set the data value to hex 0x10002.

Shutdown and restart Windows 2000.

NOTE: The log file is %SystemRoot%\Debug\UserMode\Userenv.log

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.