[SOLVED] Server 2016 updates failing with Error 0x8000ffff

thadeus_d3

Member
Joined
Jul 22, 2024
Posts
23
KB5040434 and 5040562 are failing with 0x8000ffff on Server 2016. I've run dism commands and sfc /scannow. I've also tried installing using the standalone installers, but it continues to fail.
 

Attachments

Also, server manager force closes whenever it's launched. If I try installing a role using powershell, I get the error below.
"The given key was not present in the directory."
 
Hi and welcome to Sysnative,

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.


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.
 
Please check if the following file is present, if so please provide a copy of it.

C:\Windows\WinSxS\pending.xml
 
Please run the following command in an elevated prompt and post only the result.
Code:
DISM /online /cleanup-image /AnalyzeComponentStore
 
Error: 0x8000ffff

DISM failed. No operation was performed.
For more information, review the log file.

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

Attachments

I was already expecting this as result, please run also the following command and post the result.
Code:
DISM /image:C:\ /cleanup-image /revertpendingactions
 
I'm unable to run the command.

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
 

Attachments

Please make a full backup / image (snapshot) of this Server and perform 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

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

The log file is not complete, so it seems the server has not yet been restarted yet?
 
Looks like Crowdstrike blocked it. I'll get it whitelisted, reboot again, rerun and upload the log.
 
I was able to run the tool in it's entirety after getting Crowdstrike to whitelist it. I encountered bootloops after running the tool. I use a Citrix virtual desktop environment, so I deleted the image and recreated one. I then ran the tool again and got the attached log. I'm trying windows updates now.
 

Attachments

Hi,

Please provide the latest CBS logs.

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.
 

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

Back
Top