mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Don't install KB5003638 update as it breaks the VM (#3557)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user