Terminal Server Remote Destop Connection The remote computer has ended the connection error message 

Posted by @Cereal Sunday, December 13, 2009 6:00:00 AM
Rate this Content 0 Votes





After the migrations of a Windows 2003 Server from Physical to Virtual, when you want connect the migrated server with the remote desktop connection you receive the message « The remote computer has ended the connection ». This problem is also occurred when you remove drivers in a Windows 2003 Server with the « Microsoft Device Manager devcon.exe » tool

Après la migration d’un Windows 2003 serveur de Physique à Virtuel, lorsque vous désirez connecter un serveur migré à l’aide de terminal server service, vous recevez le message d’erreur suivant « L’ordinateur distant à mis fin à la connexion ». Ce problème survient également lorsque vous utiliser l’utilitaire « Microsoft Device Manager devcon.exe » pour supprimer des drivers. 

CAUSE
When you use the  “Microsoft Device Manager devcon.exe” with the command “devcon.exe remove *” the tool remove the drivers for :

  • Terminal Server Device Redirector
  • RDP Remote Mouse
  • RDP Remote Keyboars

After the reboot of the server all drivers detected are reinstalled but not the those 3 drivers because they are not Plug and Play. 

RESOLUTION
To resolve this problem follow this steps :

  1. Copy the “devcon.exe” file in the %WINDIR% directors.
  2. Open a command line “cmd”.
  3. Copy and execute  those commands :
    1. Terminal Server Device Redirector
      devcon.exe install %windir%\inf\machine.inf root\rdpdr
    2. RDP Remote Mouse
      devcon.exe install %windir%\inf\machine.inf ROOT\RDP_MOU
    3. RDP Remote Keyboars
      devcon.exe install %windir%\inf\machine.inf ROOT\RDP_KBD 
  4. Reboot the server.

Cereal

Simple-Tech.info
Comments are closed on this post.
Site Map | Printable View | © 2008 - 2010 Simple-Tech.info | Powered by mojoPortal | HTML 5 | CSS | Design by mitchinson