2020年7月15日 星期三

Remote desktop connection to a server takes very long time to connect

The following steps could speed up the RDP connection:
1. Open Network Connections in the configuration panel.
2. Right-click the icon of the network interface which is responsible for the connection to your server and select Properties.
3. In the Networking tab, click on the Configure… button.
4. In the next window, switch to the Advanced tab.
5. Click the Large Send Offload Version 2 (IPv4) and change the value to Disabled.
6. Click Start > click Run > type regedit and then click OK.
7. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
8. In the right pane, make sure that the DisableTaskOffload registry entry exists. If this entry does not exist, add the entry:
DWORD Value: DisableTaskOffload
Value Data: 1
9. Exit Registry Editor.
The following commands need to be entered through the command shell.
Which you can enter by doing: start > run > enter cmd.
netsh interface tcp set global autotuninglevel=disabled
and
netsh interface tcp set global autotuninglevel=highlyrestricted

沒有留言:

張貼留言