Remote connection to Windows 10 sometimes freezes

3

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?

windows-10
remote-desktop
asked on Super User Oct 29, 2020 by Glen Little

3 Answers

2

Those are network errors. You are unlikely to solve it by looking at Windows logs. You will need to troubleshoot the network connection all along the full path. If this includes the open internet you are going to have links that you can't see or fix.

I recommend using Wireshark on both ends and filter the traffic so you only see the RDP tunnel. This will give you an idea of where the connection is lost. Then you can check your networking hardware for events near the timestamps of the trouble seen in wireshark.

answered on Super User Mar 22, 2021 by HackSlash
0

In response to a comment of mine, the poster has upgraded from Windows 8.1 to Windows 10. We will see if that has solved the problem.


Because of the dialog boxes, the idle time limit might be reached for the RDP session, causing its termination.

The settings for session time limits may be found via gpedit.msc, at Computer Configuration/Administrative Templates/Windows Components/Remote Desktop Services/Remote Desktop Session Host/Session Time Limits.

You may adjust here the four settings as desired. You are probabaly mostly interested in "Set time limit for active but idle Remote Desktop Services sessions" and "Set time limit for active Remote Desktop Services sessions", but check all of them.

answered on Super User Mar 26, 2021 by harrymc • edited Mar 29, 2021 by harrymc
0

So, the client computer was rebuilt with Windows 10. The problem has not been noticed in the day or two since.

Unfortunately, there's no way to know whether it was a Windows 8.1 issue, or a setting on the computer when it was running 8.1 that was impacting the connection.

answered on Super User Mar 31, 2021 by Glen Little

User contributions licensed under CC BY-SA 3.0