Windows 10 1903 Updates failes with 0x8007007e

ThomasMiko

Member
Joined
May 7, 2020
Posts
5
Hi,

i have problems with installating the Windows 10 1903 Update, the windows update manager always returns the error code "0x8007007e".
I've tried several things, but now i have no more idea what to do :(

Has anyone an idea?

Thanks and best regards
Thomas


What i have tried is the following:

1) SFC /scannow
=> Error "could not start repair service"
=> Check state of "Windows Modules Installer" => Manual
=> Reboot and run sfc /scannow again => no success, same error

2) DISM /Online /Cleanup-Image /ScanHealth
=> Error at 5%
=> The system could not find the file specified

3) Check cbs.log file
=> In the cbs.log file i've found the following entries (relevant entries - from my point of view - marked bold)


2020-05-07 17:32:45, Info CBS Lock: New lock added: CCbsSessionManager, level: 11, total lock:8
2020-05-07 17:32:45, Info CBS Lock: New lock added: CSIInventoryCriticalSection, level: 64, total lock:9
2020-05-07 17:32:45, Info CBS Failed to load sfp DLL from path: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.17763.1090_none_5715d73398f9ea47\\wrpint.dll [HRESULT = 0x8007007e - ERROR_MOD_NOT_FOUND]
2020-05-07 17:32:45, Info CBS Failed to initialize WRP integrity check and repair. [HRESULT = 0x8007007e - ERROR_MOD_NOT_FOUND]
2020-05-07 17:32:45, Info CBS TiWorker: Client requests SFP repair object.
2020-05-07 17:32:45, Info CBS Failed to load sfp DLL from path: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.17763.1090_none_5715d73398f9ea47\\wrpint.dll [HRESULT = 0x8007007e - ERROR_MOD_NOT_FOUND]
2020-05-07 17:32:45, Info CBS Failed to initialize WRP integrity check and repair. [HRESULT = 0x8007007e - ERROR_MOD_NOT_FOUND]
2020-05-07 17:32:45, Info CBS Failed to get class factory for service: 1 [HRESULT = 0x8007007e]
2020-05-07 17:33:34, Info CBS Session: 30811268_3737769618 initialized by client DISM Package Manager Provider, external staging directory: (null), external registry directory: (null
2020-05-07 17:33:34, Info CBS Client specifies manual store corruption detect or repair.
2020-05-07 17:33:34, Info CBS Exec: Session processing started. Client: Manual, Session(DISM Package Manager Provider Store Corruption Detect/Repair): 30811268_3737769618
2020-05-07 17:33:34, Info CBS FLOW: Entering stage: CheckCbs
2020-05-07 17:33:43, Error CSI 00000001 (F) STATUS_OBJECT_NAME_NOT_FOUND #171940# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile(flags = 0, handle = {provider=NULL, handle=0, name= ("null")}, da = (FILE_GENERIC_READ|DELETE), oa = @0x62b4efd2b0->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[97]'\??\C:\WINDOWS\Servicing\Packages\Package_5120_for_KB4538461~31bf3856ad364e35~amd64~~10.0.1.7.cat'; a:(OBJ_CASE_INSENSITIVE)}, iosb = @0x62b4efd250, as = (null), fa = (FILE_ATTRIBUTE_NORMAL), sa = (FILE_SHARE_READ|FILE_SH[gle=0xd0000034]
2020-05-07 17:33:43, Error CSI ARE_WRITE|FILE_SHARE_DELETE), cd = FILE_OPEN, co = (FILE_NON_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT), eab = NULL, eal = 0, disp = Invalid)
[gle=0xd0000034]
2020-05-07 17:33:43, Error CSI 00000002 (F) STATUS_OBJECT_NAME_NOT_FOUND #171939# from Windows::Rtl::SystemImplementation::CSystemIsolationLayer_IRtlSystemIsolationLayerTearoff::OpenFilesystemFile(flags = 0, da = (FILE_GENERIC_READ|DELETE), fn = [l:97]'\??\C:\WINDOWS\Servicing\Packages\Package_5120_for_KB4538461~31bf3856ad364e35~amd64~~10.0.1.7.cat', sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), oo = (FILE_SYNCHRONOUS_IO_NONALERT|FILE_NON_DIRECTORY_FILE), file = NULL, disp = (null))
[gle=0xd0000034]

