Skip to content

Commit f8da501

Browse files
committed
Disable Windows Update
1 parent ac83868 commit f8da501

File tree

2 files changed

+3
-1592
lines changed

2 files changed

+3
-1592
lines changed

parts/kuberneteswindowssetup.ps1

+3
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,9 @@ try
336336
# to the windows machine, and run the script manually to watch
337337
# the output.
338338
if ($true) {
339+
Write-Log "Disable automatic Windows update"
340+
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v AUOptions /t REG_DWORD /d 1 /f
341+
339342
Write-Log "Provisioning $global:DockerServiceName... with IP $MasterIP"
340343
net start Docker
341344

0 commit comments

Comments
 (0)