Thank you
softwaremaniac,
It's not only amazing you repaired the file but so promptly during the Easter break! There's a long spiel as to why I've taken over a week to show my appreciation, in short, it's because my computer crashed not long after restoring the COMPONENTS file due to other windows anomalies. Here's what actually happened (according to me):
I replaced COMPONENTS (windows\system32\config) with your working file. Rebooted, could/should have ran DISM and SFC repairs etc. but--to my surprise--all seemed well with Windows updates downloading and initializing.
However, come the required reboot to push the update, Windows updates (including KB4549951) eventually failed to complete. The problem at this point was the attempted rollback of changes to the system, Windows configured the wrong BCD store and configured my data disk as the boot drive. And because my OS drive (with correct BCD) was not configured as my actual boot drive, Windows started throwing errors about corrupt disks and all kinds of nonsense. From this point onwards it was serious downtime as troubleshooting was taking forever because it was impossible to boot just from a simple USB thumbdrive--Windows failed instantly after CMOS POST. So I had to use my SATA to USB3 and extract the two SSD disks from the laptop for further investigation and recovery.
In the end there was nothing wrong with the two SSD disks, I eventually removed the BCD config from the data drive, also configured that drive as a DYNAMIC disk instead, and repaired the BCD on the OS drive.
At the moment it's still a hard road troubleshooting these ole Windows Update errors (decades old problem). Some things attempted include:
Code:
#CMD as Administrator
SFC /scannow
DISM /Online /Cleanup-Image /AnalyzeComponentStore
DISM /online /Cleanup-Image /StartComponentCleanupI
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /RestoreHealth
#Powershell as Administrator
#Uninstall All Built-In Applications
Get-AppxPackage -AllUsers | Remove-AppxPackage
#CMD as Administrator to Reset Windows App Store
wsreset.exe
#Sought Out Problem Packages
DISM /image:c:\ /Get-Packages >> c:\temp\packages.txt
#Removed Problem Packages
DISM /Online /Remove-Package /PackageName:
NET stop bits
NET stop wuauserv
NET stop appidsvc
NET stop cryptsvc
DEL "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\*.*"
RMDIR %systemroot%\SoftwareDistribution /S /Q
RMDIR %systemroot%\system32\catroot2 /S /Q
SC sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
SC sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
#Open the Registry Editor
HKEY_LOCAL_MACHINE\COMPONENTS
#Delete them all if you locate any of them.
PendingXmlIdentifier
NextQueueEntryIndex
AdvancedInstallersNeedResolving
CD /d %windir%\system32
#/S switch silently without additional prompts
regsvr32.exe /s atl.dll
regsvr32.exe /s urlmon.dll
regsvr32.exe /s mshtml.dll
regsvr32.exe /s shdocvw.dll
regsvr32.exe /s browseui.dll
regsvr32.exe /s jscript.dll
regsvr32.exe /s vbscript.dll
regsvr32.exe /s scrrun.dll
regsvr32.exe /s msxml.dll
regsvr32.exe /s msxml3.dll
regsvr32.exe /s msxml6.dll
regsvr32.exe /s actxprxy.dll
regsvr32.exe /s softpub.dll
regsvr32.exe /s wintrust.dll
regsvr32.exe /s dssenh.dll
regsvr32.exe /s rsaenh.dll
regsvr32.exe /s gpkcsp.dll
regsvr32.exe /s sccbase.dll
regsvr32.exe /s slbcsp.dll
regsvr32.exe /s cryptdlg.dll
regsvr32.exe /s oleaut32.dll
regsvr32.exe /s ole32.dll
regsvr32.exe /s shell32.dll
regsvr32.exe /s initpki.dll
regsvr32.exe /s wuapi.dll
regsvr32.exe /s wuaueng.dll
regsvr32.exe /s wuaueng1.dll
regsvr32.exe /s wucltui.dll
regsvr32.exe /s wups.dll
regsvr32.exe /s wups2.dll
regsvr32.exe /s wuweb.dll
regsvr32.exe /s qmgr.dll
regsvr32.exe /s qmgrprxy.dll
regsvr32.exe /s wucltux.dll
regsvr32.exe /s muweb.dll
regsvr32.exe /s wuwebv.dll
NETSH winsock reset
NETSH winsock reset proxy
NET start bits
NET start wuauserv
NET start appidsvc
NET start cryptsvc
#Run Windows Update Troubleshooter
msdt.exe -ID WindowsUpdateDiagnostic
I'm sure this could have been done a lot easier and all through PowerShell... some updates have installed and along side other troubleshooting efforts are error codes like:
HEX: 0x8024001E
DEC: 2149842974
The last and most difficult update to install is KB4549951. Any good pointers welcomed, but could a seemingly fine operating system have such a weak and broken foundation?