2020-05-07 17:33:43, Error CSI 00000003 (F) STATUS_OBJECT_NAME_NOT_FOUND #171944# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile(flags = 0, handle = {provider=NULL, handle=0, name= ("null")}, da = (FILE_GENERIC_READ|DELETE), oa = @0x62b4efd2b0->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[97]'\??\C:\WINDOWS\Servicing\Packages\Package_5121_for_KB4538461~31bf3856ad364e35~amd64~~10.0.1.7.cat'; a:(OBJ_CASE_INSENSITIVE)}, iosb = @0x62b4efd250, as = (null), fa = (FILE_ATTRIBUTE_NORMAL), sa = (FILE_SHARE_READ|FILE_SH[gle=0xd0000034]
2020-05-07 17:33:43, Error CSI ARE_WRITE|FILE_SHARE_DELETE), cd = FILE_OPEN, co = (FILE_NON_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT), eab = NULL, eal = 0, disp = Invalid)
[gle=0xd0000034]
2020-05-07 17:33:43, Error CSI 00000004 (F) STATUS_OBJECT_NAME_NOT_FOUND #171943# from Windows::Rtl::SystemImplementation::CSystemIsolationLayer_IRtlSystemIsolationLayerTearoff::OpenFilesystemFile(flags = 0, da = (FILE_GENERIC_READ|DELETE), fn = [l:97]'\??\C:\WINDOWS\Servicing\Packages\Package_5121_for_KB4538461~31bf3856ad364e35~amd64~~10.0.1.7.cat', sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), oo = (FILE_SYNCHRONOUS_IO_NONALERT|FILE_NON_DIRECTORY_FILE), file = NULL, disp = (null))
[gle=0xd0000034]
2020-05-07 17:33:46, Info CBS Repr: CBS Store check completes
2020-05-07 17:33:47, Info CSI 00000002 CSI Store 2200327663664 initialized
2020-05-07 17:33:47, Info CSI 00000003 StoreCorruptionRepair transaction begun. WcpVersion: [l:38]'10.0.17763.1090 (WinBuild.160101.0800)'.
2020-05-07 17:33:47, Info CSI 00000004@2020/5/7:15:33:47.036 Starting corruption detection (InnerFlags=2)
2020-05-07 17:33:47, Info CBS FLOW: Entering stage: CheckCsi
2020-05-07 17:33:47, Error CSI 00000005 (F) STATUS_OBJECT_NAME_NOT_FOUND #1763# from Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysOpenKey(flg = (AllowAccessDenied), key = {provider=NULL, handle=0, name= ("null")}, da = (KEY_READ|KEY_WOW64_64KEY), oa = @0x62b4efb3e8->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[207]'\Registry\Machine\COMPONENTS\DerivedData\VersionedIndex\10.0.17763.1090 (WinBuild.160101.0800)\ComponentFamilies\amd64_001c15ad3592bdc4260e00412c245ff1_31bf3856ad364e35_none_ca053e30fb4a552b\v!10.0.17763.107'; a:(O[gle=0xd0000034]
2020-05-07 17:33:47, Error CSI BJ_CASE_INSENSITIVE)}, disp = Unmapped disposition: 3035607496)[gle=0xd0000034]
2020-05-07 17:33:47, Error CSI 00000006@2020/5/7:15:33:47.041 (F) onecore\base\wcp\sil\ntsystem.cpp(5348): Error STATUS_OBJECT_NAME_NOT_FOUND originated in function Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysOpenKey expression: (null)
[gle=0x80004005]
2020-05-07 17:33:47, Info CBS Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
2020-05-07 17:33:47, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20200507101758.log to WER report.
2020-05-07 17:33:47, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20200507090555.log to WER report.
2020-05-07 17:33:47, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20200507075044.log to WER report.
2020-05-07 17:33:47, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20200506151011.cab to WER report.
2020-05-07 17:33:47, Info CBS Added C:\WINDOWS\Logs\CBS\CbsPersist_20200506073436.cab to WER report.
2020-05-07 17:33:47, Info CBS Not able to add current session file to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2020-05-07 17:33:47, Info CBS Not able to add pending.xml.bad to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2020-05-07 17:33:47, Info CBS Not able to add poqexec.log to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2020-05-07 17:33:47, Info CBS Not able to add SCM.EVM to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]

