Answered Remote Desktop Fails unless already logged in.

  • dimanche 27 mai 2012 05:17
     
     

    I've been having a problem using Remote Desktop to connect to a newly-installed server machine. When attempting to connect using remote desktop, the session will disconnect about 3-5 seconds after connecting (the remote desktop window is displaying 'welcome' at the time) with the error 'Your Remote Desktop session has ended'. After this disconnect, further attempts to connect to the server via remote desktop will simply fail with the message 'Remote desktop can't connect to the remote computer' (this will persist for about 2 minutes, and then the server will start to accept connection attempts again)

    However, if i've already logged into the machine before attempting to connect remotely, the session will connect without issues and take control of the session i logged into beforehand. Likewise, I can connect to disconnected remote desktop sessions fine. However, should i fully log out of the session and then try to reconnect, it will fail.

    The client machine is Windows 7 Professional SP1. The server machine is Windows Server 2008 R2 SP1 (running DHCP, DNS, RRAS, and IIS services). It's not a connectivity issue, since the two machines are situated on a LAN, not 4 metres away from each other.

Toutes les réponses

  • dimanche 27 mai 2012 05:28
    Modérateur
     
     Traitée

    Hi,

    Please log on to the console, open Control Panel -- Windows Update, click Check for updates, and then install all important updates.  After restarting, please check that you are able to connect using Remote Desktop without having problems.

    If above does not correct the problem, please remove the hotfixes listed below, restart, and then download/install them again:

    Security Update for Windows Server 2008 R2 x64 Edition (KB2667402)

    http://www.microsoft.com/download/en/details.aspx?id=29169

    Security Update for Windows Server 2008 R2 x64 Edition (KB2621440)

    http://www.microsoft.com/download/en/details.aspx?id=29116

    If the above does not correct the problem you will need to manually replace the rdpcorekmts.dll file with the correct version (6.1.7601.17767 for 2008 R2 SP1)

    Thanks.

    -TP

    • Marqué comme réponse Magnus Arania dimanche 27 mai 2012 06:43
    •  
  • dimanche 27 mai 2012 06:43
     
     
    Thanks. That worked perfectly. I replaced the rdpcorekmts.dll file with a compatible version from my windows 7 machine, and that worked perfectly.