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

This reverts commit ff4ba2e725.
This commit is contained in:
Mikhail Timofeev
2021-06-21 20:02:32 +03:00
committed by GitHub
parent 1fb8c5d6a1
commit 83a5e887f4

View File

@@ -5,10 +5,4 @@
################################################################################ ################################################################################
Write-Host "Run windows updates" 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 Get-WUInstall -MicrosoftUpdate -AcceptAll -Install -IgnoreUserInput -IgnoreReboot