Win 10. There was a problem installing updates. 0x8000ffff

VeeDub

Active member
Joined
Jun 17, 2022
Posts
37
Hello,

Windows Update failing as per subject.

Code:
C:\Windows\System32>sfc /scannow

Beginning system scan.  This process will take some time.


There is a system repair pending which requires reboot to complete.  Restart
Windows and run sfc again.

C:\Windows\System32>

Restarting makes no difference.

Hope you can assist.

Thank you

VW
 

Attachments

Hi @VeeDub,

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,

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,

Please check also if the following file exist, "C:\Windows\WinSxS\pending.xml" if so provide a copy of it.
 
Step 1. 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.

Step 2. Reboot the system and run the System File Checker aagain. If it fails attach a new copy of the CBS logs.
Code:
SFC /Scannow
 

Attachments

Great, please run the following DISM command as well and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 
C:\Windows\System32>DISM /online /cleanup-image /RestoreHealth

Deployment Image Servicing and Management tool
Version: 10.0.19041.3636

Image Version: 10.0.19045.5487

[== 3.8% ]
Error: 3017

The requested operation failed. A system reboot is required to roll back changes made.

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

C:\Windows\System32>
 

Attachments

Please run the following command and let me know the result.
Code:
DISM /image:C:\ /cleanup-image /revertpendingactions
 
C:\Windows\System32>DISM /image:C:\ /cleanup-image /revertpendingactions

Deployment Image Servicing and Management tool
Version: 10.0.19041.3636


Error: 87

The /Image option that is specified points to a running Windows installation.
To service the running operating system, use the /Online option. For more information, refer to the help by running DISM.exe /Online /?.

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

Attachments

  • WinPE_recovery_environment_command.webp
    WinPE_recovery_environment_command.webp
    28.1 KB · Views: 2
  • Next_boot.webp
    Next_boot.webp
    7.4 KB · Views: 2
Great, please provide a new copy of the COMPONENTS hive and run also the ComponentsScanner again.

Download
61f7aba7309a1-ComponentsScanner_Icon.png
ComponentsScanner and save it to your desktop.
  • 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.
 
This looks good, so please attempt to update again. If it fails attach a new copy of the CBS logs.
 
I've attempted Windows Update, twice, after each restart this is what I see.
 

Attachments

  • Windows_Update_status.webp
    Windows_Update_status.webp
    12 KB · Views: 1
  • CBS.zip
    CBS.zip
    12.9 MB · Views: 2
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.
 

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

Back
Top