You can install the RDSH role using PowerShell with administrative privileges:
A "Repack" usually refers to a pre-patched version of the DLL file or an automated tool that has been recompiled or updated to handle the latest Windows Updates. Termsrv.dll Patch Windows Server 2019 REPACK
Termsrv.dll is the core library file responsible for Remote Desktop Services in Windows operating systems. Located in C:\Windows\System32\ , it manages: Incoming Remote Desktop Protocol (RDP) connections. User authentication for remote sessions. Session management for Remote Desktop. You can install the RDSH role using PowerShell
To manage your CALs, you need the RD Licensing role: User authentication for remote sessions
A manual hex editor can be used to find and replace specific bytes in termsrv.dll . This method is risky and time-consuming, as the file version (e.g., 10.0.17763.437 ) determines the exact offset to change.