MSTS leftover Processes

Discussion in 'Windows Server Systems' started by hotbahamabot, Dec 27, 2005.

  1. hotbahamabot

    hotbahamabot OSNN One Post Wonder

    Is there a way to automatically kill all of a users processes when they end a terminal server session.? My users have a tendency to simply kill the session rather than logoff the server. The result is that We have all these stray process still 'running'. Which can affect server performance
  2. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    You have many options here. First, in GPO, you can set idle times to disconnect sessions automatically, which is probably your best bet. For some reference on commands, which entail killing certain processes, or connections altogether, read this:

    I don't have access to my server atm, but when later on I can post more details on which GPO settings you would need to modify.