Microsoft KB Archive/274740

= Initial Program List Determines When the Terminal Server Session Ends =

Article ID: 274740

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server

-



This article was previously published under Q274740



SUMMARY
When a user sets the &quot;Initial program&quot; on a Windows 2000 terminal server, the terminal server monitors the processes that are running in the user's session. After the user quits all non-system processes in that session, the session ends and logs the user off. This occurs only if someone has specified the &quot;Initial program&quot; on either the terminal server client or in the terminal server's configuration.



MORE INFORMATION
The terminal server monitors the user's session for processes that are not part of the following list:
 * Csrss.exe
 * Smss.exe
 * Screg.exe
 * Lsass.exe
 * Spoolss.exe
 * EventLog.exe
 * Netdde.exe
 * Clipsrv.exe
 * Lmsvcs.exe
 * MsgSvc.exe
 * Winlogon.exe
 * Netstrs.exe
 * Nddeagnt.exe
 * Os2srv.exe
 * Wfshell.exe
 * Win.com
 * Rdpclip.exe
 * Conime.exe
 * Proquota.exe

After the user quits all the processes that are not in this list, the session ends and logs the user off.

Note: This list of processes is hard-coded into the operating system and cannot be modified.

Additional query words: terminal services server initial program startup logoff end session

Keywords: kbenv kbinfo kbtermserv KB274740

-

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

© Microsoft Corporation. All rights reserved.