Recently a server is always disconnected after a long time Automatic logoff (which is the result of the Nagios alarm explorer.exe), after viewing the system log information, is indeed logged off.
The
solution is as follows:
Start with the session "set time limit for disconnected sessions" to "Not configured" for Terminal Services, such as->windows components, Administrative Templates, run-->gpedit.msc Computer configuration.
If the Remote Desktop Connection has been disconnected after a period of time through the above operation, the software that is running automatically shuts down, and then the following actions are performed:
Start-to-run-->tscc.msc connection-->rdp-tcp right-click Properties-- The > Session changes the settings of the alternate user settings to never and never tick. Need to explain is: the above work done, my remote server is still the problem, next: Cancel the boot press Ctl+alt+del, this point everyone will. Start-All Programs--administration tools--local security policy--local policies--Security options: Microsoft network server: Automatically log off users when logon hours are exhausted, and change to disabled. Microsoft network server: The idle time required before suspending a session is changed to 99999, which is actually a prohibited policy.
Finally, if possible, log on to the server once with administrator. Also, the most critical step: when you log in to the remote server, in the process of exiting, do not directly click on the Remote Desktop program that "X", nor can you log off. Instead, it is important that you click "Start-shutdown-disconnect" on the remote server's desktop