Solution for Remote Desktop Connection failure (the Administrator has terminated the session)

Source: Internet
Author: User

If remote desktop is enabled on the server, but you cannot log on to another computer, check the server.

1. Check whether the server firewall allows remote desktop. The default port for Remote Desktop is 3389. If the server security level is relatively low (the security requirements are not high) and you do not know how to set up a firewall, disable the firewall directly, especially the firewall that comes with windows.

2. the Remote Desktop setting is to determine whether to add a login user. The administrator user is permitted by default. It is best not to use this user and create another user.

3. If the following prompt appears during logon:

Your remote desktop session has ended, which may be one of the following reasons:

The Administrator has ended the session.

An error occurred while establishing the connection.

Network Problems

Check whether the Remote Desktop Help Session Manager Service in the system service is enabled.

1. "My Computer" --> right-click --> "management" ---> "services and applications" ---> "services" ---> Remote Desktop Help Session Manager right-start.

2. Modify the Registry permission. Find HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Enum \ Root \ rdpdr, right-click rdpdr, select permission, and select full control on everyone.

3. Copy the following content, save it as the reg file, and import it to the Registry.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Enum \ Root \ rdpdr \ 0000]
"Classguid" = "{4d36e97d-e325-11ce-bfc1-08002be10318 }"
"Class" = "system"
"Hardwareid" = hex (7):, 4f, 00, 4f, 54, 00, 5C ,\
, 00
"Driver" = "{4d36e97d-e325-11ce-bfc1-08002be10318 }\\ 0021"
"MFG" = "(standard system device )"
"Service" = "rdpdr"
"Devicedesc" = "Terminal Server Device redirector"
"Configflags" = DWORD: 00000000
"Capabilities" = DWORD: 00000000

Open the registry and check whether the script runs successfully. After the script runs successfully, restart the computer!

 

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.