Windows 11 Remote Desktop Client Not Connecting

Sometimes a Windows 11 Remote Desktop client attempting to connect to a Terminal Server will sit at 'Configuring remote connection...' without going any further. The following registry change appears to fix this behaviour (do this in an elevated CMD):

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\Client" /v fClientDisableUDP /d 1 /f
 Reboot and try again.