2020-05-07 17:33:47, Error CSI 00000007 (F) STATUS_OBJECT_NAME_NOT_FOUND #1762# from Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysOpenKey(flg = 0, key = {provider=NULL, handle=0, name= ("null")}, da = (KEY_READ|KEY_WOW64_64KEY), oa = @0x62b4efb3e8->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[207]'\Registry\Machine\COMPONENTS\DerivedData\VersionedIndex\10.0.17763.1090 (WinBuild.160101.0800)\ComponentFamilies\amd64_001c15ad3592bdc4260e00412c245ff1_31bf3856ad364e35_none_ca053e30fb4a552b\v!10.0.17763.107'; a:(OBJ_CASE_INSENSITIV[gle=0xd0000034]
2020-05-07 17:33:47, Error CSI E)}, disp = Unmapped disposition: 3035608492)[gle=0xd0000034]
2020-05-07 17:33:47, Error CSI 00000008@2020/5/7:15:33:47.160 (F) onecore\base\wcp\sil\ntsystem.cpp(5348): Error STATUS_OBJECT_NAME_NOT_FOUND originated in function Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysOpenKey expression: (null)
[gle=0x80004005]
2020-05-07 17:33:47, Error CSI 00000009 (F) STATUS_OBJECT_NAME_NOT_FOUND #1761# from Windows::Rtl::SystemImplementation::CBufferedRegistryProvider::SysOpenKey(flg = 0, key = {provider=NULL, handle=0, name= ("null")}, da =
(KEY_ALL_ACCESS), oa = @0x62b4efb948->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[207]'\Registry\Machine\COMPONENTS\DerivedData\VersionedIndex\10.0.17763.1090 (WinBuild.160101.0800)\ComponentFamilies\amd64_001c15ad3592bdc4260e00412c245ff1_31bf3856ad364e35_none_ca053e30fb4a552b\v!10.0.17763.107'; a:(OBJ_CASE_INSENSITIVE)}, di[gle=0xd0000034]
2020-05-07 17:33:47, Error CSI sp = Unmapped disposition: 3035609504)[gle=0xd0000034]
2020-05-07 17:33:47, Error CSI 0000000a (F) STATUS_OBJECT_NAME_NOT_FOUND #1760# from Windows::Rtl::SystemImplementation::CKey::OpenExistingKey(f = 2, da = (KEY_ALL_ACCESS), oa = @0x62b4efbbd0, key = NULL, disp = (null))[gle=0xd0000034]
2020-05-07 17:33:47, Error CSI 0000000b (F) STATUS_OBJECT_NAME_NOT_FOUND #175# from CCSDirect::EnumStoreCorruptions(...)[gle=0xd0000034]
2020-05-07 17:33:47, Error CSI 0000000c (F) HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) #174# from Windows::COM::CStorePendingStoreRepairTxn_IStorePendingStoreRepairTransaction::Detect(Flags = 4, cancelEvt = 12c (''), disp = 0)[gle=0x80070002]
2020-05-07 17:33:47, Error CBS Rept: Failed to call CSI detect. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2020-05-07 17:33:47, Info CBS Failed to check CSI store. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2020-05-07 17:33:47, Info CBS
2020-05-07 17:33:47, Info CBS =================================
2020-05-07 17:33:47, Info CBS Checking System Update Readiness.
2020-05-07 17:33:47, Info CBS
2020-05-07 17:33:47, Info CBS (p) CBS Catalog Missing (n) Package_5120_for_KB4538461~31bf3856ad364e35~amd64~~10.0.1.7
2020-05-07 17:33:47, Info CBS (p) CBS Catalog Missing (n) Package_5121_for_KB4538461~31bf3856ad364e35~amd64~~10.0.1.7

