aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/qtci-windows-10-x86
diff options
context:
space:
mode:
authorSimo Fält <simo.falt@qt.io>2017-01-05 17:17:56 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2017-01-06 12:15:36 +0000
commit167e4fc36fb1866933241239d8261f72280b58fb (patch)
tree23c4e6f9317efb2edc4344ea6e2b9539b7d315d9 /coin/provisioning/qtci-windows-10-x86
parent8a60455e61d6a7cd11eb7da02bdf1cae8ff97b8b (diff)
Provisioning: Disable Windows Defender
This will reduct the timeouts coin has had recently with win machines. Change-Id: I32118f226194a3ea5e3c85d24103ec8341925d3c Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'coin/provisioning/qtci-windows-10-x86')
-rw-r--r--coin/provisioning/qtci-windows-10-x86/04-disable-windefender.ps15
1 files changed, 5 insertions, 0 deletions
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
index 00000000..2d1f0783
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10-x86/04-disable-windefender.ps1
@@ -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