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.


Comments

  1. Is it possible the remote session gets killed by a lack of mouse movement with Win 11?

    ReplyDelete
    Replies
    1. If there are some policies on the server RDP and timeout values are set to disconnect idle sessions.

      Delete
  2. This method didn't work.

    ReplyDelete
  3. worked a charm, thanks babe

    ReplyDelete
  4. Worked :D Thanks alot

    ReplyDelete
  5. Thanks, it works, great

    ReplyDelete
  6. Unfortunately this didnt fix my issue.

    ReplyDelete
  7. Worked! Thanks :)

    ReplyDelete
  8. This was really helpful and solved issue for me and my users. Thanks!

    ReplyDelete
  9. Fixed my issue. Thank you!

    ReplyDelete
  10. Didn't work for me.

    ReplyDelete
  11. S**t. Freaking working now!

    ReplyDelete
  12. this 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.

    ReplyDelete
  13. Thank you very much

    ReplyDelete
  14. It worked for me, now it disconnects gracefully and reconnects automatically, instead of just going unresponsive.

    ReplyDelete

Post a Comment

Popular posts from this blog

Certification - 70-533

Windows 2019 Server Change TimeZone error "Unable to continue" You Do not have permissions to perform this task.