diff --git a/src/install.sh b/src/install.sh index 49d9c9e..735377f 100644 --- a/src/install.sh +++ b/src/install.sh @@ -828,9 +828,15 @@ prepareXP() { { echo "Windows Registry Editor Version 5.00" echo "" echo "[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security]" + echo "\"FirstRunDisabled\"=dword:00000001" + echo "\"AntiVirusOverride\"=dword:00000001" + echo "\"FirewallOverride\"=dword:00000001" echo "\"FirewallDisableNotify\"=dword:00000001" echo "\"UpdatesDisableNotify\"=dword:00000001" - echo "\"AntiVirusDisableNotify\"=dword:00000001" + echo "\"AntiVirusDisableNotify\"=dword:00000001" + echo "" + echo "[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wscsvc]" + echo "\"Start\"=dword:00000004" echo "" echo "[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\WindowsFirewall\StandardProfile]" echo "\"EnableFirewall\"=dword:00000000" @@ -870,7 +876,7 @@ prepareXP() { echo "Set oInfoUser = GetObject(\"WinNT://\" & strComputer & \"/Administrator,user\")" echo "set oUser = oMachine.MoveHere(oInfoUser.ADsPath,\"Docker\")" } | unix2dos > "$dir/\$OEM\$/admin.vbs" - + { echo "[COMMANDS]" echo "\"REGEDIT /s install.reg\"" echo "\"Wscript admin.vbs\""