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.
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~~188.8.131.52
2018-06-25 09:25:48, Error CBS Failed to resolve package ‘Package_2165_for_KB4103725~31bf3856ad364e35~amd64~~184.108.40.206′ [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.
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