These steps are for Windows Server 2022 (build 20348). Older patches for 2016/2019 won’t work.
copy C:\Windows\System32\termsrv.dll C:\Windows\System32\termsrv.dll.backup termsrvdll patch windows server 2022 free work
Enable "Limit number of connections" in gpedit.msc and set it to 999999. These steps are for Windows Server 2022 (build 20348)
Thus, even if a patched DLL loaded once, a reboot or update will detect the mismatch and blue-screen. termsrvdll patch windows server 2022 free work