RDP connection to remote machine is very slow Print

  • 0

Another show-stopper is slow connection to Windows 10 machines over RDP. It doesn’t seem to happen with all machines but there are always some with issue. It doesn’t matter if connection is made from local network or over internet – when’ it’s slow, it’s just slow. Based on John D’s Tech Site article Remote Desktop slow problem solved it’s an old bug haunting around in Windows from version to version since Windows Vista.

For me it worked when I ran the command on both Windows 10 machines.

  1. Open command prompt in administrative permissions
  2. Run the following command: netsh interface tcp set global autotuninglevel=highlyrestricted
  3. Close command prompt

For me things worked out without restarting machines. The effect was immediate.

Connecting from high-resolution to low-resolution machines

Modern laptops come with damn good displays and it can be problematic to use remote machine with lower screen resolution. Everything is very small and sometimes it’s almost impossible to read the screen. There is RDP client available at Windows Store and usually end users are okay with it. Tech crowd needs different solution usually.

  1. Open Windows Explorer and move to c:\windows\system32\
  2. Check if there is file called mstsc.exe.manifest and if file doesn’t exist create it
  3. Paste the following XML to this file:

     

    <asmv3:application>
      <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
        <ms_windowsSettings:dpiAware xmlns:ms_windowsSettings="http://schemas.microsoft.com/SMI/2005/WindowsSettings">false</ms_windowsSettings:dpiAware>
      </asmv3:windowsSettings>
    </asmv3:application>
  4. Save file and connect to some remote server again.

It doesn’t work for all applications on remote servers but most of applications I need there are well usable after this little hack.

Solution for poor WiFi adapters

I have come machines connected to network over WiFi as cables doesn’t reach these machines. Interesting thing is that also WiFi adapters can be problem although when sitting at machines we don’t notice anything. I have some machines connected to network over WiFi as there is no cabling to rooms where the machines are located. So, it’s straight connection over WiFi like shown on image below.

Machines connected to main router over WiFi

With some of these machines I had issues also after applying fixes described above. Not always but sometimes RDP connections got slow and then dropped. Few times I was not able to connect to those machines until I restarted RDP service. Sometimes WiFi connection went down and adapter started work again when I restarted machine.

These issues made me think about possibility of low quality WiFi adapters in machines. Okay, one machine has also expensive one but still ran into adapter issues. Working solution was short in the dark – I just thought maybe it works as routers have usually more stable hardware due to different network work loads. I connected problematic machines to my old WRT-54G with cables. Then I configured old router as wireless client bridge that connects to main router over WiFi. Viola! My problems got solved.

Machines connected to main router using client bridge


Was this answer helpful?

« Back