Server remote connection hint the client cannot connect to the remote computer because of a protocol error

Source: Internet
Author: User
Tags system log port number


Disconnect Remote Desktop Connection  
--------------------------- 
due to a protocol error, The client cannot connect to the remote computer.  
Please reconnect to the remote computer. If the client is still unable to connect, contact your network administrator.  

Remote Desktop Connection server times error: The session will be interrupted due to a protocol error. Please reconnect to the remote computer.  
The server is thought to be a generic error, that the server can be restarted to solve the problem, so the computer room to restart the server. But no matter how to try the problem still, and then use other computer to try to connect, or the same problem, helpless had to let people go to the room installed a pcanywhere not reconciled with PCA, after all, Windows from the remote Desktop with a lot of convenience, and then use PCA to log on to the server carefully checked.  

finally found an error in the System log: The Terminal Server Licensing grace period has expired and the service has not been registered with a licensed license server. To continue, you need a Terminal Server license server. If there is no license server, the Terminal server can run for 120 days after the first boot.  

This reminds me that the server was not installed on its own system, it may be that the person who installed the system installed the "Terminal Server Components", this service is required by Ms Licensing, the general use of the system's "Remote Desktop" on the line, Remote Desktop is the most logged in with two remote users, and "Terminal Server components" Can be multiple users, but two remote users generally enough, Terminal Server can only use 120 days, 120 days after the need to register. 

Then Uninstall Terminal Services (Control Panel-Add or Remove Programs-add or remove Windows Components-Cancel Terminal Server and Terminal Server Licensing). Restart the computer and then turn on Remote Desktop (My Computer--Properties--remote--check "Enable this computer Remote Desktop"), reconnect how to try or report the same mistake. It's no good looking for solutions from the Internet.  

is ready to give up, suddenly think since it is reported "protocol error", if you modify the remote port will solve the problem, try again ... Open registry , modify [hkey_local_machinesystemcurrentcontrolsetcontrolterminal serverwdsrdpwdtdstcp ] Under the portnumber for the required port, and then modify [Hkey_local_machinesystemcurrentcontrolsetcontrolterminal serverwinstationsrdp-tcp] Portnuber (This step is critical, under normal circumstances The registry has Rdp-tcp folder, but now the server does not have this folder, so on the other computer export This part of the registry , and then import this server), modify the Portnuber port number, restart the server, finally familiar login interface appears again ....

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.