From time to time, the session will freeze - the image stops updating. However, what I type and mouse clicks are still being sent. No error message is shown whatsoever, the image simply freezes. To make it work again, I have to close and re-open the session. Everything that I had typed and/or clicked while it was frozen is there.
Is there any way I can debug this?
SOLUTIONS:
Start an elevated command prompt (run cmd.exe as administrator), and then run:
reg add "HKLM\software\policies\microsoft\windows nt\Terminal Services\Client" /v fClientDisableUDP /d 1 /t REG_DWORD
After that, close and reopen all your RDP sessions on your client to restart the remote desktop client (mstsc.exe, aka Microsoft Terminal Services Client).
Extracted from article below