airtimexx2000 Posted August 21, 2005 Posted August 21, 2005 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
chilifrei64 Posted August 21, 2005 Posted August 21, 2005 are we talking via a Terminal Services session or a console session?
airtimexx2000 Posted August 21, 2005 Author Posted August 21, 2005 thanks for the follow up .. we are talking terminal services sessions
chilifrei64 Posted August 21, 2005 Posted August 21, 2005 now it all depends on what the terminal server is used for.. you can do it a couple of different waysOpen 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 sessionThe other way you can do it isstart -> 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 doonce 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 insteadI 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..
airtimexx2000 Posted August 22, 2005 Author Posted August 22, 2005 thanks again, I have to wait for a day now to get some downtime and will try it out, will let you know how it goes
airtimexx2000 Posted August 25, 2005 Author Posted August 25, 2005 Worked like a charm! Thanks once again for your help
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now