Get detailed log file for user profiles

Did you ever need to see detailed logs for a user profile?  This is especially useful when dealing with roaming profiles in a citrix enviornment.

In the Run dialog box, type regedit, and then click OK

Locate the following subkey:

HKEY_LOCAL_MACHINESoftwareMicrosoft

WindowsNTCurrentVersionWinlogon

Create a new entry named UserEnvDebugLevel of data type

REG_DWORD with a value of 0x30002

The log file is stored in this location: %windir%DebugUsermodeUserenv.log