sfc /scannow, DISM and Windows 11 Installation not working after KB5058502 failure

Anonymous
2025-06-07T00:01:24+00:00

I'm running Windows 11 and today the update KB5058502 attempted to install. However, an error occurred during the update which let to the system get stuck on "Undoing changes made to your computer", which would never actually complete. Through the use of Windows 11 install media on a USB stick, I was able to change the boot from "Windows Rollback" back to "Windows 11". The system mostly functions (Windows Explorer seems to behave normally and most applications seem to work fine), with a few exceptions:

  • Some applications fail to open with the error "The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail."
  • Steam fails to open with the error "The code execution cannot proceed because C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controIs_6595b64144ccf1df_6.0.22621.5262_none_6ebff4ba87ff320e\COMCTL32.dll was not found. Reinstalling the program may fix this problem."
  • sfc /scannow fails with the message "Windows Resource Protection could not start the repair service." (I checked and trustedInstaller is running)
  • DISM /Online fails with the message "Error: 193 An error occurred while attempting to start the servicing process for the image located at C:. For more information, review the log file."
  • Windows 11 Installation Assistant (trying to repair the Windows install) errors with "Installation failed", followed by "Something went wrong | Select Try again, and if that doesn't work, contact Microsoft support for help. Error code 0x800700c1"
  • Installing the KB5058502 update with the standalone installer fails with the message "This update is not applicable to your computer".

I'm assuming this is all because of corrupted files due to the update failing to install (apart from maybe the Windows 11 installation assistant failing, surely that shouldn't even be using installed files...?) Checking the CBS log, I've found that the following error is repeated over and over: "Failed to create CBS worker - waiting for a second and trying again".

OS Version 10.0.22631 Build 22631

Thanks!

Ben

Windows for home | Windows 11 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Ramesh Srinivasan 88,100 Reputation points Independent Advisor
2025-06-09T02:42:19+00:00

Hi,

The new errors are related to Store apps, and DISM can't fix them.

  1. Download Windows 11 Media Creation Tool (MCT) from this link:

https://go.microsoft.com/fwlink/?linkid=2156295

  1. Run MCT and download the ISO it recommends for your system. Do *not* uncheck "Use the recommended options for this PC".
  2. Right-click on the downloaded ISO and choose "Mount." This assigns the ISO a drive letter.
  3. Run setup.exe from the ISO drive. This starts the 24H2 in-place upgrade.

(Your files, settings and applications will be preserved if you use the ISO recommended for your system by the Media Creation Tool.)

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

48 additional answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Anonymous
    2025-06-07T22:48:12+00:00
    1. Increase the free space on C: so that there is > 30 GB free space
    2. The BIOS Version/Date American Megatrends Inc. F3, 06/09/2017

    Upgrade the BIOS: F3 > F15

    If there are any problems then try F12.

    Z370XP SLI (rev. 1.0) Support | Motherboard - GIGABYTE Global

    1. Create a bootable Windows11 Media Creation Tool (MCT)

    Download Official Windows 11 ISO file from Microsoft | Windows 11 Forum

    Download Windows 11

    1. Place the computer into clean boot

    Perform a Clean Boot in Windows 11 to Troubleshoot Software Conflicts | Windows 11 Forum

    1. Disconnect Ethernet and Wifi
    2. Temporarily detach non-Windows drives
    3. Mount the MCT (Windows iso):

    Mount or Unmount ISO and IMG File in Windows 11 | Windows 11 Forum

    1. Perform an in place upgrade repair using the flash drive while in clean boot and without Internet

    Repair Install Windows 11 with an In-place Upgrade | Windows 11 Forum

    Windows 11 Pro

    Version: 10.0.22631

    Event[3496]

    Log Name: System

    Source: Microsoft-Windows-WindowsUpdateClient

    Date: 2025-06-06T16:27:55.0610000Z

    Event ID: 20

    Task: Windows Update Agent

    Level: Error s

    Opcode: Installation

    Keyword: Installation,Failure,

    User: S-1-5-18

    User Name: NT AUTHORITY\SYSTEM

    Computer: BEN-PC

    Description:

    Installation Failure: Windows failed to install the following update with error 0xC1900101: Windows 11, version 24H2.

    Windows Resource Protection could not start the repair service.

    Deployment Image Servicing and Management tool

    Version: 10.0.22621.2792

    Error: 193

    An error occurred while attempting to start the servicing process for the image located at C:.


    Disk & DVD/CD-ROM Drives


      Drive: C: 
    

    Free Space: 13.3 GB

    Total Space: 113.2 GB

    File System: NTFS

      Model: Force MP500 
    
      Drive: E: 
    

    Free Space: 1554.8 GB

    Total Space: 3815.4 GB

    File System: NTFS

      Model: Intel Raid 1 Volume 
    
      Drive: F: 
    

    Free Space: 86.8 GB

    Total Space: 228.8 GB

    File System: NTFS

      Model: KINGSTON SV300S37A240G 
    
      Drive: G: 
    

    Free Space: 59.1 GB

    Total Space: 953.9 GB

    File System: NTFS

      Model: Samsung SSD 970 EVO 1TB 
    
      Drive: L: 
    

    Free Space: 7.1 GB

    Total Space: 15.4 GB

    File System: FAT32

      Model: n/a 
    
      Drive: D: 
    
      Model: HL-DT-ST BD-RE  BH10LS38 
    
     Driver: C:\WINDOWS\SYSTEM32\DRIVERS\CDROM.SYS, 10.00.22621.0001 (English), 5/7/2022 06:19:03, 204800 bytes
    

    Correcting errors in the Volume Bitmap.

    Windows has made corrections to the file system.

    0x8007001F

    0x800700C1, 0x50015

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2025-06-07T21:55:29+00:00
    1. The in-place update fails; this is what I was referring to as "Windows 11 Installation Assistant". The first option listed in the page you linked, "Fix problems with Windows Update", is greyed out with the message "This option is currently unavailable"; to perform the in-place update, I've tried running from the bootable USB I made, running from the ISO directly and running through Windows Installation Assistant -- all fail in the same way once they reach the stage of the full-screen blue installing window.
    2. The result of v2_log_collector is here
    3. Upgrade failure logs
    4. Tuneup
    5. TargetVersionUpgradeExperienceIndicators

    Thanks!

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2025-06-07T21:24:09+00:00

    Unfortunately I can't run Gigabyte's BIOS update utility as it also triggers the COMCTL32.dll error.

    Was this answer helpful?

    0 comments No comments