Solved

logoff client automaticly when logging of from ts-session

Posted on 2006-11-16
5
297 Views
Last Modified: 2008-02-01
Hi everyone,

I have automated a XP client to logon to on a 2003 terminal server through remote desktop automaticly.

My question is: How to logoff the client computer itselves also when logging off the client computers terminal session to the server.

Thanks, Mark
0
Comment
Question by:markwester
5 Comments
 
LVL 14

Expert Comment

by:inbarasan
Comment Utility
Dear markwester,
I think you are talking disconnecting the terminal session instead log off, then you want it to be logged off. You can set this terminal server properties in the terminal server manager to set to log off if it is disconnected more than some time limit

Cheers!
0
 
LVL 48

Expert Comment

by:Jay_Jay70
Comment Utility
or group policy, under terminal services/sessions.

ask the user to log off instead of just closing the session
0
 
LVL 2

Accepted Solution

by:
thelastoftheend earned 250 total points
Comment Utility
Hi Mark. The phrasing is somewhat difficult to understand, but I think you're trying to say that, after a user manually logs off of the terminal session, you want their client desktop to log off automatically as well.

Unfortunately there is no easy way to do this and I don't expect you'll find a practical solution. The user will just have to manually log off of their workstation after logging out of the terminal session.

The closest thing I could think of, is that you can restrict the user's logon hours in active directory and force logoff when logon hours expire.

To configure a user's logon hours, go the the properties for their account in Active Directory Users and Computers. Go to the Account tab and click the button for "Logon Hours". You can set their hours from 8-5 or whatever you deem appropriate. Then you have to set the "Force logoff when logon hours expire" in group policy. On the server, go to Administrative Tools-->Domain Security Policy. Browse to "Local Policies-->Security Options". Locate the "Network Security: Force logoff when logon hours expire" setting and set it to enabled.

Most people don't use this option since it doesn't allow for the possiblity of users working after hours, but it's the closest thing I could think of for what you're looking for. Good luck!
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Join & Write a Comment

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now