The solution is as follows:
Start--> Run-->gpedit.msc
Computer Configuration-> Administrative Templates->windows components-> Terminal Services-> Sessions
Change "Set time limit for disconnected sessions" to "Not configured."
If you use the above operation, the Remote Desktop Connection will be disconnected after a period of time, the running software automatically shut down, then do the following:
Start--> Run-->tscc.msc
Connection-->rdp-tcp Right Key property--> session
Replace the settings in the user settings to never, and never tick.
Need to explain: the previous work done, my remote server is still the problem, and then:
Cancel the boot press Ctl+alt+del.
Start--> All Programs--> Administrative Tools--> Local Security Policy--> Local policy--> 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 to suspend a session is changed to 99999, which is actually prohibited by this policy.
Finally, if possible, log on to the server with the administrator once.
Also, the most critical step: when you log on to a remote server, in the process of exiting, do not directly click on the Remote Desktop program "X", also can not point off. Instead, on the desktop of the remote server, the point "start-shutdown-disconnect" is important.