Windows Server 2022 (Build 20348) introduced several security mitigations:
If you need multi-session RDP on Server 2022, purchase the appropriate RDS CALs. If you cannot afford CALs, consider using open-source remote access tools (e.g., Apache Guacamole, X2Go) or migrating workloads to Linux with XRDP. Termsrv.dll Patch Windows Server 2022 -FREE-
The author and this article are not responsible for any violation of licensing agreements, data loss, or security breaches resulting from the use of this patch. Proceed at your own risk. Termsrv.dll Patch Windows Server 2022 -FREE-