icacls c:\Windows\System32\termsrv.dll /grant Administrators:F . : Run net stop TermService .
: Does not modify termsrv.dll , making it safer during Windows Updates. Termsrv.dll Patch Windows Server 2019 REPACK
Run: icacls c:\Windows\System32\termsrv.dll /grant Administrators:F . 2. Stop Remote Desktop Services You cannot modify the file while the service is active. Run: net stop TermService . If prompted, stop dependent services like UmRdpService . 3. Edit the DLL (Hex Editor Method) icacls c:\Windows\System32\termsrv