Windows updates failed to install with error code: 800F0831 in Windows Server 2012 R2


If any previous update is missing on the server then you will get the above error. To find the missing patch you have to check the CBS logs on the affected server and you will find the similar entries like below. 

2017-05-10 10:09:45, Error   CBS  Failed to resolve package 'Package_514_for_KB3205401~31bf3856ad364e35~amd64~~' [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]

2017-05-10 10:09:45, Info  CBS  Mark store corruption flag because of package: Package_514_for_KB3205401~31bf3856ad364e35~amd64~~ [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]

In this case, it was KB3205401 missing on the server. hence request you to find out the correct missing package on the server and install it to resolve the issue 


  • Install the missing patch and reboot the server.
  • Post reboot try patching it will resolve the issue completely.


If the missing patch does not install: reported not applicable; remove the update via DISM first. Note the KB detailed within the CBS log after "Store corruption, manifest missing for package:"; In this case  KB3205401. This KB is not installed or visible within control panel or Powershell (get-hotfix | select hotfixid) however, the manifest file is present within the folder C:\Windows\servicing\Packages.

Download the KB3205401 MSU file from the Microsoft Update catalog  and extract the CAB file to a temp directory.

expand C:\temp\updates\windows8.1-kb3205401.msu /f:* C:\temp\updates\kb3205401

Then remove the package using DISM; this will in affect remove the manifest file from C:\Windows\servicing\Packages

dism /online /remove-package:C:\Temp\Updates\kb3205401\

Finally after removing the corrupted manifest files /updates the intended update will install via DISM/SCCM successfully and the CBS log will not have any corruption errors.

Dism /online /add-package /packagepath:C:\Temp\Updates\kb123456\