[SOLVED] Server 2019 - Unable to install cumulative updates for months

joebrug

Active member
Joined
Oct 24, 2018
Posts
39
Have one server that for some reason fails to install the cumulative updates.

sfc /scannow is clean
dism command had error 0x800f0956
ComponentsScanner.exe errored out after "Scanning versionedindex\...\ComponentFamilies for corruptions" with:
Unhandle exception. System.IO.IOException: The handle is invalid : 'c:\windows\winsxs'

attached CBS log. Thanks!
 

Attachments

Also, SFCFix results:

Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2023-11-07 11:29:46.422
Microsoft Windows Server 10 Build 17763 - amd64
Not using a script file.


AutoAnalysis::
SUMMARY: No corruptions were detected.
AutoAnalysis:: directive completed successfully.

Successfully processed all directives.

Failed to generate a complete zip file. Upload aborted.

SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2023-11-07 11:38:02.801
----------------------EOF-----------------------
 
Hi,

Step 1. Download
6530fbb0f4101-56f31e53c97da-SFCFix.PNG
SFCFix and save it to your desktop.

Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
650c22f99662d-6190d993a26f3-SFCFix-Zip-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.


Step 2. Run the following DISM command and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 

Attachments

Thanks! Dism worked without any errors. Also the Cumulative update installed now, its just pending a restart which I cant do right now, will do tonight.
Just so I understand..
you looked for missing payload errors in the CBS.log file and then assume you collected "good" versions of those files from a different server in \winsxs and wrote a script to copy them there? Does SFCFix do additional work with that such as registry edits or anything?

Great stuff, thanks again
 
Hi,

You're welcome. Yes I used the payload files from one of my VM's, see also this tutorial on how to fix common corruptions.
 
Came in this morning after the server rebooted last night. Looks like the 2023-10 Cumulative Update for Windows Server 2019 for x64-based Systems (KB5031361) failed with 0x800f0920
 
Please provide the lastest 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.
 
Rich (BB code):
2023-11-09 04:30:18, Error                 CBS    Startup: A possible hang was detected on the last boot. [HRESULT = 0x800f0920 - CBS_E_HANG_DETECTED]

Hi,

Is this a virtual server? If so could you please tell me how many RAM is assigned and how many virtual CPU cores?
 
Code:
2023-11-09 04:18:16, Error                 CBS    Startup: Failed to process all pending packages, ignoring failure and continuing. [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]
2023-11-09 04:18:16, Error                 CBS    Doqe: Failed clearing Live driver operations queue key. [HRESULT = 0x80070013 - ERROR_WRITE_PROTECT]

I also noticed the error above in the latest log, please attach a copy of the CBS hive.

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,

Sorry for the delay but I had to check a lot things in case.

Run the following DISM command and copy and paste the result (reclaimable packages) in your next post.
Code:
DISM /Online /Cleanup-Image /AnalyzeComponentStore
 
Great, please run the following command as well and post the result.
Code:
DISM /online /cleanup-image /StartComponentCleanup
 
Great, please attempt to update again and post the result. If it fails attach a new copy of the CBS logs.
 
So everything is up and running and the latest update(s) are successfully installed?
 
Yeah thats what it says. "no new updates available" and the 2023-10 update appears to be installed. 99% convinced all is good, but reserve the right to fully be sure after the 2023-11 update =)
 

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

Back
Top