Server remote connection Prompt the client cannot connect to the remote computer _win server because of a protocol error

Source: Internet
Author: User
Tags system log
Today, when you connect to the server remotely, prompt

Break Remote Desktop Connection
---------------------------
The client could not connect to the remote computer because of a protocol error.
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.
This thought is the general error of the server, thought 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 the error in the system log: Terminal Server Licensing grace period has expired, 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 in the system, may be the person installing 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, However, two remote users are generally sufficient, Terminal Server can only use 120 days, 120 days after the need to register.

So Uninstall Terminal Services(Control Panel--Add or Remove Programs--Add or remove Windows Components--Cancel Terminal Server and Terminal Server Licensing) reboot the computer and turn on Remote Desktop (My Computer--Properties--remote--check "Enable Remote Desktop for this computer"), 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 thought that since it is reported "protocol error", if the remote port will be modified to solve the problem, try again ... Open the registry and modify [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\wds\rdpwd\tds\tcp] PortNumber for the required port, and then modify [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\winstations\rdp-tcp] Portnuber (This step is very critical, the normal situation in the registry has a Rdp-tcp folder, but now the server does not have this folder, so on other computers to export this part of the registry, and then import this server), modify the Portnuber port number, restart the server, Finally familiar with the login interface again appeared ....
Related Article

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.