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.