[SOLVED] Unable to do windows update on Windows server 2016 with error 0x80246002

Hi,

Unfortunately, the bootlog is corrupted again. Please try the following.

Please perform the instructions in post #39 again with Process Monitor running.

Capture Process Monitor BootLog from the command line
  • Download Process Monitor.
  • Create a folder on your systemdrive called "C:\Tools" and copy ProcMon.exe into this directory.
  • Open an elevated command prompt and navigate to C:\tools with the command cd C:\tools.
  • Copy and paste the following command into the prompt and press enter.
    Code:
    ProcMon.exe /accepteula /quiet /enablebootlogging
  • Attempt to install the update just like you have in the past. Let the machine reboot and revert just like it has in the past.
  • After the machine has rebooted and come back up to the desktop, open an elevated command prompt and navigate to C:\tools.
  • Copy and paste the following command to create the Bootlog Trace file.
    Code:
    ProcMon.exe /accepteula /ConvertBootLog C:\Tools\bootlog.pml
  • Now the following window will appear and the bootlog will be created.
    procmon-bootlog.png
  • Zip up the Bootlog.pml file and upload it to a file sharing service like: WeTransfer - Send Large Files & Share Photos Online - Up to 2GB Free
 
Please attach also the latest CBS log for the time stamps.

Upload a copy of the CBS folder
  • Open Windows Explorer and browse to the C:\Windows\Logs folder.
  • Right-click on the CBS folder and choose Send to > Compressed (zipped) folder.
  • Now the message will appear, "Windows cannot create the Compressed (zipped) Folder here. Do you want it to be placed on the desktop instead?"
  • Click on the Yes button here.
653a64385d891-618e949e09fef-CBS-Folder.png

  • Attach the file CBS.zip to your next reply. If the file is too large to attach, upload the CBS.zip file to www.wetransfer.com and post the link in your next reply.
 
This is really an odd issue, please upload to event logs as well to look at.

Upload the Event Viewer logs.
  • Click the Start button and in the search box, type Command Prompt
  • When you see Command Prompt on the list, right-click on it and select Run as administrator.
    Copy and paste the following commands one at a time into the command prompt and press enter after each.
    Code:
    wevtutil epl SYSTEM "%userprofile%\Desktop\System.evt"
    wevtutil epl APPLICATION "%userprofile%\Desktop\Application.evt"
    PowerShell Compress-Archive -Path "%userprofile%\Desktop\*.evt" -DestinationPath "%UserProfile%\Desktop\EventLogs.zip"
  • These commands will collect the System and Application logs and create EventsLogs.zip on your Desktop.
  • Attach this file in your next reply.
 
Please try to (re)install the latest Servicing Stack with DISM.

Follow these instructions to install an update with DISM.
  • Open the Start menu of Windows and type CMD.
  • When you see Command Prompt on the list, select the option Run as administrator.
  • Copy and paste the following command into it, and press enter. (Leave the CMD window open!)
Code:
MD C:\WUTemp
  • Now, download the following update (KB5034862) to: C:\WUTemp - Or copy this file from the download directory to C:\WUTemp. (Important!)
    Downloadlink: KB5034862
  • Copy and paste the following commands one at a time into the command prompt and press enter after each.
Code:
CD C:\WUTemp
EXPAND.exe windows10.0-kb5034862-x64_9caea9afed955d3a38490a865aa1418a464a246d.msu -f:* C:\WUTemp
DISM.exe /Online /Add-Package /PackagePath:C:\WUtemp\Windows10.0-KB5034862-x64.cab
  • Let me know if it says it was successful or if there are any errors. Or take a screenshot of the command prompt window and paste it into your next reply.
 
C:\WUTemp>DISM.exe /Online /Add-Package /PackagePath:C:\WUtemp\Windows10.0-KB5034862-x64.cab

Deployment Image Servicing and Management tool
Version: 10.0.14393.4169

Image Version: 10.0.14393.4169

Processing 1 of 1 - Adding package Package_for_KB5034862~31bf3856ad364e35~amd64~~14393.6700.1.0
[==========================100.0%==========================]
An error occurred - Package_for_KB5034862 Error: 0x80073712

