I remotely connect using RDP from a Windows 8.1 computer to a Windows 10 Pro computer (version 2004, 19041.572) and am able to work just fine.
However, it occasionally freezes for a minute. This happens 1 to 5 times a day.
When looking in the Windows Event Viewer on the Windows 10 computer, one of the RDP logs (Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational) has errors recorded.
Here are some snippets from that log, with my comments:
First log entry when the freeze happened…
- TCP socket WRITE operation failed, error 10054
- RDP_TCP: An error was encountered when transitioning from StateUnknown in response to Event_Disconnect (error code 0x80072746).
- TCP socket READ operation failed, error 64
- TCP socket WRITE operation failed, error 64
- TCP socket WRITE operation failed, error 995
- Interface method called: OnDisconnected
Lots of other Info entries, then:
- Disconnect trace:CUMRDPConnection Disconnect trace:'calling spGfxPlugin->PreDisconnect()' in CUMRDPConnection::PreDisconnect at 5073 err=[0x80072746], Error code:0x80072746
- …
- The disconnect reason is 14
- …
- The network characteristics detection function has been disabled because of Reason Code: 2(Server Configuration).
It automatically started to reconnect, then:
- 'Failed GetConnectionProperty' in CUMRDPConnection::QueryProperty at 3344 err=[0x80004001]
Continued to connect, then:
- 'Failed CreateVirtualChannel call on this Connections Stack' in CUMRDPConnection::CreateVirtualChannel at 2958 err=[0xd0000001]
Continued, but got two more of the above error.
Connection was reestablished and continued with no further log entries
What is wrong and how can this be fixed?
sfc /scannow
, let that complete then rundism /online /cleanup-image /restorehealth
, now reboot and see if the problem still exists. Try on both the remote system and the Win 8 system to be thorough. What type of network adapter does the remote system and the Win 8 system use? Both Ethernet, one WiFi and the other Ethernet or what? Seems like network connection issue so check over network adapter settings and maybe disallow the OS from using power saving on all applicable network adapters.gpedit.msc
navigate to Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Connections and enable "Configure keep-alive connection interval" while keeping its value as "1".