Discussion Locked

Terminal Server

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Would like a script or code that will run an application after a user logs into terminal server and logoff of terminal server when the user closes the application.

I know I can run the application from the "start the following program on connection" option on the terminal server client. But I want the user to automatically log out of terminal server when the app is closed.

3 replies

by smasterson

I think you'll find this happens automatically.
I have setup users to use a terminal server to access only a specific application. The easiest way to do this is to save the terminal client options in the user profile. After you have all the settings where you want them, hit "Save As" and drop it on the users desktop. All the user has to do is double click on the *.rdp shortcut and they are off and running.
When users are connected to a terminal server to run a specific application, the ONLY way (for the user anyway) to logoff the connection is to close the application. When the user closes the application, the terminal connection is logged off as well and the connection should terminate and disappear!

Hope this helps!

This discussion is closed to new replies.