Prompt When remotely connecting to the server today
Interrupt Remote Desktop Connection
---------------------------
The client cannot connect to the remote computer due to a protocol error.
Please connect to the remote computer again. If the client still cannot be connected, contact the network administrator.
When you connect to the server through remote desktop, an error is reported: the session will be interrupted due to a protocol error. Connect to the remote computer again.
I thought it was a general server error. I thought that restarting the server would solve the problem, so I had to restart the server in the IDC. However, no matter how the problem persists, try to connect with other computers, and the problem is the same. Instead, you have to install a pcAnywhere on the machine room and are unwilling to use PCA, after all, WINDOWS's built-in remote desktop is much more convenient to use, so use PCA to log on to the server and check carefully.
Finally, an error is found in the system log:Terminal Server authorization grace period expiredThe service has not been registered with a license server. To continue, you must have a terminal server license server. If no license server is available, the terminal server can run for 120 days after the first startup.
This reminds me that the server was not a self-installed system at the time. It may be that the system installer installed the "Terminal Server Components". This service requires MS authorization, generally, you can use the system's "Remote Desktop". The same Remote Desktop can be used to log on to two remote users, while the "Terminal Server Components" can have multiple users, but the two remote users are generally enough, the terminal server can only be used for 120 days. Registration is required after 120 days.
ThereforeUninstall Terminal Services(Control panel -- add or delete programs -- add or delete WINDOWS Components -- Cancel "Terminal Server" and "Terminal Server authorization "), restart the computer and then enable remote desktop (my computer -- properties -- remote -- check "enable remote desktop for this computer"). How can I try to reconnect to the computer and still report the same error. No solution can be found from the Internet.
When I was about to give up, I suddenly thought that since it was a "protocol error", would it solve the problem if I modified the remote port? Try again... Open the registry and modify PortNumber under [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ Wds \ rdpwd \ Tds \ tcp] As the required port, modify the PortNuber under [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Terminal Server \ WinStations \ RDP-Tcp] (this step is critical. Normally, the registry contains the RDP-Tcp folder, but the folder does not exist on the server, so export the Registry copy on other computers and then import it to the server), modify the PortNuber port number, and restart the server, finally, the familiar logon interface appears again ....