Solution to "remote computer connection ended"
The Remote Desktop cannot be connected due to the device redirector of Terminal Services.
The operating system is Windows XP + SP2 and the Remote Desktop function has been enabled.
The Remote Desktop Connection fails. If the remote desktop window is black, the connection is interrupted. If you connect the desktop twice, the system prompts "the remote computer has ended ".
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
Decompress the package to a directory, start the command line mode, and switch to the i386 directory of the directory.
Run the devcon-R install % WINDIR %/INF/machine. inf root/rdpdr command to reinstall the Terminal Services redirection.
4. restart the system and test whether the error is fixed.
Method 2
Open Registry
Find [HKEY_LOCAL_MACHINE/system/controlset001/Enum/root/rdpdr/
Right-click the left-side rdpdr-permission, select full control, copy the following registry content to notepad, save it as the reg file, and then import the registry.
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
Finally, enable the Remote Desktop Help Session Manager and Telnet services in the control panel-management tools-service, restart the computer, and recover Remote Desktop Management to normal.