[SOLVED] Windows Server 2019 - Can't install Windows Update 0x80070002

Status
Not open for further replies.
Hi @Maibcool,

Welcome to Sysnative Forums!

If you haven't already, please review the posting instructions here, and attach the requested log files. Without log files, our helpers will not be able to assist, and this will slow down fixing your machine.

If logs have been already been provided, our team of volunteers will analyse the provided log files to build a fix for your system. Please be aware that this may take several days from your initial post, due to the high volume of threads that we receive.


- Sysnative Windows Update Team
 
Hi and welcome to Sysnative,

Do you have recent backups of this server, it's seems the Component Based Servicing hive is badly damaged.

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.
 
Hi! I don't have a recent backup. The error is probably cause by the motion of the the VM with Hyper-V from one cluster to another. It's been weeks. I realize the Windows Update error too late. Here joined the file. Thank you very much!
 

Attachments

Hi,

As expected the Components Based Servicing hive is completely empty and missing almost all the subkeys. So please check the following folder: C:\Windows\System32\config\RegBack
Does it contain a copy of the SOFTWARE hive? If so please upload it to an file sharing service, then I'll send you a private message so you can provide the link for me, this because you cannot start a new private message with < 5 posts.
 
Last edited:
Please do the following first.

Download
6530fbb0f4101-56f31e53c97da-SFCFix.PNG
SFCFix and save it to your desktop.
  • Download the attachment SFCFixScript.txt and save it to your desktop.
  • Drag the SFCFixScript.txt file over the SFCFix.exe executable and release it.
650ef5dbdfd06-62151e1bebac4-SFCFix-Txt-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.

On your desktop you will also see a new file called SOFTWARE-bkp.zip provide this file in a private message.
 

Attachments

Unfortunately, the Component Based Servicing key in this SOFTWARE hive is also corrupted beyond repair. Do you have a very similar server - patch level (17763.6532) and with the same features, language packs installed? If so then we can try to rebuild the CBS hive, but I would suggest to try this on a clone of the problem server first.
 
Thanks for your help. I will pass for now. The server is supposed to be decommissioned this summer. I will live with the problem for now. We can closed the case. Thank you!
 
Status
Not open for further replies.

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

Back
Top