2020-05-07 17:33:47, Info CBS
2020-05-07 17:33:47, Info CBS Summary:
2020-05-07 17:33:47, Info CBS Operation: Detect only
2020-05-07 17:33:47, Info CBS Operation result: 0x80070002
2020-05-07 17:33:47, Info CBS Last Successful Step: CBS store detection completes.
2020-05-07 17:33:47, Info CBS Total Detected Corruption: 2
2020-05-07 17:33:47, Info CBS CBS Manifest Corruption: 2
2020-05-07 17:33:47, Info CBS CBS Metadata Corruption: 0
2020-05-07 17:33:47, Info CBS CSI Manifest Corruption: 0
2020-05-07 17:33:47, Info CBS CSI Metadata Corruption: 0
2020-05-07 17:33:47, Info CBS CSI Payload Corruption: 0
2020-05-07 17:33:47, Info CBS Total Repaired Corruption: 0
2020-05-07 17:33:47, Info CBS CBS Manifest Repaired: 0
2020-05-07 17:33:47, Info CBS CSI Manifest Repaired: 0
2020-05-07 17:33:47, Info CBS CSI Payload Repaired: 0
2020-05-07 17:33:47, Info CBS CSI Store Metadata refreshed: False
2020-05-07 17:33:47, Info CBS
2020-05-07 17:33:47, Info CBS Total Operation Time: 12 seconds.
2020-05-07 17:33:47, Info CBS Ensure WCP corruption flag is clear
2020-05-07 17:33:47, Info CBS All CSI corruption was fixed, ensure CorruptionDetectedDuringAcr is clear
2020-05-07 17:33:47, Info CBS Failed to clear CorruptionDetectedDuringAcr store corrupt flag (slow mode trigger). [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2020-05-07 17:33:47, Info CBS CheckSur: hrStatus: 0x80070002 [ERROR_FILE_NOT_FOUND], download Result: 0x0 [S_OK]
2020-05-07 17:33:47, Info CBS Count of times corruption detected: 1
2020-05-07 17:33:47, Info CBS Seconds between initial corruption detections: -1
2020-05-07 17:33:47, Info CBS Seconds between corruption and repair: -1
2020-05-07 17:33:47, Info CBS Failed to run Detect and repair. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2020-05-07 17:33:47, Info CBS Exec: Processing complete, session(Corruption Detecting): 30811268_3737769618 [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2020-05-07 17:33:47, Error CBS Session: 30811268_3737769618 failed to perform store corruption detect and repair operation. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2020-05-07 17:33:47, Info CBS Session: 30811268_3737769618 finalized. Reboot required: no [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2020-05-07 17:33:47, Info CBS Failed to FinalizeEx using worker session [HRESULT = 0x80070002]

From my point of view there are problems with the KB4538461 package.

4) Try to manually register / install this package

4.1) downloaded this package from Microsoft Update Catalog

4.2) extracted the package via expand -F:* windows10.0-kb4538461-x64_42e8cfbe70644506b357941eafe667e967d4bbf2.msu C:\Temp\MS_Update\EXTRACTED

4.3) Install the package via dism /Online /Add-Package /PackagePath:"c:\temp\MS_Update\EXTRACTED\Windows10.0-KB4538461-x64_PSFX.cab

=> Error 0x8000ffff

5) Run SFCFix

=> SFXFix will bring the same error as described in point 2 - maybe it's calling the same command?
 
Hi,

after some more research i've found the following tutorial in this forum:
Windows 10 Upgrade fails with error 0x8007007e and Windows Updates fail with code 0x8

And i think i have the same problem...

Executing "dism /online /get-drivers" results in error 126 and in the dism logfile i've found the following:

