xWindowsUpdate icon indicating copy to clipboard operation
xWindowsUpdate copied to clipboard

Error loop when Update is not applicable

Open vicp-iq opened this issue 9 years ago • 1 comments

I am trying to install update "KB2919442" on some machines with xHotfix. On some machines it succeeds, on other machines it fails with the following message:

Could not install the windows update. Details are stored in the log C:\windows\TEMP\tmpFAC3.tmp.etl . Error message is Windows update could not be installed because of error 2149842967 "" (Command line: ""C:\windows\system32\wusa.exe"

That error code maps to 0x80240017 on https://technet.microsoft.com/en-us/library/dd939837%28WS.10%29.aspx?f=255&MSPPError=-2147217396

This is a problem because the installation fails, making an error message. The error is unresolvable, and the Test-TargetResource always returns false, I suspect because of: https://github.com/PowerShell/xWindowsUpdate/blob/57e019abe279f362affe866d67632d4fc6d4e0b9/DscResources/MSFT_xWindowsUpdate/MSFT_xWindowsUpdate.psm1#L215

vicp-iq avatar Oct 12 '16 22:10 vicp-iq

I'm running in to the same issue. In my case I has DSC try to ensure spectre mitigation Hotfixes were present.

Problem is: There are security updates already installed that supersede the hotfix I've set in fact as far as I can see, the only one installed is some layers above that even. these monthly updates keep superseding.

DSC seems to only check if the Specific hotfix is installed and tries to install it. Fails with a no applicable updates error.

However Puppet was ensuring Hotfix via DSC and every run it redownloaded the hotfix (even though it's in the cache folder) and keept trying to apply it.

budtske avatar Nov 08 '19 15:11 budtske