Hi Everyone, im trying to figure out why critical patch policies is keep failing with below error code(ignore OpenVPN). its happening to almost 70 percent of device.. i tried restarting windows update services to find out if that resolve the issue but so far no luck. any suggestion this would be highly appreciated.
Thanks
Failed to apply patches ("OpenVPN Connect" "Remote Desktop" "2024-01 Security Update for Windows 10 Version 22H2 for x64-based Systems (KB5034441)" "FileZilla Client" "AWS Command Line Interface v2"): Error: OpenVPN Connect is unable to patch because it is currently running
InstallMSUpdates : Install failed with ResultCode 4 and HResult -2145124318
At C:\Program Files (x86)\Automox\execDir177495117\execcmd237205320.ps1:1727 char:17
+ InstallMSUpdates $lst
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,InstallMSUpdates
InstallMSUpdates : Install failed with ResultCode 4 and HResult -2145124318
At C:\Program Files (x86)\Automox\execDir177495117\execcmd237205320.ps1:1727 char:17
+ InstallMSUpdates $lst
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,InstallMSUpdates
InstallMSUpdates : Install failed with ResultCode 4 and HResult -2145124318
At C:\Program Files (x86)\Automox\execDir177495117\execcmd237205320.ps1:1727 char:17
+ InstallMSUpdates $lst
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,InstallMSUpdates
InstallMSUpdates : Install failed with ResultCode 4 and HResult -2145124318
At C:\Program Files (x86)\Automox\execDir177495117\execcmd237205320.ps1:1727 char:17
+ InstallMSUpdates $lst
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,InstallMSUpdates
COMMAND TIMED OUT.
Error: 0x80240022, -2145124318
Error Source: FACILITY_WINDOWSUPDATE
Error Message: Operation failed for all the updates.