Your remote desktop session has ended

Source: Internet
Author: User
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 occur.

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

1. "My Computer" --> right-click --> "manage" ---> "service and application"Program"--->" Service "---> Remote Desktop Help Session Manager right-built startup.

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

 

 

This problem may be caused by a problem with the device redirector of Terminal Services, resulting in connection failure. Solution:

1. Download devcom.exe tool http://download.microsoft.com/download/1/1/f/11f7dd10-272d-4cd2-896f-9ce67f3e0240/devcon.exe with a chain

2. decompress the package to a directory, start the command line mode, and switch to the i386 directory of the directory.

3. Run the devcon-R install % WinDir % \ INF \ MACHINE. inf Root \ rdpdr command to reinstall the Terminal Services reconfigurator.

4. restart the system and test whether the error is fixed.

Method 2

I. Remote Desktop Connection failure:

I have just installed an employee computer. The computer operating system is Windows XP. After the leaders decide that this computer will be used for data storage in the company, so they need to perform remote management operations in the future. As usual, the Remote Desktop Connection function of the system is enabled. Who knows that when other computers in the network access through the Remote Desktop Connection Program, there is a prompt "Disconnect Remote Desktop Connection, remote computer connection has ended", that is, the connection can be connected but it is interrupted immediately, there is no time to enter the administrator user name and password.

Ii. Problem Solving:

Now that you can connect to the computer, it is interrupted immediately. I suspect that the current account is used by default during Remote Desktop login, so I set my computer account and password to be consistent with the remote computer. Who knows the problem persists. It seems that the fault is caused by the Remote Desktop service of the computer. The author sought help online and finally found the problem.

Step 1: Click Start> RUN> enter Regedit to open the Registry Editor.

Step 2: Open the registry, find the [HKEY_LOCAL_MACHINE \ SYSTEM \ controlset001 \ Enum \ Root \ rdpdr key value, right-click the rdpdr on the left, and select "permission ".

Step 3: In the pop-up permission setting window for rdpdr, add the Everyone group to the full control permission. If you only want a specific user to remotely manage the computer, add the account to the permission settings window. Remember to grant "full control.

Step 4: copy the following content to a TXT file in notepad and save it as a file suffixed with. Reg. For example, I save it as 111.reg.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE \ SYSTEM \ controlset001 \ 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 }\\ 0030"

"MFG" = "(standard system device )"

"Service" = "rdpdr"

"Devicedesc" = "Terminal Server Device redirection"

"Configflags" = DWORD: 00000000

"Capabilities" = DWORD: 00000000

Step 5: double-click the saved Registry File 111.reg. if the prompt "Registry import successful" appears, the operation is correct.

Step 6: Click Start> RUN> enter services. MSC to open the Service Management window and find the services named "Remote Desktop Help Session Manager" and "Telnet.

Step 7: Right-click the two service names and select start to enable the Service.

Step 8: After the computer is restarted, we can access the computer through the Remote Desktop Connection Program without any problems. The program automatically enters the step of entering the Administrator account and password.

So far, we have solved the problem of remote desktop program interruption by starting the service, importing the registry, and modifying the registry key value and permissions, we can easily and normally use remote management programs to manipulate computers on the other end of the network.

Summary:

This fault is actually caused by the use of the lite version XP ghost or the XP Universal ghost circulating in the network when the operating system is installed. In these ghosts, the remote desktop program is disabled by default, some necessary permissions for using the registry key value are modified. Although personal users in ordinary families can improve security and prevent illegal users from connecting to computers through remote desktop, it is inconvenient for enterprises. Therefore, the author suggests that network administrators should try to choose XP ghosts that have not been simplified or directly use system CDs to install their computer operating systems in the future, after all, there are more or less problems with ghost usage.

In addition, during Remote Desktop Connection on the computer, the system will report an error: "remote connection and ngina. dll version conflict, unable to connect, please contact the Administrator ", search for ngina on the Microsoft Site, found this is caused by the installation of the Domino server version, the solution is very simple, you only need to delete a key value ---- ngina. DLL, HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ current version \ Winlogon

Where the registry value is GinaDLL: REG_SZ: ngina. dll

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.