orphan processes in Terminal Server 2008
Posted on 2014-09-15
I have a problem with a new Terminal Server 2008 I installed. I have a domain running on a 2003 machine which hosts a TS and a TS License server. For this Terminal Server 2003, I was able to specify on the domain user's profile a setting that would tell the Terminal server to kill its child processes if the session got disconnected. This mechanism prevented me from having orphan sessions, as my users like to click on the X of the remote desktop window, rather than close their programs and log out.
Now, this new Terminal Server 2008 (and license server) are installed in a server which is not part of the domain. Therefore, the user ids used to log into this TS are local to the machine. As such, I don't have a way to tell the Terminal Server to kill its children when my users disconnect (instead of logging out) so I end up with lots of orphan sessions. On top of all, they use the host to run software that uses floating licenses per user, so all those licenses remain in use while the orphan child of the TS is still alive, and I end up running out of licenses pretty quickly.
How can I configure the Terminal Server 2008 to kill all its children processes when the user disconnects? I haven't found how to do this and I'm losing my brain! Please, someone guide me on this one.