Fixing Windows 10 Component Store Corruption after Creator’s Update


  • Run dism /Online /Cleanup-Image /RestoreHealth

If it completes fine :goto end

If it fails with

Error: 0x800f081f The source files could not be found.



If it mentions Microsoft-Windows-TestRoot-and-FlightSigning-Package, then this guide is for you.

There are two ways to fix this problem, one is sledgehammer and just delete the package and remove the registration of it from the registry, the other is using NSudo and CBSEnum to remove the packages the elegant way.


  • Assign your user ownership of and delete 

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionComponent Based ServicingPackageIndexMicrosoft-Windows-TestRoot-and-FlightSigning-Package~31bf3856ad364e35~amd64~~]

  • Assign your user ownership and delete

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionComponent Based ServicingPackagesMicrosoft-Windows-TestRoot-and-FlightSigning-Package~31bf3856ad364e35~amd64~~10.0.15063.0]

  • Search your system drive for Microsoft-Windows-TestRoot-and-FlightSigning-Package and delete every file that comes up.

It should be 4 files in C:WindowsservicingPackages


– Run NSudo as admin to launch CBSEnum with All Privileges as Trusted Installer.
– Take ownership of the correct registry entry in CBSEnum (from the Edit button at the top of CBSEnum).
– Use the Flat List to view packages, find the 2 Microsoft-Windows-TestRoot packages, and select/highlight both packages.
– Right-click on highlighted packages, make both packages visible, de-couple both packages, and only then select to uninstall both packages (at once).
– Restart, search for remaining package registry entries, remove the registry entries (which would not be the in same place, but in ToBeUninstalled or similar-named registry folder).
– Restart again and you’re done correctly uninstalling the package.