?
Solved

orphan processes in Terminal Server 2008

Posted on 2014-09-15
1
Medium Priority
?
615 Views
Last Modified: 2014-10-10
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.
0
Comment
Question by:samjomoore
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
Konstantinos Tampourakis earned 2000 total points
ID: 40327659
Try this,
go to Start->Administrative Tools->Terminal Services(Folder)->Terminal Services Configuration

Under "Connections" you'll find RDP-Tcp (Microsoft RDP 6.1), right click on it and select Properties, go to tab Sessions and check the box "Override user settings"->End a disconnected session and choose an appropiate time for Terminal server to end the sessions.

Regards,
Konstantinos
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Experts-Exchange users below are the steps you can follow to upgrade your Lync server to latest CU's or cumulative updates. Note: Perform it during non-production hours.   Step 1: Backup your lync and SQL server database. Follow below article: h…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question