Fix Install Error 0x800f0831, 0x8024200B KB5012599 in Windows 10

3 ways to solve Windows update error 0x800f0831 or 0x8024200B that appears when trying to install KB5012599 and fails in Windows 10.

0x800f0831, 0x8024200B KB5012599 in Windows 10

On 12 April 2022 monthly Security update KB5012599 was rolled out to Windows 10 20H1, 21H1, and 21H2 addressing CSV and other vulnerabilities. Several users report that they are unable to install this patch due to error codes 0x800f0831 and 0x8024200B. Some encounter error 0x800f0831 when they are trying to install the patch and other 0x8024200B. When getting the Windows update with automatic process the installation is aborted with the error code. This update also generated application Error in Edge, Chrome, and other browsers at starting but it was fixed.

For Windows update error 0x8024200B or 0x800f0831 that occurs when trying to install KB5012599, various experts are investigating solutions. Error 0x800f0831 refers to CBS_E_STORE_CORRUPTION and you will find Duplicated Manifest for code 0x8024200B in the cbs.log. System files checker and DISM tools do not work in both cases and fail to repair the issue. Manually downloading the cumulative update from the Microsoft update catalog and installing don’t work either. Microsoft hasn’t officially acknowledged the issue and denominated it as a bug.

Install Error 0x8024200B, 0x800f0831 KB5012599 in Windows 10

Here is how to fix Install Error 0x800f0831, 0x8024200B KB5012599 in Windows 10 –

Way-1:  Uninstall KB4486153 .Net Framework cumulative update

All the users who encounter the error have a common symptom and this is they all have installed KB4486153 .Net Framework 4.8 Cumulative update. Furthermore, if you have recently installed any other .Net Framework CU you may also face the install error. So check in your machine and uninstall it by following the steps –

  1. Click Search.
  2. Type updates.
  3. Press Enter.
  4. Once the Windows update Settings page appears, click on View update history.
  5. On the next screen, carefully see in the list if KB4486153 or any other .Net update is installed.
  6. If found, go to the top and click on Uninstall updates.
  7. From the discrete window, right-click on the update.
  8. Select – Uninstall.
  9. Click on Yes on the verification prompt.

Way-2: Modify Registry Entries

On a forum, this tweak is suggested and several users confirm that this has worked for them to fix error 0x8024200B or 0x800f0831 that occurs when installing KB5012599. Follow –

  1. Press Winkey.
  2. Type – regedit.
  3. Select Yes on User account control.
  4. Copy the below path –
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_18_for_KB4486153~31bf3856ad364e35~amd64~~10.0.1.3106
  1. Paste it into the address bar of Registry Editor.
  2. Press Enter.
  3. Go to the right pane and change the value data of each value to 0. Note that some of the values were already zero; leave them as it is. Double click on the Value whose value data is other than 0. Type 0 on the Edit Value data pop up and click on OK.
how to fix Install Error 0x800f0831, 0x8024200B KB5012599 in Windows 10
  1. Close the registry editor and restart the machine.

See if the error is fixed. In case it persists move to the next method –

Way-3: Use PowerShell command

Using PowerShell cmdlet you can also change the registry entries value instead of doing it manually as done in the above method. Note that Way-2 and Way-3 are the same and you are free to follow any of these.

  1. Right-click on the Start.
  2. Select Windows PowerShell (Admin).
  3. Click Yes on the UAC prompt.
  4. Copy the underneath script –
CD HKLM:\
Get-ChildItem 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\' | Where-Object { $_.Name -like  "*Package_*_for_KB4486153~31bf3856ad364e35~amd64~~10.0.1.3106*' } | foreach { Set-ItemProperty $($_.Name+"*") -Name CurrentState -Value 0 }
  1. Paste into PowerShell.
  2. Press Enter.
powershell command
  1. Finally, restart the device and the error should be solved now.

Sources – Microsoft Answer and Reddit

Methods list:
Way-1:  Uninstall KB4486153 .Net Framework cumulative update
Way-2: Modify Registry Entries
Way-3: Use PowerShell command

That’s all!!

Repair any Windows problems such as Blue/Black Screen, DLL, Exe, application, Regisrty error and quickly recover system from issues using Reimage.
 
  
About Sunita
Love to play with Windows 10.Suggestion - Going for Registry change or system files edit then remember to take a backup or create a restore point before Starting.