Solved

logoff client automaticly when logging of from ts-session

Posted on 2006-11-16
5
318 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

816 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

11 Experts available now in Live!

Get 1:1 Help Now