Microsoft KB Archive/216477

= Environment Path Too Long Can Cause Access Violation in Winlogon =

Article ID: 216477

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Server 4.0, Terminal Server Edition

-



This article was previously published under Q216477



SYMPTOMS
When a user attempts to log on remotely to a Terminal Server, the user will appear to start a logon session and get a background displayed, but will then be returned to the Locate Terminal Server dialog box. On the server, an instance of Dr. Watson will be shown in Task Manager, and the Drwtsn32.log file will be generated, as well as a user dump of the memory at the time of the failure. If the same user is logging on to the console of the Terminal Server, rather than remotely, the same thing occurs; however, because Winlogon is a vital system component, the server will display a blue screen STOP 0xC000021a error message.



CAUSE
When a user profile contains a combined environment path that is very long, the Winlogon.exe process that is spawned for the user will have a Dr. Watson error, and the user will be sent back to the Locate Terminal Server dialog box. If the same user logs on to the console of the Terminal Server, it will also cause Winlogon to have a Dr. Watson error, but it will be accompanied by a STOP 0xC000021a blue screen error message.



RESOLUTION
To resolve this problem, obtain the latest service pack for Windows NT Server 4.0, Terminal Server Edition. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

152734 How to Obtain the Latest Windows NT 4.0 Service Pack



WORKAROUND
To work around this problem, shorten your paths so that they total 1 KB or less of characters.



STATUS
Microsoft has confirmed that this is a problem in Windows NT Server 4.0, Terminal Server Edition. This problem was first corrected in Windows NT Server 4.0, Terminal Server Edition, Service Pack 5.

Additional query words: terminalsrv dr watson termsrv trap

Keywords: kbhotfixserver kbqfe kbbug kbfix KB216477

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.