Error: 14098

The component store has been corrupted.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
 
Rich (BB code):
2024-02-27 12:31:18, Error                 DISM   DISM Package Manager: PID=9120 TID=1808 Failed processing package changes - CDISMPackageManager::ProcessChanges(hr:0x80073712)
2024-02-27 12:31:18, Info                  DISM   DISM Package Manager: PID=9120 TID=1808 Loaded servicing stack for online use only. - CDISMPackageManager::RefreshInstanceAndLock
2024-02-27 12:31:18, Error                 DISM   DISM Package Manager: PID=9120 TID=1808 Failed while processing command add-package. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80073712)
2024-02-27 12:31:18, Info                  DISM   DISM Package Manager: PID=9120 TID=1808 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine

Now we have finally a clear error to investigate further, please attach also the latest CBS logs.
 
Rich (BB code):
2024-02-27 12:31:10, Error                 CSI    00000009@2024/2/27:17:31:10.257 (F) onecore\base\wcp\componentstore\versionedindex.cpp(3705): Store corruption detected in function ComponentStore::CRawStoreLayout::CheckFamilyIndexForDeadWinnerComponent expression: (null)
  MissingWinningComponentKey on resource 'amd64_1e02a3ce6ee40c9edb9567278c1000eb_31bf3856ad364e35_10.0.14393.6700_none_209ee06a00445c0d'[gle=0x80004005]

Please provide a new copy of the COMPONENTS hive

Upload your COMPONENTS hive.
  • Navigate to C:\Windows\System32\Config and locate the COMPONENTS file.
  • Please copy this file to your desktop.
  • Note: If you receive an error that this file is in-use, simply reboot your computer and try again.
  • Right-click on this file on your desktop and select Send To > Compressed (zipped) folder. This will create a file named COMPONENTS.ZIP on your desktop.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.
 
Hi,

Download the
577bf0efb8088-FRST.png
Farbar Recovery Scan Tool and save it to your Desktop:

Download the 64 bit version: - Farbar Recovery Scan Tool Link

Warning: This script was written specifically for this system. Do not run this script on another system.

  • Download the attachment fixlist.txt and save it to your desktop.
  • Right-click on FRST.exe and select "Run as administrator".
  • Press the Fix button.
  • If for some reason the tool needs a restart, please make sure you let the system restart normally.
  • When finished, a log called Fixlog.txt will appear in the same directory the tool is run from.
  • Post the logfile Fixlog.txt as attachment in your next reply.

Afterwards perform the steps in post #87 again and post the result.
 

Attachments

C:\>cd WUTemp

C:\WUTemp>DISM.exe /Online /Add-Package /PackagePath:C:\WUtemp\Windows10.0-KB5034862-x64.cab

Deployment Image Servicing and Management tool
Version: 10.0.14393.4169

Image Version: 10.0.14393.4169

Processing 1 of 1 - Adding package Package_for_KB5034862~31bf3856ad364e35~amd64~~14393.6700.1.0
[==========================100.0%==========================]
An error occurred - Package_for_KB5034862 Error: 0x80073712

Error: 14098

The component store has been corrupted.

The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
 

Attachments

Start the
577bf0efb8088-FRST.png
Farbar Recovery Scan Tool again.

Warning: This script was written specifically for this system. Do not run this script on another system.
  • Download the attachment fixlist.txt and save it to your desktop.
  • Right-click on FRST.exe and select "Run as administrator".
  • Press the Fix button.
  • If for some reason the tool needs a restart, please make sure you let the system restart normally.
  • When finished, a log called Fixlog.txt will appear in the same directory the tool is run from.
  • Post the logfile Fixlog.txt as attachment in your next reply.
Afterwards perform the steps in post #87 again and post the result.
 

Attachments

DISM command completed 100 %. Rebooted the Server.. While rebooting, updated 35% and uninstalled the updated.
Any logs to be uploaded? I had the process monitor running with bootlog enabled.
 

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

Back
Top