Hello,
If you're on Windows 11 22H2, RDP seems broken and this is a known while loading virtual machines.
See if this fix helps you:
https://www.kapilarya.com/fix-rdp-not-working-after-windows-11-22h2-update
Let us know if this helps!
Note: Included link in this reply refers to blog post by a trusted Microsoft MVP.