Windows 11 22H2 RDP disconnects and freezes randomly
Namaste Everyone.
I have been following and reading many forums with the similar issue of RDP session freezing or either getting disconnected frequently. Logs have not proved anything exceptional or drastic changes in the environment, however I was able to test this in my lab and have traced some Network Logs via the Wireshark and could see retransmision packets between the client and the server. This all started after the update to Windows 11 22H2.
The resolution is to either rollback the 22H2 on the client or apply this registry or ADMX setting via the Group Policy.
My theory is that after looking at the logs in my client is that the problem is due to the fact that the RDS connection is trying to connect over UDP and is not trying to connect over TCP if the UDP fails or gets block for some reason.
So either you can manually set the registry in the client by following the below step:
Browse to the below Registry Path with administrator account:
HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client
Create a DWORD named fClientDisableUDP and assign it a value of 1
Reboot the client PC.
or via GPO ADMX follow this link to browse the GPO settings. Visit the ADMX page over here.
Hope this helps and you are able to have a steady connection to the RDP server.
Thank you!!!!
ReplyDeletebawls
DeleteIs it possible the remote session gets killed by a lack of mouse movement with Win 11?
ReplyDeleteIf there are some policies on the server RDP and timeout values are set to disconnect idle sessions.
DeleteThis method didn't work.
ReplyDeleteworked a charm, thanks babe
ReplyDeleteWorked :D Thanks alot
ReplyDeleteThanks, it works, great
ReplyDeleteUnfortunately this didnt fix my issue.
ReplyDeleteWorked! Thanks :)
ReplyDeleteThis was really helpful and solved issue for me and my users. Thanks!
ReplyDeleteFixed my issue. Thank you!
ReplyDeleteDidn't work for me.
ReplyDeleteS**t. Freaking working now!
ReplyDeletethis worked for me on the Host side: gpedit.msc > Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Select RDP Transport protocol > Set enabled and choose TCP only, Reboot.
ReplyDeleteThank you very much
ReplyDeleteIt worked for me, now it disconnects gracefully and reconnects automatically, instead of just going unresponsive.
ReplyDelete