Windows update Problem – Installing KB4284815 – Code 800F0831 – Store corruption, manifest missing for package: Package_2165_for_KB4103725

Hey! I discovered that some of my servers (Server 2012 R2) have some patching problems now in June.

When im trying to patch the KB4284815 – June 12, 2018—KB4284815 (Monthly Rollup)

Then im getting this Error.
Code 800F0831

I started to investigate the CBS.log in “C:\Windows\Logs\CBS\CBS.log”

And as I assumed, I got an Error Code
2018-06-25 09:25:48, Info CBS Store corruption, manifest missing for package: Package_2165_for_KB4103725~31bf3856ad364e35~amd64~~6.3.1.4

2018-06-25 09:25:48, Error CBS Failed to resolve package ‘Package_2165_for_KB4103725~31bf3856ad364e35~amd64~~6.3.1.4′ [HRESULT = 0x800f0831 – CBS_E_STORE_CORRUPTION]

Ok. It says something about KB4103725 – May 8, 2018—KB4103725 (Monthly Rollup)

To solve this we need to reinstall that patch again (last month patch), something happend with the Store Corruption.

And I´ve made a simple Powershell script to solve it.
CBS_E_STORE_CORRUPTION_0x800F0831_KB4103725.zip

Just follow these instructions:

#Synopsis
#CBS_E_STORE_CORRUPTION_0x800F0831_KB4103725.ps1
#Created: 2018-06-25
#Version: 1.0

#Author : Pontus Wendt
#Twitter: @pontuswendt
#Blog : https://pontuswendt.blog
#Disclaimer: This script is provided "AS IS" with no warranties, confers no rights and
#is not supported by the author.

# 1. Download the .MSU file from Microsoft. https://www.catalog.update.microsoft.com/Search.aspx?q=KB4103725

# 2. Put it in the C:\Temp folder.
# 3. Locate the folder
Set-location C:\temp
# 4. Extract .msu file.
expand .\windows8.1-kb4103725-x64_cdf9b5a3be2fd4fc69bc23a617402e69004737d9.msu -f:* C:\TEMP

# 5. Install the update again,
DISM.exe /Online /Add-Package /PackagePath:C:\TEMP\Windows8.1-KB4103725-x64.cab

# 6. Your done. Try to install the new patch again.

If you have more servers with this kind of problems, you can just download the .msu file, put it in a sccm package. Then add this to the script.

#Make folder
New-item -Path .\Temp -ItemType Directory -Force
#Copy .msu file
Copy-Item -Path .\windows8.1-kb4103725-x64_cdf9b5a3be2fd4fc69bc23a617402e69004737d9.msu -Destination C:\temp

Good Luck
/Pontus

 

4 thoughts on “Windows update Problem – Installing KB4284815 – Code 800F0831 – Store corruption, manifest missing for package: Package_2165_for_KB4103725

  1. You are a genius. I kept doing this, running DISM -f…. with no success…. then checking CBS log each time finding a different CBS_E_STORE_CORRUPTION, getting it from Microsoft then going again. I got all the way back to KB4093114. used “expand windows8.1-kb4093114-x64_9946bc9008c14c5eefba036dbc7beb5ecb98337a.msu -f:* C:”
    I tried KB4343898 -> then KB4338815 -> then KB4284815 -> then KB4103725 each to the same error. And finally KB4093114 – success!
    That completed successfully, then KB44557129 (2018-09 Security Monthly Quality Rollup for Windows 8.1 for x64-based Systems (KB4457129) installed straight away by itself.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s