Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Terminating idle applications in a TS environment.

Status
Not open for further replies.

PPettit

IS-IT--Management
Sep 13, 2003
511
US
I've got an application that allows a set number of users at a time. Every now and then we have more than the maximum number of users trying to get in, but they can't do so until someone else logs out first. This is caused by users who don't bother to log out of the application even though they're away from their desks for hours on end. Since each new user license costs about $4000, we don't want to buy more licenses until it becomes a necessity.

I'd like to find some way to monitor whether or not an application/process has been idle, and then log the user out of the application if it's been idle for a certain length of time. Are there any products already available that handle situations like this?

 
I don't think you can do this. I was just looking at the WMI Win32_Process class and don't see an idle time property to leverage.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Set the TS users idle time so it will log them out after sitting idle. Example: here we use TS and the application we use has only 40 licenses so I set users to log out after 30 min.
 
markdmac - I was afraid that you might say something like this.

dberg35 - Thanks for the input, but I don't want to end the entire Remote Desktop session. I just want to terminate an application running within the session.
 
Yea, sorry this seemed like an interesting idea so I was anxious to help you solve it, but the processes don't seem to support it.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top