aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/windows/disable-windows-module-installer.ps1
diff options
context:
space:
mode:
authorHeikki Halmet <heikki.halmet@qt.io>2019-09-03 12:46:29 +0300
committerHeikki Halmet <heikki.halmet@qt.io>2019-10-29 21:29:11 +0300
commit7313c2fa10e041a0750be628fae524414e24a84e (patch)
tree18e7cf90e009f32f0e0d6d505e50f338b2b4bf29 /coin/provisioning/common/windows/disable-windows-module-installer.ps1
parentc48621073fe4ebb72041355ac8754f55e04d6129 (diff)
Provisioning: Disable or delete unneeded tasks and services
Windows have lot's of tasks and services running which are slowing the performance of build machine. Also 'windows' and 'windows defender' updates need's to be "permanently" disabled. Task-number: QTQAINFRA-3182 Change-Id: I8f6b237fcdc6e38fa9a06836d349821d86c58afc (cherry picked from commit a3136bdbfef242339c002630f51b4bc0f5c05503) Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Diffstat (limited to 'coin/provisioning/common/windows/disable-windows-module-installer.ps1')
-rw-r--r--coin/provisioning/common/windows/disable-windows-module-installer.ps14
1 files changed, 4 insertions, 0 deletions
diff --git a/coin/provisioning/common/windows/disable-windows-module-installer.ps1 b/coin/provisioning/common/windows/disable-windows-module-installer.ps1
new file mode 100644
index 00000000..c7f85ff7
--- /dev/null
+++ b/coin/provisioning/common/windows/disable-windows-module-installer.ps1
@@ -0,0 +1,4 @@
+# Disable Windows Module Installer (Trusted Installer).
+# Trusted Installe enables installation, modification, and removal of Windows updates and optional components.
+# If this service is disabled, install or uninstall of Windows updates might fail for this computer.
+sc.exe config TrustedInstaller start=disabled