[SOLVED] DISM /restorehealth, KB5048652, and In-place upgrade all fail-Win10 home

Hi,

Here's the next fix.

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.

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

Attachments

I've just filtered the CBS log to check the COMPONENTS hive for all the missing keys, and we'll need to replace approx 600 keys. So I would try the in-place-upgrade again with the latest ISO, but with your internet connection disabled, this to avoid the installation procedure will use Windows Update. This should bypass all the corruptions if we're lucky!
 
Once again I appreciate all your dedication and professional work. I'll have to wait until tomorrow as I'm currently working on it remotely, I'm assuming that choosing the option not to check for updates and/or using windows firewall isn't enough then? Happy New Year to you and yours, cheers!
 
Thanks again mate, I'll be in contact once I get a chance, you're about 9 hours ahead of me so I'll most likely respond late for you lol. I hope this works as well, 600+ registry entries is pretty daunting...
 
Unfortunately it resulted in the same failure at 100% before it reboots for the first time. I did use the media creation tool to get the latest ISO as well instead of using my old 22H2 installer. Here are my CBS and setuperr/setupact logs in case there is something in there that will help setup complete. If not I am willing to do some of the legwork if you think you can direct me towards diagnosing which registry entries/files are missing, it has been awhile since I have taken a crack at this stuff but I might be able to be helpful.
 

Attachments

Hi,

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.
 
So the day got away from me but I have great news, I did some digging and ended up installing the Windows update PowerShell cmdlet addon, I ran"
Code:
Install-Module -Name PSWindowsUpdate -Force -SkipPublisherCheck
and then ran:
Code:
Install-WindowsUpdate -AcceptAll -AutoReboot
and after it rebooted it successfully installed the updates which funnily enough initiated the prior attempts at an in-place upgrade/repair install during the second (manually initiated) reboot. I then re-ran
Code:
DISM /Online /Cleanup-Image /StartComponentCleanup
then
Code:
DISM /Online /Cleanup-Image /Restorehealth
. then ran
Code:
SFC /scannow
which found and repaired more corruption. Then I re-ran an in-place upgrade/repair install and it completed as well. It's currently finishing installing all new updates since the latest media creation tool version of W10 22H2. I think I'm in the clear at this point and I super appreciate your awesome help.
 

Attachments

  • Good news everyone.webp
    Good news everyone.webp
    22.9 KB · Views: 0
Hi,

That's great news, and thanks for sharing the solution. Could you please run the following command now that cmdlet is installed.
Code:
Get-WUHistory -Last 100 | Out-File -width 200 -FilePath $env:USERPROFILE\Desktop\WUHistory.log
 
I will do that as soon as the Windows updates are finished, can you advise as to why I cannot delete a failed draft on this forum? It won't go away unless I select all and delete then type what I want.
 
Weird, it just finally stopped forcing the old draft on me. I'll just chalk it up to my odd experiences lol. Problem self-solved I guess.

Computer is rebooting and installing updates, will run requested code as soon as it's complete.
 
Great. I will also take a closer look at PSWindowsUpdate! When this cmdlet is using some powerful routines to bypass common issues it would be very helpful to resolve similar issues.
 
It's not much but this was the result...



ComputerName Operationname Result Date Title
------------ ------------- ------ ---- -----
DESKTOP-0... Installation Succeeded 1/3/2025 2:37:03 AM 2024-12 Cumulative Update for Windows 10 Version 22H2 for x64-based Systems (KB5048652)
DESKTOP-0... Installation Succeeded 1/3/2025 2:22:29 AM 2024-11 Cumulative Update Preview for .NET Framework 3.5, 4.8 and 4.8.1 for Windows 10 Version 22H2 for x64 (KB5048292)
DESKTOP-0... Installation Succeeded 1/3/2025 2:22:03 AM Microsoft .NET Framework 4.8.1 for Windows 10 Version 22H2 for x64 (KB5011048)
DESKTOP-0... Installation InProgress 1/3/2025 2:20:22 AM 2023-10 Update for Windows 10 Version 22H2 for x64-based Systems (KB4023057)
 
Duhh, this is only the history after installing the cmdlet. 🤦‍♂️

You're welcome. And thanks again for sharing the solution, if this is a workaround for similiar issues as well - it would be awesome.


Summary of the cmdlet switches:
Rich (BB code):
PS C:\Windows\system32> Get-command -module PSWindowsUpdate | Sort-Object CommandType, Name

CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Alias           Clear-WUJob                                        2.2.1.5    PSWindowsUpdate
Alias           Download-WindowsUpdate                             2.2.1.5    PSWindowsUpdate
Alias           Get-WUInstall                                      2.2.1.5    PSWindowsUpdate
Alias           Get-WUList                                         2.2.1.5    PSWindowsUpdate
Alias           Hide-WindowsUpdate                                 2.2.1.5    PSWindowsUpdate
Alias           Install-WindowsUpdate                              2.2.1.5    PSWindowsUpdate
Alias           Show-WindowsUpdate                                 2.2.1.5    PSWindowsUpdate
Alias           UnHide-WindowsUpdate                               2.2.1.5    PSWindowsUpdate
Alias           Uninstall-WindowsUpdate                            2.2.1.5    PSWindowsUpdate
Cmdlet          Add-WUServiceManager                               2.2.1.5    PSWindowsUpdate
Cmdlet          Enable-WURemoting                                  2.2.1.5    PSWindowsUpdate
Cmdlet          Get-WindowsUpdate                                  2.2.1.5    PSWindowsUpdate
Cmdlet          Get-WUApiVersion                                   2.2.1.5    PSWindowsUpdate
Cmdlet          Get-WUHistory                                      2.2.1.5    PSWindowsUpdate
Cmdlet          Get-WUInstallerStatus                              2.2.1.5    PSWindowsUpdate
Cmdlet          Get-WUJob                                          2.2.1.5    PSWindowsUpdate
Cmdlet          Get-WULastResults                                  2.2.1.5    PSWindowsUpdate
Cmdlet          Get-WUOfflineMSU                                   2.2.1.5    PSWindowsUpdate
Cmdlet          Get-WURebootStatus                                 2.2.1.5    PSWindowsUpdate
Cmdlet          Get-WUServiceManager                               2.2.1.5    PSWindowsUpdate
Cmdlet          Get-WUSettings                                     2.2.1.5    PSWindowsUpdate
Cmdlet          Invoke-WUJob                                       2.2.1.5    PSWindowsUpdate
Cmdlet          Remove-WindowsUpdate                               2.2.1.5    PSWindowsUpdate
Cmdlet          Remove-WUServiceManager                            2.2.1.5    PSWindowsUpdate
Cmdlet          Reset-WUComponents                                 2.2.1.5    PSWindowsUpdate
Cmdlet          Set-PSWUSettings                                   2.2.1.5    PSWindowsUpdate
Cmdlet          Set-WUSettings                                     2.2.1.5    PSWindowsUpdate
Cmdlet          Update-WUModule                                    2.2.1.5    PSWindowsUpdate
 
Trust my dumb-a$$ to stumble upon something cool like a drunken master lol... 🤣 when I run
Rich (BB code):
PS C:\Windows\system32> Get-command -module PSWindowsUpdate | Sort-Object CommandType, Name

it returns:

Get-Process : A positional parameter cannot be found that accepts argument 'Get-command'.
At line:1 char:1
+ PS C:\Windows\system32> Get-command -module PSWindowsUpdate | Sort-Ob ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-Process], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.GetProcessCommand

So I'm not sure what dependency I'm missing but it is what it is I guess lol.
 

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

Back
Top