From c1337f0562c9a0cd3418a67819e0ad391f0ad340 Mon Sep 17 00:00:00 2001 From: asmtron <49522124+asmtron@users.noreply.github.com> Date: Tue, 13 Aug 2019 01:59:53 +0000 Subject: [PATCH] Update autoupdate.bat add: set "Network Level Authentication" in the windows registry info: you can disable this feature by removing the two commands "call :setNLA" (line 207 and line 248) --- bin/autoupdate.bat | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bin/autoupdate.bat b/bin/autoupdate.bat index 798dbaf..c0819b7 100644 --- a/bin/autoupdate.bat +++ b/bin/autoupdate.bat @@ -7,7 +7,7 @@ REM ------------------------------------------------------------------- REM REM autoupdate.bat REM -REM Automatic RDP Wrapper installer and updater // asmtron (14-08-2019) +REM Automatic RDP Wrapper installer and updater // asmtron (15-08-2019) REM ------------------------------------------------------------------- REM Options: REM -log = redirect display output to the file autoupdate.log @@ -204,6 +204,7 @@ echo. set rdpwrap_installed="1" %RDPWInst_exe% -u %RDPWInst_exe% -i -o +call :setNLA goto :eof REM ------------------- @@ -244,6 +245,7 @@ echo. echo [*] Restart RDP Wrapper... echo. %RDPWInst_exe% -r +call :setNLA goto :eof REM -------------------------------------------------------------------- @@ -269,6 +271,14 @@ if "%download_status%"=="-1" ( ) goto :eof +REM -------------------------------- +REM Set Network Level Authentication +REM -------------------------------- +:setNLA +echo [*] Set Network Level Authentication in the windows registry... +reg.exe add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v SecurityLayer /t reg_dword /d 0x2 /f +reg.exe add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v MinEncryptionLevel /t reg_dword /d 0x2 /f +goto :eof :finish echo.