Provisioning: Disable Windows Defender
authorSimo Fält <simo.falt@qt.io>
Thu, 5 Jan 2017 15:17:56 +0000 (17:17 +0200)
committerSimon Hausmann <simon.hausmann@qt.io>
Fri, 6 Jan 2017 12:15:36 +0000 (12:15 +0000)
This will reduct the timeouts coin has had recently with win machines.

Change-Id: I32118f226194a3ea5e3c85d24103ec8341925d3c
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
coin/provisioning/qtci-windows-10-x86/04-disable-windefender.ps1 [new file with mode: 0644]
coin/provisioning/qtci-windows-10-x86_64/04-disable-windefender.ps1 [new file with mode: 0644]
coin/provisioning/qtci-windows-7-x86/04-disable-windefender.ps1 [new file with mode: 0644]
coin/provisioning/qtci-windows-8-x86/04-disable-windefender.ps1 [new file with mode: 0644]
coin/provisioning/qtci-windows-8-x86_64/04-disable-windefender.ps1 [new file with mode: 0644]

diff --git a/coin/provisioning/qtci-windows-10-x86/04-disable-windefender.ps1 b/coin/provisioning/qtci-windows-10-x86/04-disable-windefender.ps1
new file mode 100644 (file)
index 0000000..2d1f078
--- /dev/null
@@ -0,0 +1,5 @@
+# Turning off win defender.
+#
+# If disabled manually, windows will automatically enable it after
+# some period of time. Disabling it speeds up the builds.
+REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /V DisableAntiSpyware /T REG_dWORD /D 1 /F
diff --git a/coin/provisioning/qtci-windows-10-x86_64/04-disable-windefender.ps1 b/coin/provisioning/qtci-windows-10-x86_64/04-disable-windefender.ps1
new file mode 100644 (file)
index 0000000..2d1f078
--- /dev/null
@@ -0,0 +1,5 @@
+# Turning off win defender.
+#
+# If disabled manually, windows will automatically enable it after
+# some period of time. Disabling it speeds up the builds.
+REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /V DisableAntiSpyware /T REG_dWORD /D 1 /F
diff --git a/coin/provisioning/qtci-windows-7-x86/04-disable-windefender.ps1 b/coin/provisioning/qtci-windows-7-x86/04-disable-windefender.ps1
new file mode 100644 (file)
index 0000000..2d1f078
--- /dev/null
@@ -0,0 +1,5 @@
+# Turning off win defender.
+#
+# If disabled manually, windows will automatically enable it after
+# some period of time. Disabling it speeds up the builds.
+REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /V DisableAntiSpyware /T REG_dWORD /D 1 /F
diff --git a/coin/provisioning/qtci-windows-8-x86/04-disable-windefender.ps1 b/coin/provisioning/qtci-windows-8-x86/04-disable-windefender.ps1
new file mode 100644 (file)
index 0000000..2d1f078
--- /dev/null
@@ -0,0 +1,5 @@
+# Turning off win defender.
+#
+# If disabled manually, windows will automatically enable it after
+# some period of time. Disabling it speeds up the builds.
+REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /V DisableAntiSpyware /T REG_dWORD /D 1 /F
diff --git a/coin/provisioning/qtci-windows-8-x86_64/04-disable-windefender.ps1 b/coin/provisioning/qtci-windows-8-x86_64/04-disable-windefender.ps1
new file mode 100644 (file)
index 0000000..2d1f078
--- /dev/null
@@ -0,0 +1,5 @@
+# Turning off win defender.
+#
+# If disabled manually, windows will automatically enable it after
+# some period of time. Disabling it speeds up the builds.
+REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /V DisableAntiSpyware /T REG_dWORD /D 1 /F