[SOLVED] Windows 11 failing to install OS updates since late August or so

gmxeon

Contributor
Joined
Oct 13, 2023
Posts
14
As the title says, this has been an ongoing issue for me for over a month. I've tried to update half a dozen times in September to no avail. Initially the failing updates were individual, but then eventually they became a September cumulative update. And now I'm seeing an October cumulative update that is failing to install. The symptoms every time is it installs to 98% then says the dreaded "Something didn't go as planned". I built this computer in early August, and I believe initial Windows updates succeeded but not since. Very early on I had a few frequent bluescreen issues due to a memory controller exception, which after updating the BIOS and swapping RAM modules I don't think I've had a bluescreen yet.

The Gigabyte BIOS for my motherboard seems pretty temperamental, and I had various bluescreens that were easily reproducible just by changing some basic settings such as hyperthreading to on rather than auto and vice versa (how on earth could that make it reproducibly bluescreen you might ask? who knows!). I also had a guaranteed bluescreen if I enabled resizable BAR, but a BIOS update has since fixed that (I think it was allowing it to enable when dependent options were not enabled before the update). I'm guessing some corruption has stemmed from these bluescreens.

And as you can probably guess, I've scoured the web and all of the common copy pasted set of commands to fix the issue don't fix it (various DISM commands, SFC scan now, renaming catroot2 and softwaredistribution, windows update troubleshooter, etc). Originally the first time I ran through DISM and SFC, it did find a couple corruptions that it repaired. But now DISM, SFC, and your Components Scanner all report no issue.

Attached is the CBS folder, Components Scanner log file, and DMWmiBridgeProv1.mof (which I see mentioned in an error in CBS.log, it seems it may have to do with a firewall rule? I believe it caused the rollback.)

I reset the Windows defender firewall and attempted the same upgrade again to see if that fixes DMWmiBridgeProv1.mof, but the update still failed at the same point it seems.
 

Attachments

Hi and welcome to Sysnative,

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

  • Note: Your antivirus program may report FRST incorrectly as an infection. If so, disable the real-time protection when downloading and running FRST.
  • Right-click to run the tool as administrator. When the tool opens click Yes to disclaimer.
  • Note: Ensure that the Addition.txt check box is checked at the bottom of the form within the Optional Scan area.
  • Press the Scan button.
  • Please wait for the tool to finish. It will produce two logfiles called FRST.txt and Addition.txt in the same directory the tool is run from (which should be the desktop)
  • Post the logfiles FRST.txt and Addition.txt as attachment in your next reply.
 
Is this system installed with a legal (genuine) version of Windows 11 Pro?

Rich (BB code):
2023-10-13 21:19:46, Info                  CBS    Failed to validate edition consistency [HRESULT = 0x800f0905 - CBS_E_NO_ACTIVE_EDITION]
2023-10-13 21:19:46, Info                  CBS    Failed to validate the plan. [HRESULT = 0x800f0905 - CBS_E_NO_ACTIVE_EDITION]
2023-10-13 21:19:46, Info                  CBS    Failed to plan execution. [HRESULT = 0x800f0905 - CBS_E_NO_ACTIVE_EDITION]
2023-10-13 21:19:46, Error                 CBS    Failed to process single phase execution. [HRESULT = 0x800f0905 - CBS_E_NO_ACTIVE_EDITION]
 
Okay, please perform the following to reset the WMI.

Start the
577bf0efb8088-FRST.png
Farbar Recovery Scan Tool again.

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.

Afterwards reboot the machine (as prompted by FRST) and attempt to update. if it still fails attach a new copy of the CBS logs.
 

Attachments

Unfortunately after FRST rebooted my computer the first and only time, it tried to do something but gave the same message along the lines "something went wrong undoing changes". See attached.

FRST did seem to reset WMI though, Samsung Magician complained about failing to start its WMI service.
 

Attachments

Also as a side note FRST did leave the WMI service disabled. I think there's a typo in your fix file as it spit out a description of the "sc" command rather than setting the service back to auto.
 
Rich (BB code):
2023-10-19 12:40:18, Error                 CSI    00000eca (F) Inner Error Message from AI: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.

Hi,

Yes, there was an unnecessary space after "start", please run the following command in an elevated prompt to set the service back to auto.
Rich (BB code):
sc config winmgmt start= auto
Afterwards reboot the system and attempt to update again.
 
So that definitely fixed Windows updates which is fantastic. But for good measure I was running through the ChkDsk, DISM, and SFC commands to make sure everything is in order and now curiously DISM is failing to do ScanHealth with an "The system cannot find the path specified." error. If you could help me sort that last thing out, I'd be very grateful. See the attached log.
 

Attachments

Hi,

Please attach the latest CBS logs to look at.

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.
  • Attach the file CBS.zip to your next reply.
 
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,

Please run DISM again with Process Monitor running.

Step#1 - Capture Process Monitor Trace
1. Download and run Process Monitor. Leave this running while you perform the next steps.
2. Run DISM again just like you have in the past.
3. When DISM fails wait 30 seconds and stop the trace. You can simply do this by clicking the square (CTRL +E) on the toolbar as shown below.



4. Select the File menu...Save... and save the file to your desktop. This is likely the default location. The name (unless changed) will be LogFile.PML. This is fine.
5. Zip up the LogFile.PML and upload it to WeTransfer - Send Large Files & Share Photos Online - Up to 2GB Free and provide the link as well as a new copy of the CBS logs for the time stamps.
 
Hopefully this capture is enough. I filtered it down a tad so as to not leak IPs and other private information via svchost.exe events and such.

I included sihost.exe, tiworker.exe, dismhost.exe, and dism.exe in the capture. Let me know if you think a process is missing.

DISM.zip
 
Rich (BB code):
6:08:34.3156556 PM    TiWorker.exe    28144    CreateFile    C:\Windows\WinSxS\Temp\InFlight\2d89a0d73804da01580a0000f06da021\$(build.nttree)\ApplicationTargetedFeatureDatabase.dll    PATH NOT FOUND    Desired Access: Generic Read/Write, Disposition: OverwriteIf, Options: Synchronous IO Non-Alert, Non-Directory File, Open For Backup, Attributes: N, ShareMode: Read, Write, Delete, AllocationSize: 0, Impersonating: NT AUTHORITY\SYSTEM

Hi,

Thanks, I think I have found a clue. Could you please run the following command as well with Process Monitor running?
Code:
DISM /online /cleanup-image /RestoreHealth
 
Hi,

Please do the following to check some components.

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

  • 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

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

Back
Top