Windows Update 800F0922
C:\Windows\Temp directory and other Temp directories for good-measure - then it should install updates fine.
As this is an Azure VM, Microsoft's "Basic" support tier is available - granted it took 3 days to arrange a phone-call, but the support staff were able to find a workaround just today.
CBS.log file he spotted this line (trimmed and tidied-up by me):
2016-08-16 20:26:50, Error CSI [email protected]/8/16:20:26:50.808 (F) CMIADAPTER: Inner Error Message from AI HRESULT = 8004402f [Error,Facility=FACILITY_ITF,Code=16431 (0x402f)] [ "Parsing MOF file: C:\Windows\system32\wbem\NetTCPIP.mof Error 80 in Function CMofLexer::CMofLexer line 614 C:\Windows\system32\wbem\NetTCPIP.mof (1): error SYNTAX 0X8004402f: Error creating temporary file" ] [gle=0x80004005]
The important bit being this error:
Error creating temporary file
He instructed me to change the default environment-variables:
TMP in both System and User definitions to
C:\TEMP and to ensure
Full Access to
After rebooting the clogged-up updates installed without any further issues.
After installing those updates fine I then deleted all of the files in the original C:\Windows\Temp directory (which took 5+ minutes, there were a lot of deeply nested files). I then reset the TMP and TEMP environment variables back to
C:\Windows\Temp and rebooted.
Two new updates were then ready to install and installation completed without any problems.
So I think the problem was bad data in the Temp directory that prevented the updates from doing anything.
Update in Mid-2017: I had a similar incident on a Windows 10 laptop recently with the same error code. I immediately went to the
C:\Windows\Temp directory and saw it had a lot files in it (about 16,000 files and folders), including deeply-nested folders too. After I deleted everything in the directory and rebooted I was able to install the updates again.