[SOLVED] Windows Server 2016 - Cumulative update failing. wusa.exe/TrustedInstaller.exe hangs installing KB5029242 at about 45% of progress bar

Durando

Active member
Joined
Aug 18, 2023
Posts
30
(Many) Thanks to Maxstar I was able to get the domain controller in this organization updating again. Now we're on to a different server, same organization. Windows Update is broken in an apparently different manner on this server. As mentioned in the title an attempt to install KB5029242 got to about 45% of the progress bar, then hung. I gave it several days before I attempted to gracefully cancel the update, then forcibly terminated the processes.

As this is a production server I will need to wait until after close of business in the Central time zone, UTC -6, (about 6pm, local time) to restart it.

Fixes already tried:
1. Stopping the Windows Update service and:
  • Re-registering all Windows Update DLLs
  • Removal of all catroot2 files/folders
  • Removal of %WINDIR%\SoftwareDistribution folder
  • Re-starting the Windows Update service after the above
2. Multiple runs of dism /online /cleanup-image /startcomponentcleanup /restorehealth and sfc /scannow

3. Running multiple Server 2016 install WIMs through DISM, each patched to a different build
4. Running SFCFix without assistance from Sysnative (dies due to unhandled exception)

Oddly enough no corrupted keys nor warnings were found using ComponentsScanner.

Please see attachments of CBS.zip (also includes DISM folder) and ComponentsScanner.txt.
 

Attachments

Bumping. Again, please let me know if there's anything I can do to assist the helpers.
 
Hi,

Step 1. Download
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.
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 System File Checker and post the result. If it fails attach a new copy of the CBS log.
Code:
SFC /Scannow
 

Attachments

SFCFix successfully processed all directives.

SFC /Scannow also finished and did not find any integrity violations afterwards.

Owing to a planned power outage where this client is, I'll need to wait to try updating this server.
 
Before attempting to update again I would suggest to run DISM first, just to be sure there are no remaining issues.

Code:
DISM /online /cleanup-image /RestoreHealth
 
The DISM command completed successfully. Summary from dism.log:
Code:
=================================
Checking System Update Readiness.


Summary:
Operation: Detect and Repair
Operation result: 0x0
Last Successful Step: Entire operation completes.
Total Detected Corruption:      0
        CBS Manifest Corruption:        0
        CBS Metadata Corruption:        0
        CSI Manifest Corruption:        0
        CSI Metadata Corruption:        0
        CSI Payload Corruption: 0
Total Repaired Corruption:      0
        CBS Manifest Repaired:  0
        CSI Manifest Repaired:  0
        CSI Payload Repaired:   0
        CSI Store Metadata refreshed:   True
 
Great, please attempt to update and let me know the result...
 
Unfortunately it still appears to get stuck at the same place with KB5029242.

Removing the SoftwareDistribution directory gets Windows Update back into a sane state. However I've tried to install KB5029242 three times now, and it always gets stuck at "Regenerating payload files from delta files on component 'amd64_netfx-aspnet-nonwow64-shared_b03f5f7f11d50a3a_4.0.14393.3051_none_64839f9d0f0501ca'".

CBS folder attached in zip file.
 

Attachments

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,

Download
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.
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.

Afterwards reboot the server and attempt to update. If it fails attach a new copy of the CBS logs.
 

Attachments

SFCFix failed to complete all directives. Please see logfile (attached).

Nonetheless I will be restarting this server at 9pm Central Daylight Time today (2023/09/10) and attempt to update it afterwards.
 

Attachments

Hi,

SFCFix does show some errors, but this may have to due with the provided script. When the update still fails, perform the following (registry) fix and attempt to update again.

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

Fortunately the server was able to fully process and install KB5029242 (wusa got all the way through, it restarted, and wmic qfe reports it as installed). I did not run FRST on this machine. Windows is fully updated, at least until tomorrow, Patch Tuesday.

There are some non-Windows updates that also need to be installed. I will run them tonight and let you know.
 
The server is fully updated. The other updates were updates to Microsoft SQL Server 2016 and Microsoft Office 2016.

Do you require anything else?
 
Hi,

Great, if everything is up and running then we can mark this thread as solved..
 
Please close this thread. Thank you kindly once more and I'll be sure to throw some bucks to the Sysnative forums fund.
 
Hi,

You're welcome. I will mark this thread as solved - and many thanks for your donation to Sysnative... (y)
 

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

Back
Top