[SOLVED] KB5026415 failing on install on Server 2012 R2 with error 0x800F0831

David86

Well-known member
Joined
Feb 12, 2020
Posts
129
Hello. I need you help. Another problem with my troubled Windows server 2012R2. Earlier, you helped a lot with the installation of a cumulative update, and everything seemed to work and update for several months. But yesterday, a new cumulative update knocked out a bug that baffled me (KB5026415 failing on install on Server 2012 R2 with error 0x800F0831).

Looking in the logs I found the following:

2023-05-15 13:16:49, Info CBS Exec: Skipping Package: Package_2150_for_KB5026415~31bf3856ad364e35~amd64~~6.3.1.15, Update: 5026415-3617_neutral because it is already in the correct state.
2023-05-15 13:16:49, Info CBS Store corruption, manifest missing for package: Package_1263_for_KB5023765~31bf3856ad364e35~amd64~~6.3.1.10
2023-05-15 13:16:49, Error CBS Failed to resolve package 'Package_1263_for_KB5023765~31bf3856ad364e35~amd64~~6.3.1.10' [HRESULT = 0x800f0831 - CBS_E_STORE_CORRUPTION]



I tried to download directly from the microsoft update catalog KB5026415 and install but it gave the same error. I tried to download the update KB5023765 (it is referenced by cbs.log with a manifest error) and install it on the system, but I was given that it is not applicable to my system.

Performed checks with commands sfc /scannow (found no corruption), DISM /Online /Cleanup-Image /RestoreHealth (found corruption and fixed it). After there was a reboot and an attempt to install updates again and the error did not go away.
 

Attachments

Hello and welcome,

Follow the instructions below please.

Step 1:
WARNING! The following fix is specific to the user's system in this thread only. No one else should follow these instructions, as it could damage your system.
  • Download
    myjIXnC.png
    SFCFix and move the executable to your desktop.
  • Download the attachment SFCFix.zip and save it on your desktop.
  • Save any work you have open, and close all programs.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
    1p8eDnI.gif
  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Open the file, then copy and paste its content in your next reply.

Step 2:
Restart the computer.
Open an elevated command prompt.
Copy and paste the following commands into it, press enter after each.

Code:
sfc /scannow
Wait for this to finish before you continue

Code:
copy %windir%\Logs\CBS\cbs.log "%userprofile%\Desktop\cbs.txt"
This will create a file, cbs.txt on your Desktop. Zip this file and attach the zipped cbs.txt to your next post.
 

Attachments

Sorry. I've added the attachment now.
 
Try to install KB5026415 again and report the result.
 
Step 1:
Warning: This script was written specifically for this user, for use on that particular machine. Do not run this script on another machine.
  1. Download the Farbar Recovery Scan Tool and save it to your Desktop:
    64-bit: Downloading Farbar Recovery Scan Tool
    Note: Your antivirus program may report FRST incorrectly as an infection. If so, disable the real-time protection when downloading and running FRST.
  2. Download the attachment fixlist.txt and save it to your desktop.
  3. Right-click on FRST64.exe and select "Run as administrator".
  4. Press the Fix button.
  5. The tool will now process fixlist.txt.
  6. If for some reason the tool needs a restart, please make sure you let the system restart normally. After that let the tool complete its run.
  7. When finished, a log called Fixlog.txt will appear in the same directory the tool is run from.
  8. Attach the logfile Fixlog.txt to your next reply.

Step 2:
Restart the computer.
Open an elevated command prompt.
Copy and paste the following commands into it, press enter after each.

Code:
sfc /scannow
Wait for this to finish before you continue

Code:
copy %windir%\Logs\CBS\cbs.log "%userprofile%\Desktop\cbs.txt"
This will create a file, cbs.txt on your Desktop. Zip this file and attach the zipped cbs.txt to your next post.
 

Attachments

Try to install KB5026415 again and report the result.
 
Retrieve Software Hive
1. Navigate to C:\Windows\System32\Config and locate the SOFTWARE file.
2. Please copy this file to your desktop.
Note: If you receive an error that this file is in-use, try Option#2 below.
3. Right-click on this file on your desktop and select Send To...Compressed (zipped) folder. This will create a file named SOFTWARE.ZIP on your desktop.
4. Upload the zip file (SOFTWARE.zip) to your favourite file sharing website (it will be too big to upload here). Examples of services to upload to are Gofile or WeTransfer.
5. Note: Send the downloadlink in a private message as the SOFTWARE hive contains sensitive information!


