Terminal Server 2008 Session Timeout Exception

Running a single 2K8 RDP server and need to keep an active profile (i.e. administrator) logged in order to keep a particular application running at all times.

The issue:
How do I kill idle/inactive TS sessions at given interval without killing the administrator session?  The obvious and well documented solution will kill the admin session as well.  How do I exclude the administrator session?  In this scenario it is the "administrator" but could be any user account that is excluded.  I'm hoping I'm overlooking something very simple.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Alex AppletonBusiness Technology AnalystCommented:
Sorry, not a direct answer to your question but have you thought about running the application as a service instead?

see here:  http://www.geekstogo.com/forum/Running-applications-Windows-Service-t106846.html

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Alex AppletonBusiness Technology AnalystCommented:
Teaches me for grabbing the 1st link off Bing.  Check this one out instead, much better:


jmulkeyAuthor Commented:
I didn't like this at first but after scouring the net a bit I found other users trying to run a VFP application as a service on Server 2008 and found someone who has actually done it successfully.  In order to make it work they actually used "sc" to create a service to launch "srvany".  If I can get this to work it would certainly be an acceptable solution.  I'll keep you posted on the outcome.
jmulkeyAuthor Commented:
This is what i did based on your suggestion. (see attached screenshot with steps)  I found it on another forumn so can't give credit to him here but have included screenshot which should cover any credit due.  While this solution isn't 100% ideal in my scenario it does work and is an option so i will call it good.  My only issue with this solution is that the VFP application in question has an active window showing info being processed in real time.  We don't need to see this all the time but the only way to verify activity is to watch it hit the window.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.