[SOLVED] Perma-stuck on 1709, corrupt Components/SUS/WinSxS suspected

seanius

Member
Joined
Nov 19, 2019
Posts
11
Hey folks! I've been scratching my head on this one for a while. I've stumbled across a number of similar sounding problems on this forum and the people here seem really nice and helpful, so here goes! I hope it's at least entertaining...

Backstory Part 1:

This actually started maybe a year ago, windows update just kinda... broke and went into a reboot loop (it would start up, attempt to apply upgrade, splash a terminal so fast I couldn't read it, and then say it was reverting settings... reboot, repeat to infinity). (In hindsight, 1y later, I *suspect* the disk might have filled in between a prepare/apply of an update and things broke and were left inconsistent, I dunno). Eventually I got the system up on a rescue disk (PS: writing a windows ISO to a bootable USB device from Mac is fun), fixed a broken boot setting (a boot tab entry without a drive letter? wtf?), bcdedit/bcdboot'd my way back to a functioning system. Until the next time windows update ran. Windows update started giving errors "A current driver on your PC may be better than the driver we're trying to install. We'll keep trying to install." Okay so at this point I can't update windows any further, but whatever.

Backstory Part 2:

At some point windows update and/or some other mechanism in win10 started popping up these windows saying "you need to restart to get the latest upgrade" with a 30 minute timer. Like it could manage to get past this other error in some scheduled task version of the upgrade, I really don't know. But if did that, at best it would reboot, apply, fail, revert, and go back to the previous 1709 version again. Worst case it would go back into the revert/reboot loop and require the rescue disk dance, again. Okay, so those are annoying, and I disable windows update. Apparently you can only do this for a short period of time. Eventually it re-enables itself, and worse, stops prompting to reboot and just reboots the system every now and then to apply this update. Literally windows update is getting passive agressive on me. I find various threads online about disabling WUA, BITS, etc, but there are literally a dozen different hiddent at-boot mechanisms and scheduled tasks that all re-enable windows update. Ultimately, the only thing I could do was take ownership of the SoftwareDistribution directory and remove write permissions. Problem Solved! Sorta.

So this was all about 1y ago, like I said. Recently, I was finally motivated to try and fix this upgrade situation, mostly because I had to upgrade the OS+drivers to play the PC version of Red Dead Redemption 2 and I read some article somewhere where windows said they made a bunch of fixes to their updater. It's still f'd. I've scoured the internets, and tried a whole host of different things, which lead me to think that my WinSXS directory is corrupt. I'll try to provide some actually useful debugging information below:

Windows version: Windows 10 Pro ver 1709 build 10.0.16299.309

Things I have tried so far, in various combinations:

  • sfc /scannow (no corruption)
  • dism /online /restorehealth (no errors reported)
  • dism restorehealth against a 1709 ISO's install.wim file (no errors reported)
  • various versions of batch scripts that stop wua/bits/etc, rename SoftwareDistribution and Catroot2 folders, and start back up again
  • doing a clean boot and trying all the above again
  • downloading and installing the latest 1709 cumulative servicing stack upgrade from the ms update catalog (error: this update is not applicable to your computer. wtf?)
  • downloading and installing the latest win10 cumulative update from the ms update catalog (same error)
  • taking the .msu file from the above SSU cumulative update, unpacking the .cab files, and manually dism addpackage'ing them (same error in the output of the dism command)
  • running the setup.exe from within the 1709 ISO to do a repair/upgrade install
  • running the setup.exe from within the latest 1909 ISO to do a repair install

These last two steps are what have given me a scent trail that I'm now following. They both fail in exactly the same way: after running setup.exe there's a few reboot's worth of applying updates to the computer before it eventually fails, reverts, and plops me back at 1709, again. But then I get an error about the upgrade:

"the installation failed in the safe_os phase with an error during replicate_oc operation"

I'm led to believe "OC" is "Optional Components" and that this is microsoft's helpful way of telling me that it got to a late stage in the upgrade and was doing this last step, which failed, and rolled all the way back.

So what optional components do I have installed? I open the "list windows optional features" thing through the control panel and get a blank white screen. that's weird. so I ask DISM:

Code:
C:\windows\system32>dism /online /get-features

Deployment Image Servicing and Management tool
Version: 10.0.16299.15

Image Version: 10.0.16299.309


Error: 0x800f0805

The specified package is not valid Windows package.

The DISM log file can be found at C:\windows\Logs\DISM\dism.log

Well that's weird...

relevant section that makes me scratch my head from DISM log:


Code:
2019-11-19 16:50:53, Info                  DISM   DISM.EXE: 
2019-11-19 16:50:53, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
2019-11-19 16:50:53, Info                  DISM   DISM.EXE: 
2019-11-19 16:50:53, Info                  DISM   DISM.EXE: Host machine information: OS Version=10.0.16299, Running architecture=amd64, Number of processors=8
2019-11-19 16:50:53, Info                  DISM   DISM.EXE: Dism.exe version: 10.0.16299.15
2019-11-19 16:50:53, Info                  DISM   DISM.EXE: Executing command line: dism  /online /get-features
...(a bunch of Info level stuff, LMK if you want the full files)...
2019-11-19 16:50:54, Error                 DISM   DISM Package Manager: PID=4904 TID=7772 Failed opening package @Foundation. - CDISMPackageManager::Internal_CreatePackageByName(hr:0x800f0805)
2019-11-19 16:50:54, Error                 DISM   DISM Package Manager: PID=4904 TID=7772 Failed to get the underlying cbs package. - CDISMPackageManager::OpenPackageByName(hr:0x800f0805)
2019-11-19 16:50:54, Error                 DISM   DISM Package Manager: PID=4904 TID=7772 The specified package is not valid Windows package. - GetCbsErrorMsg
2019-11-19 16:50:54, Error                 DISM   DISM Package Manager: PID=4904 TID=7772 Failed to open the Foundation package. - CDISMPackageManager::OpenFoundationPackage(hr:0x800f0805)
2019-11-19 16:50:54, Error                 DISM   DISM Package Manager: PID=4904 TID=7772 The specified package is not valid Windows package. - GetCbsErrorMsg
2019-11-19 16:50:54, Error                 DISM   DISM Package Manager: PID=4904 TID=7772 Failed to open the Windows Foundation Package as a fall back. - CPackageManagerCLIHandler::ProcessCmdLine_GetFeatures(hr:0x800f0805)
2019-11-19 16:50:54, Error                 DISM   DISM Package Manager: PID=4904 TID=7772 Failed while processing command get-features. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f0805)

