Don't install KB5003638 update as it breaks the VM (#3557)

This commit is contained in:
Mikhail Timofeev
2021-06-10 09:19:50 +03:00
committed by GitHub
parent 6afff5d0d9
commit ff4ba2e725

View File

@@ -5,4 +5,10 @@
################################################################################
Write-Host "Run windows updates"
# KB5003638 causes the windows server 2016 virtual machine to hang on shutdown step
if (Test-IsWin16) {
Get-WUInstall -MicrosoftUpdate
Write-Host "Hide update KB5003638"
Hide-WindowsUpdate -Confirm:$false -KBArticleID "KB5003638"
}
Get-WUInstall -MicrosoftUpdate -AcceptAll -Install -IgnoreUserInput -IgnoreReboot