Server 2016 Windows Update Corrupt

Joined
Dec 22, 2023
Posts
10
Hi
On one of our Server 2016 Standard Server we are having troubles with windows updates.
A lot of the problems we initially had could be resolved and we could install the newest updates with SCCM.
But we still se component errors when scanning with dism, they show as repairable but couldnt be repaired.
I spent a lot of hours already trying to solve that problem.
I already tried the following steps:

sfc /scannow - fails
dism /online /cleanup-image /restorehealth - error resource not found
dism /online /cleanup-image /restorehealth /source:"path to install.wim of Server 2016 standard iso"
Inplace Upgrade to Server 2016 - Fails after reboot

At this moment I cant open the Windows Updates Setting as it closes immediately.
So it will be hard to install upcoming updates.

The CSB Log shows following:

p) CBS Catalog Missing Package_3934_for_KB5023697~31bf3856ad364e35~amd64~~10.0.1.13
(p) CSI Payload Corrupt amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.14393.0_none_1137c685b804c9a3\MSFT_MpThreatCatalog.cdxml
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.14393.0_none_1137c685b804c9a3\Defender.psd1
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.14393.0_none_1137c685b804c9a3\MSFT_MpWDOScan.cdxml
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.14393.0_none_1137c685b804c9a3\MSFT_MpSignature.cdxml
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.14393.0_none_1137c685b804c9a3\MSFT_MpThreat.cdxml
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.14393.0_none_1137c685b804c9a3\MSFT_MpComputerStatus.cdxml
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.14393.0_none_1137c685b804c9a3\MSFT_MpScan.cdxml
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.14393.0_none_1137c685b804c9a3\MSFT_MpThreatDetection.cdxml
Repair failed: Missing replacement payload.
(p) CSI Payload Corrupt amd64_windows-defender-management-powershell_31bf3856ad364e35_10.0.14393.0_none_1137c685b804c9a3\MSFT_MpPreference.cdxml
Repair failed: Missing replacement payload.
(p) CBS Registry Error 0x8007000d x86_wwf-system.workflow.runtime_31bf3856ad364e35_0.0.0.0_none_88f4d346e8313614

I also tried to reinstall the KB5023697 mentioned in the Log which didnt work as it showed as "inapplicable to that version"


As it is a central Server which cant be replaced or newly installed easily, you would help me a lot if you could help me figure out a solution.
I attached the CBS Log files and the result of the component scanner.

Thanks a lot and happy Christmas days!
 

Attachments

Hi and welcome to Sysnative,

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,

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

Hi
Thank you for the fix, I applied it and after that the DISM didnt found any more corruptions.
But it seems there are still some unresolved Issues as it couldnt apply all the fixes and I still cant open the Windows Update Menu.
Do you have some more recommendations as to what I can additionally do?
Thank you and kind Regards!
 

Attachments

Hi,

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.
 
Hi,

Please attach 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.
 
Hi,

This looks good, so I would recommend to restart the server first and then attempt to update again.
 
Hi
Unfortunately I couldnt figure it out yet how to make it work.
Update Installation at the moment ist only possible through SCCM, the Windows Update Menu closes as soon as it opens.
Do you have any Idea what it could be?

Thank you and Kind Regards
 
Hi,

I've seen a similar issue with Server 2019, and resetting the DataStore solved this issue. So please try the following.

Open an elevated command prompt, run the following commands and post the result.
Code:
net stop wuauserv
net stop bits
rename %systemroot%\SoftwareDistribution SoftwareDistribution.bak
net start wuauserv
net start bits
Afterwards try to open the Windows Update settings window again.
 
Please run the following command in an elevated prompt and attach services.txt to your next post.
Code:
WMIC SERVICE GET caption, name, startmode, state > "%userprofile%\desktop\services.txt"
 
Please open an elevated command prompt, run the following commands and copy and paste the result in your next post.
Code:
sc config UsoSvc start= demand
sc start UsoSvc
sc query UsoSvc
sc qc UsoSvc
 
This looks good, please try to open the Windows Update settings window and let me know the result.
 
Great, so let me know if there are any remaining issues after attempting to update.
 

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

Back
Top