Jump to content

Recommended Posts

Posted

Hi Everyone,

Was wondering if anyone out there is aware of a service within 2003 server or any individual program that will log off a user automatically once a program/process ends.

Any ideas would be greatly appreciated :)


Posted

now it all depends on what the terminal server is used for.. you can do it a couple of different ways

Open AD users and computers -> navigate to the user -> right click -> properties -> Enviroment Tab -> check the box that says Start the following at logon..

It doesnt say it there.. but once the user closes that program, it will log off the session

The other way you can do it is

start -> run -> tscc.msc -> connections -> Right click on connections -> create new connection -> go through the wizard (do this while NO USERS ARE LOGGED ON) they will get disconnected if you do

once you go through the wizard. right click on the new connection and go to the enviroment tab and choosed Start the following program when the user logs on. and type on your program. you are going to want to put security filtering on this connection otherwise if you try to log on to it as an administrator you wont be able to get to the desktop, it will load the program instead

I had to do this for a Pocket PC based inventory system that logged on via TS. I didnt want them to close down the session cause it would stay logged on for a while and would eat up resources. This fixed it becasue once they hit exit it would log out the user.

Let me know if that works..

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...