[SOLVED] Problem with Windows Update - KB5031362 fails with 0x800705b4

Mingle

Active member
Joined
Jul 24, 2022
Posts
39
Hello,

I am currently having problems installing Windows updates on a Windows Server 2016 Standard image.

I am unable to install the 2023-10 Cumulative Update for Windows Server 2016 for x64-based Systems (KB5031362) with Error 0x800705b4

I've run the following already:

1. sfc /scannow
2. DISM /online /cleanup-image /scanhealth and /checkhealth is: no component store corruption
3. A repair via dism /online /cleanup-image /restorehealth /source:WIM:E:\sources\install.wim:3 /limitaccess

I've noticed several Registry errors in the CBS log. Any troubleshooting ideas?

023-11-02 12:20:44, Info CBS Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
2023-11-02 12:20:44, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]
2023-11-02 12:20:44, Info CBS Session: 31067560_2282190997 initialized by client WindowsUpdateAgent, external staging directory: (null), external registry directory: (null
2023-11-02 12:20:44, Info CBS Failed to internally open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
2023-11-02 12:20:44, Info CBS Failed to OpenPackage using worker session [HRESULT = 0x800f0805]
2023-11-02 12:37:31, Info DPX Extraction of file: update.ses failed because it is not present in the container (\\?\C:\Windows\SoftwareDistribution\Download\f2351a90ff9a672b056a6718c33c50e2\windows10.0-kb5031362-x64.cab).
2023-11-02 12:37:31, Info DPX DpxException hr=0x80070002 code=0x020109
2023-11-02 12:37:31, Info CBS Not able to add file to extract: update.ses [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]


I've attached the CBS Log, components hive and the CBS hive. Does anyone have any thoughts?
 

Attachments

Hi,

Step 1. Replace Components Hive Manually

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.
  1. Download COMPONENTS.ZIP and save to your desktop.
  2. Right-click on it and select Extract all.... Make sure the "Show extracted files when complete" is checked and click Extract.
  3. Now we have the COMPONENTS file that we will be using to replace your current one.
  4. Navigate to C:\Windows\System32\config
  5. Right-click on the current COMPONENTS file and select rename. Rename it to COMPONENTS.bad.
    Note: If you get an error that the file is in use, reboot your computer and then try again.
  6. Take the file from the Components folder on your desktop and paste it into C:\Windows\System32\config


Step 2. Reboot the server and run
61f7aba7309a1-ComponentsScanner_Icon.png
ComponentsScanner again.
  • Right-click ComponentsScanner.exe and select "Run as administrator", click Yes on the UAC (User Account Control) prompt which appears.
  • Follow the on-screen instructions.
  • Once complete, a report will be saved to your desktop called ComponentsScanner.txt.
  • Post the logfile ComponentsScanner.txt as attachment into your next reply.
 
Hi,

You're welcome. Glad to hear this server is up-to-date now... (y)
 

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

Back
Top