This is a problem with the latest update in Windows 11 22HS
To disable UDP connections, you have to go to HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client using the Registry Editor, create a new DWORD entry named fClientDisableUDP with a value of 1, and restart the device.