2020-05-07 19:00:12, Error DISM DISM Driver Manager: PID=15188 TID=16396 Failed trying to load drvstore.dll - CDmiApi::InternalInitialize(hr:0x8007007e)
2020-05-07 19:00:12, Error DISM DISM Driver Manager: PID=15188 TID=16396 Failed to initialize the DMI API. - CDmiApi::get_DriverStore(hr:0x8007007e)
2020-05-07 19:00:12, Error DISM DISM Driver Manager: PID=15188 TID=16396 Failed to open the driver store. - CDriverManager::GetDriverPackageCollection(hr:0x8007007e)
2020-05-07 19:00:12, Error DISM DISM Driver Manager: PID=15188 TID=16396 Failed to get the out of box driver package collection from the driver store. - CDriverManager::Internal_DoListDriverPackages(hr:0x8007007e)
2020-05-07 19:00:12, Error DISM DISM Driver Manager: PID=15188 TID=16396 onecore\base\ntsetup\opktools\dism\providers\dmiprovider\dll\drivermanager.cpp:535 - CDriverManager::ExecuteCmdLine(hr:0x8007007e)
2020-05-07 19:00:12, Info DISM DISM Driver Manager: PID=15188 TID=16396 Further logs for driver related operations can be found in the target operating system at %WINDIR%\inf\setupapi.offline.log - CDriverManager::ExecuteCmdLine
2020-05-07 19:00:12, Info DISM DISM Provider Store: PID=15188 TID=16396 Found the OSServices. Waiting to finalize it until all other providers are unloaded. -


I've tried to go through the steps from the tutorial, but i'm failing on one of the last steps:

The Servicing Stack update KBs can be traced by searching in Component Detect for a key named amd64*

What is mean with "searching in component"?

My servicing stack is the following: %SystemRoot%\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.17763.1090_none_5715d73398f9ea47

Thanks
Thomas
 
Hi,

i have done more research on my system and i think my latest servicing stack Update (KB4539571) is broken.

If i run "sfc /scannow" (which doesn't work) i will find the following line in my cbs.log (complete log attached)

2020-05-09 09:52:15, Info CBS Failed to load sfp DLL from path: C:\WINDOWS\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.17763.1090_none_5715d73398f9ea47\\wrpint.dll [HRESULT = 0x8007007e - ERROR_MOD_NOT_FOUND]

If i'm looking in the servicing stack folder, I see only a few files (no wrprint.dll)

Verzeichnis von C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.17763.1090_none_5715d73398f9ea47

06.04.2020 15:03 <DIR> .
06.04.2020 15:03 <DIR> ..
11.02.2020 08:20 2.482.728 CbsCore.dll
11.02.2020 08:20 657.208 dpx.dll
15.09.2018 08:09 367.928 drupdate.dll
15.09.2018 08:09 516.408 msdelta.dll
11.02.2020 08:20 858.424 smiengine.dll
15.09.2018 08:09 36.664 smipi.dll
15.09.2018 08:09 204.800 TiWorker.exe
11.02.2020 08:20 3.747.640 wcp.dll
15.09.2018 08:09 248.120 wdscore.dll
9 Datei(en), 9.119.920 Bytes
2 Verzeichnis(se), 563.747.721.216 Bytes frei

On other windows 10 systems (with other servicing stack), there are many more files in this folder (including the wrprint.dll).

So is it possible to reinstall the servicing stack KB4539571? Manual install isn't possible (downloaded the msu file, but executing failes with an error).
Or can i extract the content of the msu File and replace the required files manualy? (with 7zip i can see cab file within the mus file and i can open the cab file... But within the cab file i see only other files (mum, cat, without extionsion) and i have no idea how to get the real files from the package)

Thanks
Thomas
 

Attachments

Hi!

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

Hi softwaremaniac,

many thanks for the fix. After executing the fix, "sfc /scannow" has worked again and then the installation for the 1903 update worked too without any problems.

Thanks a lot
Thomas
 

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

Back
Top