Initial Program List Determines When the Terminal Server Session Ends (274740)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server

This article was previously published under Q274740

SUMMARY

When a user sets the "Initial program" 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 "Initial program" 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.

Modification Type:MinorLast Reviewed:1/26/2006
Keywords:kbenv kbinfo kbTermServ KB274740