and in the CBS log:

Code:
2019-11-19 16:50:54, Info                  CBS    TiWorker starts successfully.
2019-11-19 16:50:54, Info                  CBS    Lock: New lock added: CCbsWorker, level: 5, total lock:3
2019-11-19 16:50:54, Info                  CBS    Universal Time is: 2019-11-20 00:50:54.233
2019-11-19 16:50:54, Info                  CBS    Failed to find a matching version for servicing stack: C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\ [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2019-11-19 16:50:54, Info                  CBS    Failed to find servicing stack directory in online store. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2019-11-19 16:50:54, Info                  CBS    Loaded Servicing Stack v10.0.16299.251 with Core: C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cbscore.dll
2019-11-19 16:50:54, Info                  CSI    00000001@2019/11/20:00:50:54.235 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7ffe78694519 @0x7ffe78dbc1c6 @0x7ffe78dbc688 @0x7ff7e1272c32 @0x7ff7e12735b8 @0x7ffea74a6d23)
2019-11-19 16:50:54, Info                  CBS    Lock: New lock added: CCbsSessionManager, level: 11, total lock:8
2019-11-19 16:50:54, Info                  CBS    Lock: New lock added: CSIInventoryCriticalSection, level: 64, total lock:9
2019-11-19 16:50:54, Info                  CBS    NonStart: Set pending store consistency check.
2019-11-19 16:50:54, Info                  CBS    Session: 30777148_2418234269 initialized by client DISM Package Manager Provider, external staging directory: (null), external registry directory: (null
2019-11-19 16:50:54, Info                  CBS    Not able to find an installed package package from moniker: @Foundation [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
2019-11-19 16:50:54, Info                  CBS    Failed to resolve package from moniker [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
2019-11-19 16:50:54, Info                  CBS    Failed to create open package. [HRESULT = 0x800f0805 - CBS_E_INVALID_PACKAGE]
2019-11-19 16:50:54, Info                  CBS    Failed to OpenPackage using worker session [HRESULT = 0x800f0805]

Note that these WinSXS files are present, and seem to my naive eyes to be correct and not corrupt. However I'm thinking that some set of registry keys or package management metadata is involved and is maybe incorrect. But this is beyond what I know (Debian package management is a bit more straightforward, I gotta say). I do note that the build version in the winsxs dir seems like it might be different than DISM + the OS reports (251 vs 15 vs 309 respectively) but as mentioned above, I can't upgrade SSU even via the CAB and I don't know where this metadata would be to investigate further. I see other build versions in the winsxs dir as well.

So anyway, my suspicion is that this is in fact the cause of not being able to list the optional components, which is what's breaking the in-place upgrade from ISO, and likely at the root of all the other problems that I'm having. What do you think? I've seen a number of posts in this forum using an SFCFix app where files are copied around, registries are mucked with, etc with great success. I'm wondering if that's something we can do here, too? Or do you know if there's a way to disable the replication of optional components in the upgrade process? Any other thoughts?

Okay, phew. Thanks for bearing with me on this, and thanks for your time!
 
Hello and welcome!

Thank you for the detailed description of your issues!

Your issue should be quite simple to resolve actually! Your SSU is corrupt and needs to be repaired.

Please do the following:

SFCFix Script

Warning: this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.


  1. Download SFCFix.exe (by niemiro) and save this to your Desktop.
  2. Download the file below, SFCFix.zip, and save this to your Desktop. Ensure that this file is named SFCFix.zip - do not rename it.
  3. Save any open documents and close all open windows.
  4. On your Desktop, you should see two files: SFCFix.exe and SFCFix.zip.
  5. Drag the file SFCFix.zip onto the file SFCFix.exe and release it.
  6. SFCFix will now process the script.
  7. Upon completion, a file should be created on your Desktop: SFCFix.txt.
  8. Copy (Ctrl+C) and Paste (Ctrl+V) the contents of this file into your next post for me to analyse please - put [CODE][/CODE] tags around the log to break up the text.
 

Attachments

Dobra dan softwaremaniac!

I did as told. Ran another sfc + dism combo for extra credit but still get the same error. output included below.

note that these files already existed, but i suspect there's something else where they get registered. I'm a linux person though so I'm only reasoning from first principles about software package management :)

Poking around i found a tool sxstrace which I could use to see arbitrary .etl logs from sxs. There was nothing that stood out error-wise in the resulting logs when i attempted a couple dism commands or windows update itself, but I saw some mention of a "manifests" directory in winsxs. looking in winsxs i see a few other directories apart from these package dirs:

Backup
Catalogs
FileMaps
InstallTemp
ManifestCache
Manifests

Think there's anything in these dirs that we should restore too?

Thanks!


anyhoo, the output:

Code:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2019-11-19 18:04:44.938
Microsoft Windows 10 Build 16299 - amd64
Using .zip script file at C:\Users\seanius\Desktop\SFCFix.zip [0]




PowerCopy::
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\amd64_installed
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cbscore.dll
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cbsmsg.dll
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cmiadapter.dll
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cmiaisupport.dll
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\dpx.dll
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\drupdate.dll
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\drvstore.dll
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\globalinstallorder.xml
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\msdelta.dll
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\mspatcha.dll
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\poqexec.exe
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\smiengine.dll
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\smipi.dll
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\tifilefetcher.exe
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\tiworker.exe
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\turbostack.dll
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\updateagent.dll
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wcmtypes.xsd
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wcp.dll
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wdscore.dll
Successfully took permissions for file or folder C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wrpint.dll

Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\amd64_installed to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\amd64_installed.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cbscore.dll to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cbscore.dll.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cbsmsg.dll to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cbsmsg.dll.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cmiadapter.dll to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cmiadapter.dll.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cmiaisupport.dll to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cmiaisupport.dll.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\dpx.dll to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\dpx.dll.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\drupdate.dll to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\drupdate.dll.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\drvstore.dll to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\drvstore.dll.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\globalinstallorder.xml to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\globalinstallorder.xml.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\msdelta.dll to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\msdelta.dll.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\mspatcha.dll to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\mspatcha.dll.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\poqexec.exe to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\poqexec.exe.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\smiengine.dll to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\smiengine.dll.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\smipi.dll to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\smipi.dll.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\tifilefetcher.exe to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\tifilefetcher.exe.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\tiworker.exe to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\tiworker.exe.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\turbostack.dll to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\turbostack.dll.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\updateagent.dll to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\updateagent.dll.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wcmtypes.xsd to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wcmtypes.xsd.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wcp.dll to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wcp.dll.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wdscore.dll to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wdscore.dll.
Successfully copied file C:\Users\seanius\AppData\Local\niemiro\Archive\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wrpint.dll to C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wrpint.dll.

Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\amd64_installed
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\amd64_installed
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cbscore.dll
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cbscore.dll
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cbsmsg.dll
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cbsmsg.dll
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cmiadapter.dll
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cmiadapter.dll
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cmiaisupport.dll
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\cmiaisupport.dll
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\dpx.dll
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\dpx.dll
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\drupdate.dll
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\drupdate.dll
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\drvstore.dll
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\drvstore.dll
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\globalinstallorder.xml
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\globalinstallorder.xml
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\msdelta.dll
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\msdelta.dll
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\mspatcha.dll
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\mspatcha.dll
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\poqexec.exe
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\poqexec.exe
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\smiengine.dll
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\smiengine.dll
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\smipi.dll
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\smipi.dll
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\tifilefetcher.exe
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\tifilefetcher.exe
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\tiworker.exe
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\tiworker.exe
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\turbostack.dll
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\turbostack.dll
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\updateagent.dll
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\updateagent.dll
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wcmtypes.xsd
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wcmtypes.xsd
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wcp.dll
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wcp.dll
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wdscore.dll
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wdscore.dll
Successfully restored ownership for C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wrpint.dll
Successfully restored permissions on C:\windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.16299.251_none_16dd4c82321e5ccc\wrpint.dll
PowerCopy:: directive completed successfully.




Successfully processed all directives.
SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 22 datablocks.
Finish time: 2019-11-19 18:04:47.755
Script hash: LfOxfmcQgFglGW31hCbFJ9++ev26tfbfRULD2zBiiMU=
----------------------EOF-----------------------

CBS and DISM logs look the same.
 
:(

I'm still suspecting package management shenanigans with the optional components.

I know the installer makes some logs, somewhere. You want me to attach anything?

1574219618931.png
 
Please run this first:

Step#1 - DISM /RestoreHealth Scan
Warning:this fix is specific to the user in this thread. No one else should follow these instructions as it may cause more harm than good. If you are after assistance, please start a thread of your own.


  1. Right-click on the Start button and select Command Prompt (Admin)
  2. When command prompt opens, Copy (Ctrl+C) and Paste (Right-click > Paste) the following command into it, then press Enter
    Dism /Online /Cleanup-Image /RestoreHealth
  3. Once it finishes, copy and paste the following into the command-prompt window and press Enter. If prompted to overwrite the existing file go ahead.
    copy %windir%\logs\cbs\cbs.log "%userprofile%\Desktop\cbs.txt"
  4. Once this has completed please go to your Desktop and you will find CBS.txt => Please zip/upload to this thread.
    Please Note:: if the file is too big (over 7MB) to upload to your next post, please upload via a service such as Dropbox or One Drive or SendSpace and just provide the link.
 
attached! i couldn't figure out how to preserve the path names so if any of them stand out as relevant I can tell you where they came from.
 

Attachments

Please do the following:

Step#1 - FRST Scan

1. Please download Farbar Recovery Scan Tool and save it to your Desktop.
Note: You need to run the 64-bit Version so please ensure you download that one.
2. Right-click FRST64.exe and click Run as Administrator to run it as administrator. When the tool opens, click Yes to disclaimer.
3. Please ensure you place a check mark in the Addition.txt check box at the bottom of the form before running (if not already checked).
4. Press Scan button.
5. It will produce a log called FRST.txt in the same directory the tool is run from (which should now be the desktop)
6. Please attach the log back here.
7. Another log (Addition.txt - also located in the same directory as FRST64.exe) will be generated Please also attach that along with the FRST.txt in your reply.
 
oh bummer! how did that get there :/ I've removed it from the system! attached updated logs (it looks like it shows up as deleted in the latest logs). LMK if you see anything else unsavory in the logs.
 

Attachments

Download CKScanner by askey127 and save it to your desktop.


  • Right-click on
    ckscanner.jpg
    icon and select
    RunAsAdmin.jpg
    Run as Administrator to start the tool.
  • click Search For Files.
  • When finished, click Save List To File.
  • Remember to run this tool once only, if not asked to run it again.
Please copy and paste the content of CKFiles.txt into your next reply.
 
ugh, there was more. i think i'm going to just nuke the whole thing from orbit :/ dovidjenja and thanks for the help!
 
Wooo! Okay so I really was going to reinstall from orbit, but I came across this previous case in the forum that you helped out with a while back:

[SOLVED] - Cannot install any updates, stuck on Windows 10 1703 Build 15063.726

Same symptoms (empty Packages hive in registry). So This is what I ended up doing:

  • Install same version of windows as running system into a vmware guest
  • dump the contents of HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Package into a .reg file.
  • copy that file out of the guest
  • take ownership of the Package path in the registry
  • because i was planning on reinstalling i didn't bother to back anything up and just yolo merged it into the registry
  • After this, I could install the SSU update manually (via the expanded .cab file).
  • After SSU, I could install the cumulative update for 1709 (again, via the expanded cab file)
  • Windows Update then found a bunch of stuff and installed it, but then got stuck @ 1909's feature update with some other stupid opaque error code
  • New Error in CBS logs about missing provider for @Product instead of @Foundation
  • Still got the same error for listing packages
  • *BUT*, I gave windows update assistant another go, and it successfully got me the rest of the way up to 1909, no error about REPLICATE_OC.
  • Get-Features now returns a list of installed/uninstalled features
  • Winver is 1909 and nothing else seems out of the ordinary (well, besides cleaning up those files that got flagged, but I'll take care of that!)

Anyway, thanks for all your help (even if the solution ended up being indirect, I still appreciate your time and patience). I'll donate something to the site as a token of gratitude :)
 

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

Back
Top