Option#2 (only if you are unable to follow the previous instructions)

  • Please download the Freeware RegBak from here: Acelogix Software - Download products
    You will find it at the bottom of the page that the link brings you to.
  • Go ahead and install this program and accept all the defaults. After the last install screen the program should open.
  • Click the New Backup button. Accept the defaults and simply click Start.
  • When it says Finished successfully, click the Close button.
  • This will bring you back to the main screen of the program. You will see one entry in this list with the date that you did it. Right-click on this line-item and select Explore Backup...
  • This will bring you into the folder where the backup was made. You should see a Users folder and a Windows folder along with a couple other files. Double-click on the Windows folder to open it. Then open the System32 folder and then config folder. You should see around 6 files in here, one of which is named SOFTWARE.
  • Copy the SOFTWARE file to your Desktop. If the SOFTWARE file does not exist, please fetch it instead from C:\Windows\System32\config\SOFTWARE.
  • Now right-click on the SOFTWARE file that is on your desktop and select Send to > Compressed (zipped) folder.
  • Then please upload the zip file (SOFTWARE.zip) to your favourite file sharing website (it will be too big to upload here). Examples of services to upload to are Gofile or WeTransfer.
  • Note: Send the downloadlink in a private message as the SOFTWARE hive contains sensitive information!
  • You can close any open windows you have as well as the RegBak program now.
 
Remove Update Manually
  1. Click on the Start button and in the search box, type Command Prompt.
  2. When you see Command Prompt on the list, right-click on it and select Run as administrator.
  3. When command prompt opens, copy and paste the following command into it, then press enter.
    wusa /uninstall /KB:5025285
  4. Let me know if it says it was successful or if there are any errors.
 
When uninstalling, the installer encountered an error 0x800f0831


Снимок экрана 2023-05-21 213354.jpg
 
FRST Registry Search
  1. Click the Start button and choose Control Panel.
  2. In the upper right corner ensure the View by: is set to Category.
  3. Select the Programs group.
  4. Click the Turn Windows features on or off link. This will bring up the Server Manager dialog.
    Note: This loads your components hive which is what we want. Please keep this dialog open while you perform the remaining steps. You can minimize it if you wish but keep it open.
  5. Right-click on the file FRST64.exe and choose Run as administrator.
  6. Copy and paste KB5025285 into the Search box and click the Search Registry button.
  7. When the scan is complete, a message will display that 'SearchReg.txt' is saved in the same folder FRST was started from. Notepad will open this file also. Close Notepad and attach the file 'SearchReg.txt' to your next reply.
  8. You may close any remaining open windows now.
 
Warning: This script was written specifically for this user, for use on that particular machine. Do not run this script on another machine.
  1. Download the attachment fixlist.txt and save it to your desktop.
  2. Right-click on FRST64.exe and select "Run as administrator".
  3. Press the Fix button.
  4. The tool will now process fixlist.txt.
  5. If for some reason the tool needs a restart, please make sure you let the system restart normally. After that let the tool complete its run.
  6. When finished, a log called Fixlog.txt will appear in the same directory the tool is run from.
  7. Attach the logfile Fixlog.txt to your next reply.
 

Attachments

FRST Registry Search
  1. Click the Start button and choose Control Panel.
  2. In the upper right corner ensure the View by: is set to Category.
  3. Select the Programs group.
  4. Click the Turn Windows features on or off link. This will bring up the Server Manager dialog.
    Note: This loads your components hive which is what we want. Please keep this dialog open while you perform the remaining steps. You can minimize it if you wish but keep it open.
  5. Right-click on the file FRST64.exe and choose Run as administrator.
  6. Copy and paste KB5026415 into the Search box and click the Search Registry button.
  7. When the scan is complete, a message will display that 'SearchReg.txt' is saved in the same folder FRST was started from. Notepad will open this file also. Close Notepad and attach the file 'SearchReg.txt' to your next reply.
  8. You may close any remaining open windows now.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top