Answered by:
Security monthly quality updates failing with error code 800F0831

Question
-
On a Server 2012 R2 all the Security monthly updates have been failing to install since October 2016!
The Security only updates do install and so does Security update for IE.
I have tried downloading the updates and running locally to no avail.
This is happening on a few 2012 R2 Servers. I tried deleting Software Distribution folder and re-running Windows update to no avail.
I have checked the CBS.log for CBS_E_STORE_CORRUPTION and tried manually installing the KB it was referring to. This failed as well.
Thursday, May 10, 2018 11:26 AM
Answers
-
Hi, sorry for the delay.
I got this resolved with submitting the case to MS Support.
The problem ended up being a failed patch that was a prerequisite to another patch.
The fix involved:
- delete the CBS logs (just to make it easier to find error)
- Run windows update
- check CBS logs for errors
There was issue with encryption and a missing/corrupted patch
These were the commands to fix mine:
net stop cryptsvc
Ren %systemroot%\system32\catroot2 catroot2.bak
net start cryptsvcexpand -f:* windows8.1-kb3192392-x64_2438d75e9a0f6e38e61f992e70c832bc706a2b27.msu c:\temp
dism /online /remove-package /packagepath:"Windows8.1-KB3192392-x64.cab"
dism /online /add-package /packagepath:"c:\temp\Windows8.1-KB3192392-x64.cab"
- Marked as answer by techophil Thursday, August 23, 2018 5:03 AM
Saturday, August 18, 2018 3:26 AM
All replies
-
Hi techophil, this issue is a little complicated. Firstly, you can reset the Windows Update, download and run this reset scenario https://gallery.technet.microsoft.com/scriptcenter/Reset-Windows-Update-Agent-d824badc. Then, restart the computer and use DISM tool to repair, type the following command at a command prompt(Admin):
Dism /Online /Cleanup-Image /ScanHealth
Dism /Online /Cleanup-Image /CheckHealthHere is a link for your reference https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/repair-a-windows-image. If the issue is still existing after take above steps, could you please share the complete CBS.log via OneDrive?
-------------------------------------------------
Please remember to mark the replies as answers if they help.
- Edited by Tina CaoMicrosoft contingent staff Friday, May 11, 2018 9:37 AM
Friday, May 11, 2018 9:36 AM -
Hi, sorry for the delay.
I got this resolved with submitting the case to MS Support.
The problem ended up being a failed patch that was a prerequisite to another patch.
The fix involved:
- delete the CBS logs (just to make it easier to find error)
- Run windows update
- check CBS logs for errors
There was issue with encryption and a missing/corrupted patch
These were the commands to fix mine:
net stop cryptsvc
Ren %systemroot%\system32\catroot2 catroot2.bak
net start cryptsvcexpand -f:* windows8.1-kb3192392-x64_2438d75e9a0f6e38e61f992e70c832bc706a2b27.msu c:\temp
dism /online /remove-package /packagepath:"Windows8.1-KB3192392-x64.cab"
dism /online /add-package /packagepath:"c:\temp\Windows8.1-KB3192392-x64.cab"
- Marked as answer by techophil Thursday, August 23, 2018 5:03 AM
Saturday, August 18, 2018 3:26 AM