aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/windows/disable-windows-module-installer.ps1
blob: 2d829b04f9e36bb155a4ba97cf71865d4890da25 (plain)
1
2
3
4
5
6
. "$PSScriptRoot\helpers.ps1"

# 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.
Run-Executable "sc.exe" "config TrustedInstaller start=disabled"