Skip to content

Commit

Permalink
Don't install KB5003638 update as it breaks the VM (actions#3557)
Browse files Browse the repository at this point in the history
  • Loading branch information
miketimofeev authored Jun 10, 2021
1 parent 6afff5d commit ff4ba2e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions images/win/scripts/Installers/Install-WindowsUpdates.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ff4ba2e

Please sign in to comment.