Troubleshooting slow logons – Pt1
February 4th, 2009
Enabling Verbose Logging
Rather than poking in the dark trying to work out the delays you can turn on verbose logging for the userenv process.
- Open the registry of the computer/server you are troubleshooting
- Browse to the following key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
- Right click Winlogon, select New, and then chosse DWORD
- Enter the following name for the DWORD Value: UserEnvDebugLevel
- Enter 30002 as a hex value
Userenv will now log to %systemRoot%\Debug\UserMode
Grab a copy of Policy Reporter from SysPro Soft, this will help you in parsing the log files, alternativley you can open the files in notepad/wordpad and run through them manually