question

cscadguy-0902 avatar image
0 Votes"
cscadguy-0902 asked JohnJY-4666 answered

RDP constantly reconnecting

For months I have been using RDP by connecting into my customer's network to carry out some work.

5 days ago the RDP starting losing it's connection, and subsequently reconnecting successfully. Now it is so frequent that it is tough to use and I'm left to try to figure out what is wrong.
I have noticed that if I just leave the RDP window open it doesn't happen, but when I start to work it'll constantly try to reconnect.

I have uploaded a section of the logs showing a sequence of RDP disconnecting then reconnecting.

I am on Windows 10 Pro, 10.0.19041.

56681-logs.txt


remote-desktop-client
logs.txt (20.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ElevenYu-MSFT avatar image
0 Votes"
ElevenYu-MSFT answered cscadguy-0902 commented

Hi,

Please check on the remote PC if there is group policy to set the RDP transport protocols as "Use only TCP". If so, please change it to "Use both UDP and TCP".
Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Connections

56896-image.png



Thanks,
Eleven


If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.


image.png (44.3 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Eleven,

Thank you for the response. The connection is setup to use both.

0 Votes 0 ·
ElevenYu-MSFT avatar image
0 Votes"
ElevenYu-MSFT answered

Hi,

Please read "Remote Desktop Client Troubleshooting: Disconnect Codes and Reasons" and check event logs to find the disconnect reason.
https://social.technet.microsoft.com/wiki/contents/articles/37870.remote-desktop-client-troubleshooting-disconnect-codes-and-reasons.aspx

Thanks,
Eleven


If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JohnJY-4666 avatar image
0 Votes"
JohnJY-4666 answered

@cs_cadguy I am having a similar issue now. Did you find the solution?

Thank you!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.