mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
fix: Disable Security Center on XP
This commit is contained in:
parent
7fd8579ee9
commit
3607686351
1 changed files with 8 additions and 2 deletions
|
|
@ -828,9 +828,15 @@ prepareXP() {
|
||||||
{ echo "Windows Registry Editor Version 5.00"
|
{ echo "Windows Registry Editor Version 5.00"
|
||||||
echo ""
|
echo ""
|
||||||
echo "[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security]"
|
echo "[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security]"
|
||||||
|
echo "\"FirstRunDisabled\"=dword:00000001"
|
||||||
|
echo "\"AntiVirusOverride\"=dword:00000001"
|
||||||
|
echo "\"FirewallOverride\"=dword:00000001"
|
||||||
echo "\"FirewallDisableNotify\"=dword:00000001"
|
echo "\"FirewallDisableNotify\"=dword:00000001"
|
||||||
echo "\"UpdatesDisableNotify\"=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 ""
|
||||||
echo "[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\WindowsFirewall\StandardProfile]"
|
echo "[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\WindowsFirewall\StandardProfile]"
|
||||||
echo "\"EnableFirewall\"=dword:00000000"
|
echo "\"EnableFirewall\"=dword:00000000"
|
||||||
|
|
@ -870,7 +876,7 @@ prepareXP() {
|
||||||
echo "Set oInfoUser = GetObject(\"WinNT://\" & strComputer & \"/Administrator,user\")"
|
echo "Set oInfoUser = GetObject(\"WinNT://\" & strComputer & \"/Administrator,user\")"
|
||||||
echo "set oUser = oMachine.MoveHere(oInfoUser.ADsPath,\"Docker\")"
|
echo "set oUser = oMachine.MoveHere(oInfoUser.ADsPath,\"Docker\")"
|
||||||
} | unix2dos > "$dir/\$OEM\$/admin.vbs"
|
} | unix2dos > "$dir/\$OEM\$/admin.vbs"
|
||||||
|
|
||||||
{ echo "[COMMANDS]"
|
{ echo "[COMMANDS]"
|
||||||
echo "\"REGEDIT /s install.reg\""
|
echo "\"REGEDIT /s install.reg\""
|
||||||
echo "\"Wscript admin.vbs\""
|
echo "\"Wscript admin.vbs\""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue