Registry Home > Windows > Troubleshooting > Logging

User Environment Debug Logging (Windows 2000/XP)

This setting enables debug logging of user profile and system policy processes which may be helpful in troubleshooting problems.

This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

Open your registry and find or create the key below.

Create a new DWORD value, or modify the existing value, called "UserEnvDebugLevel" and set it according to the value data below.

Exit your registry; you may need to restart or log out of Windows for the change to take effect.

Note: The log file is written to the %SystemRoot%\Debug\UserMode\Userenv.log file.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|UserEnvDebugLevelREG_DWORD0x00010002 (65538)|
-
|HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVers...|
-
Registry Settings
System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
Value Name: UserEnvDebugLevel
Data Type: REG_DWORD (DWORD Value)
Value Data: Enabled = 65538 (decimal)

Related Tweaks

>> Recommended Download - check, repair and optimize your registry now with Registry Mechanic <<

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last modified: July 28, 2002