Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Hoping this goes here...

We have issues when users disconnect from terminal services instead of logging off. Does Microsoft have a non-hack method for disabling the Close caption on the taskbar as well as disabling the 'X' in the control options?

Our clients run on Windows 7 and Windows XP. No matter how many times you tell them not to use the 'X' to disconnect, they do it anyway - and, of course, causes issues when they try to log in again before the terminal server has a chance to clean up any dangling disconnects.

share|improve this question
    
What happens when your clients actually do disconnect, i.e., their network plug gets tripped over, there's a power outage, their computer crashes, etc.? –  Kev Dec 1 '10 at 0:50
    
@Kev: of course, there are those occurrences where the user calls us and we reset the connection. It seems as though (and I wouldn't know because I don't work on that end of things) you can't set a timeout on idle connection to clean up truly disconnected sessions without affecting the sessions that are still connected yet idle. We want users to remain connected even if idle, yet clean up the connections that get disconnected. Make sense? –  IAbstract Dec 1 '10 at 1:41
    
Of course, it doesn't really make sense that MS wouldn't have a setting for the .RDP config file that would simply remove the buttons. –  IAbstract Dec 1 '10 at 1:48
    
Ah, I see. And that would be relatively infrequent since they're all local/controlled. Gotcha. –  Kev Dec 1 '10 at 2:16

2 Answers 2

up vote 8 down vote accepted

The right solution is probably to log out idle sessions (see Group Policy) after some timeout period rather than trying to influence client-side behavior. There's a ton of RDP clients out there, and they don't all run on Windows.

share|improve this answer
    
Our clients are limited to Windows and the standard mstsc.exe that MS distributes. I know the proper solution, but getting the left hand to acquiesce to the right hand's request is easier said than done in this case. If there is a non-hack method for disabling the Close button and 'X', it would actually be easier to implement that. –  IAbstract Nov 12 '10 at 18:15

There's a GPO setting to automatically logoff "disconnected" sessions after a period of time, that way people can leave their sessions idle but still connected without the fear of being disconnected, and people just closing their RDP client will be correctly disconnected.

share|improve this answer
    
I'll pass this suggestion along to see if it can get implemented (and if it indeed will do what we want). –  IAbstract Dec 1 '10 at 1:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.