Windows 2003 Terminal Server hangs on reboot

Windows 2003 terminal serverOne of our customers had a problem with Windows 2003 Terminal Servers that would hang on a grey screen before the logon prompt after a reboot, one of my colleagues got tsdiag.exe from Microsoft in order to diagnose the problem. After some research we discovered that the problem was resolved when the following reg keys are set:

DWordValue HKLM, “SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management”,”LargeSystemCache”, 0

DWordValue HKLM, “SYSTEM\CurrentControlSet\Control\Session Manager\Configuration Manager”,”RegistryLazyFlushInterval”, 30

DWordValue HKLM, “SYSTEM\CurrentControlSet\Services\lanmanserver\parameters”,”Size “,3

LargeSystemCache explained..
RegistryLazyFlushInterval explained..
LanManServer explained..

 

Microsoft couldn’t explain why this could solve the problem on Windows 2003 Terminal Server but it did do the job. When you suffer the same symptoms please test these settings first before using this in a production environment.

I know lot’s of these configurations are already tested in all kind of scenario’s (as explained here and of course there’s the white paper by Dr Tritsch) but I like to start with a default installation and tweak and adjust per scenario rather than applying these adjustments to every environment because you could break something else in the process.

The following two tabs change content below.

Kees Baggerman

Kees Baggerman is a Staff Solutions Architect for End User Computing at Nutanix. Kees has driven numerous Microsoft and Citrix, and RES infrastructures functional/technical designs, migrations, implementations engagements over the years.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.