From 3607686351dfc4a809e0281b485a09dac27b6563 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 5 Apr 2024 14:52:26 +0200 Subject: [PATCH] fix: Disable Security Center on XP --- src/install.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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\""