Solved

logoff client automaticly when logging of from ts-session

Posted on 2006-11-16
5
311 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
ID: 17955993
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
ID: 17960401
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
ID: 17971784
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

896 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

20 Experts available now in Live!

Get 1:1 Help Now