Are you using Remote Desktop v10.7.6 on Monterey? Is Remote Desktop enabled on the Windows side? There were users from Summer 2000 having this RDP error code issue when using Mojave 10.14.6, so I doubt but do not discount the fact that it may be a Monterey issue. Microsoft has now lumped their RDP (win and mac) user support under Windows Server located here.