[SOLVED] Server 2016 updates fail with 0x80070490

BroncoMarc

Well-known member
Joined
Aug 2, 2023
Posts
77
I've got a Windows 2016 server that has been failing to install updates for a while.

I've tried the normal stuff like resetting the SoftwareDistribution folder.
sfc /scannow was initially showing an issue
Tried running dism .... /restorehealth and it gave an issue with sources
I pointed it to another 2016 server and it was able to complete and make repairs.
sfc /scannow now says there are no issues found
The dism scan also now says no component store corruption detected.
ComponentScanner is not showing any issues.

Thanks,
- Marc
 

Attachments

Hi,

Export CBS (Component Based Servicing) hive
  • Click on the Start button and type regedit
  • When you see regedit on the list, right-click on it and select Run as administrator.
  • When regedit opens, using the left pane, navigate to the following registry key and select it by clicking on it once.
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing
  • Once selected, click File > Export....
  • Change the Save as type: to Registry Hive Files (*.*).

    622dbef75cd3a-Export-CBS-hive.png

  • Name this file ComponentBasedServicing (with no file extension) and save it to your Desktop.
  • Right-click on the saved file and choose Send > Compressed (zipped) Folder.
  • Attach the .ZIP file to your next post.
  • If the file is too large to upload here, upload the file to www.wetransfer.com and post the link in your next reply.
 
The file is corrupted, please open an elevated prompt and run the following command.
Code:
REG Save "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing" "%userprofile%\Desktop\CBS.hiv"
Zip the CBS.hiv file and attach it to your next post.
 
Follow these instructions to remove an update.
  • Open the Start menu of Windows and type the command CMD
  • When you see Command Prompt on the list, right-click on it and select Run as administrator.
  • When command prompt opens, copy and paste the following commands one at a time into it, then press enter.
Code:
wusa /uninstall /KB:4571694
wusa /uninstall /KB:4580346
  • Let me know if it says it was successful or you get the message: The update KB4571694 and KB4580346 is not installed on this computer.
 
It shows that the first one is not installed. The 2nd one IS installed.

Thanks!
-Marc
 
That's what I expected, so please do the following.

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
  • Open the startmenu and type the command cmd.
  • After you find the Command Prompt, right click on it and select Run as Administrator.
  • Copy and paste the following into the Command Prompt and press enter.
Code:
reg load HKLM\COMPONENTS C:\WINDOWS\SYSTEM32\CONFIG\COMPONENTS
Right-click on the file FRST64.exe and choose Run as administrator.
  • Copy and paste the following (code) into the Search box and click the Search Registry button.
Code:
KB4571694;KB4580346
  • When the scan is complete, a message will display that SearchReg.txt is saved in the same folder FRST was started from.
  • Post the logfile SearchReg.txt as attachment in your next reply.
 
Here's the fixlist, this could also take some time to complete.

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.
 

Attachments

I ran the Fix. When it completed, I tried installing the latest servicing stack update - KB5023788 and it failed with error 0x80070490.

Attached is the log.

Thanks!
-Marc
 

Attachments

Hi,

Please attach a new copy the latest CBS log(s) after attempting to install the latest SSU.
 
Attached are the current CBS logs. I tried installing the SSU just before capturing the logs.

Thanks!
- Marc
 

Attachments

Please attach a new copy of the Components Based Servicing hive as described in post #4.
 
Open an elevated command prompt, run the following command and let me know the result.
Code:
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\DriverOperations\0" /f
 
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.
 

Attachments

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

Back
Top