[SOLVED] Windows 10 Upgrade fails with error 0x8007007e and Windows Updates fail

Riku

Member
Joined
Jul 27, 2018
Posts
8
Hello

It seems that I have this exact problem. I have Win10 home version x64 1703, 15063.726, Finnish language. No updates are working. sfc /scannow does not work, says could not start the repair service. The dism command mentioned above gives as mentioned "the error Code 126, and the DISM log will indicate error code 0x8007007e, module not found when trying to load drvstore.dll."

Servicing gives version 10.0.15063.724. When tracing that given key, it points me to
Package_58_for_KB4049011~31bf3856ad364e35~amd64~~10.0.1.2.4049011-88_neutral 10.0.15063.724@2
Package_58_for_KB4022405~31bf3856ad364e35~amd64~~10.0.1.2.4022405-90_neutral 10.0.15063.410@2

However when I download the KB4049011 or KB4022405 (Microsoft Update Catalog) and run them it says that update is not for my computer. Is there any advice what I should do then?

Thanks in advance, there seems to be lots of info in the forum.
 
Re: Windows 10 Upgrade fails with error 0x8007007e and Windows Updates fail with code

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.

Download SFCFix.zip from Sendspace.com - send big files the easy way
 
Re: Windows 10 Upgrade fails with error 0x8007007e and Windows Updates fail with code

Thanks for reply. For some reason doing that gives application error saying the application could not be started right (0xc0150004). Starting SFCFix.exe by itself gives the same error.
 
Re: Windows 10 Upgrade fails with error 0x8007007e and Windows Updates fail with code

Capture Process Monitor Trace
  1. Download and run Process Monitor. Leave this running while you perform the next steps.
  2. Attempt to run SFCFix.
  3. Stop Process Monitor as soon as the error message appears. You can simply do this by clicking the magnifying glass on the toolbar.
  4. Select the File menu...Save... and save the file to your desktop. This is likely the default location. The name (unless changed) will be LogFile.PML. This is fine.
  5. Zip up and attach the LogFile.PML file.
 
Let's try reinstalling the package.

Install Update with DISM

  1. Download the update MSU here: http://download.windowsupdate.com/d..._a58e4c340939a7b23b86055a18abdc9c59308094.msu
  2. Copy the MSU file to a convenient location (such as C:\temp).
  3. Click on the Start
    Start%20Orb.jpg
    button and in the search box, type Command Prompt
  4. When you see Command Prompt on the list, right-click on it and select Run as administrator
  5. When command prompt opens, copy and paste the following commands into it, press enter after each

    cd C:\temp

    replace C:\temp with your path if different

    expand windows10.0-kb4049011-x64_a58e4c340939a7b23b86055a18abdc9c59308094.msu -f:* C:\temp

    DISM.exe /Online /Add-Package /PackagePath:C:\temp\windows10.0-kb4049011-x64.cab

  6. You should receive the message:
    The operation completed successfully.
    Restart Windows to complete this operation.
    Do you want to restart the computer now (Y/N)?

  7. Make sure to allow the computer to restart if prompted.

    If you receive any other message:
  8. Right-click on the Command Prompt window and click Select All, this will invert all of the colours by selecting the text, now press enter. All of this text is now copied.
  9. Paste (Ctrl+V) it into your next post.
  10. Zip and attach C:\Windows\Logs\CBS\CBS.log
 
Seems to fail. Find attached dism and cbs logs.

Code:
Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. Kaikki oikeudet pidätetään.


C:\WINDOWS\system32>cd..


C:\Windows>cd..


C:\>cd Temp


C:\Temp>dir
 Volume in drive C is OS
 Volume Serial Number is 601D-AE7E


 Directory of C:\Temp


02.08.2018  16.38    <DIR>          .
02.08.2018  16.38    <DIR>          ..
02.08.2018  16.37        12 329 576 windows10.0-kb4049011-x64_a58e4c340939a7b23b86055a18abdc9c59308094.msu
               1 File(s)     12 329 576 bytes
               2 Dir(s)  270 760 009 728 bytes free


C:\Temp>expand windows10.0-kb4049011-x64_a58e4c340939a7b23b86055a18abdc9c59308094.msu -f:* C:\Temp
Microsoft (R) File Expansion Utility
Copyright (c) Microsoft Corporation. All rights reserved.


Adding C:\Temp\WSUSSCAN.cab to Extraction Queue
Adding C:\Temp\Windows10.0-KB4049011-x64.cab to Extraction Queue
Adding C:\Temp\Windows10.0-KB4049011-x64-pkgProperties.txt to Extraction Queue
Adding C:\Temp\Windows10.0-KB4049011-x64.xml to Extraction Queue


Expanding Files ....


Expanding Files Complete ...
4 files total.


C:\Temp>DISM.exe /Online /Add-Package /PackagePath:C:\temp\windows10.0-kb4049011-x64.cab


Deployment Image Servicing and Management tool
Version: 10.0.15063.0


Image Version: 10.0.15063.0


Processing 1 of 1 - Adding package Package_for_KB4049011~31bf3856ad364e35~amd64~~10.0.1.2
[==========================100.0%==========================]
An error occurred - Package_for_KB4049011 Error: 0x8000ffff


Error: 0x8000ffff


DISM failed. No operation was performed.
For more information, review the log file.


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

Attachments

Follow the instructions below for both

C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.15063.724_none_9e8a868b2d8a538d
C:\Windows\WinSxS\x86_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.15063.724_none_426beb07752ce257

Modify File/Folder Permissions

  1. Navigate to the folder, right-click on it and select Properties
  2. Under the Security tab, click Advanced.
  3. Under the Owner tab, click Edit.
  4. Click "Other Users and Groups".
  5. Click Advanced.
  6. Click "Find Now".
  7. Scroll down and double click on Everyone.
  8. Click OK THREE times.
  9. Click on the Permissions tab.
  10. Under type Deny, single click on any entries and click Remove. (N.B.: There may not be any Deny entries, in which case just ignore this step. Just remove any that do exist)
  11. Click OK.
  12. Click Edit (now on the standard file Property window under the Security tab).
  13. Click Add.
  14. Click Advanced.
  15. Click "Find Now".
  16. Scroll down and double click on Everyone.
  17. Click OK.
  18. Single click on Everyone and then tick the "Full Control" box under Allow.
  19. Click OK TWO times.

Next, extract all files from the SFCFix.zip to a convenient location. Inside will be a directory, WinSxS. Within this directory will be two folders with names matching those above.
Copy all files from within the matching folder from SFCFix.zip into the folder in WinSxS.

Example, copy the files from C:\YourPath\SFCFix\WinSxS\x86_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.15063.724_none_426beb07752ce257\ to C:\Windows\WinSxS\x86_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.15063.724_none_426beb07752ce257\
 
OK, files are copied, actually

C:\Windows\WinSxS\x86_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.15063.724_none_426beb07752ce257

folder did not exist at all. I modified the Everyone full rights for the C:\Windows\WinSxS folder and was able to copy the above mentioned folder from the zip to the C:\Windows\WinSxS.

What should I try next?
 
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
    w8start.png
    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

    Wait for this to finish before you continue

    copy %windir%\logs\cbs\cbs.log %userprofile%\Desktop\cbs.txt

  3. This will create a file, cbs.txt on your Desktop. Please zip and attach this to your next post.

If the zip file is larger than 8MB, please use a file sharing service such as OneDrive, DropBox, SendSpace, etc. and include the link with your reply.
 
Please try the following:

Command Prompt

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. Click on the Start
    Start%20Orb.jpg
    button and in the search box, type Command Prompt
  2. When you see Command Prompt on the list, right-click on it and select Run as administrator
  3. When command prompt opens, copy and paste the following commands into it, press enter after each

    Dism /online /Get-Drivers

  4. Right-click on the Command Prompt window and click Select All, this will invert all of the colours by selecting the text, now press enter. All of this text is now copied.
  5. Paste (Ctrl+V) it into your next post, then zip and attach C:\Windows\Logs\DISM\DISM.log please.
 
Code:
C:\WINDOWS\system32>Dism /online /Get-Drivers


Deployment Image Servicing and Management tool
Version: 10.0.15063.0


Image Version: 10.0.15063.0


Obtaining list of 3rd party drivers from the driver store...


Driver packages listing:


Published Name : oem0.inf
Original File Name : hdxama3.inf
Inbox : No
Class Name : MEDIA
Provider Name : Realtek Semiconductor Corp.
Date : 18.8.2015
Version : 6.0.1.7586


Published Name : oem10.inf
Original File Name : c0313676.inf
Inbox : No
Class Name : Display
Provider Name : Advanced Micro Devices, Inc.
Date : 24.4.2017
Version : 22.19.162.4


Published Name : oem11.inf
Original File Name : prnms006.inf
Inbox : No
Class Name : Printer
Provider Name : Microsoft
Date : 29.11.2016
Version : 16.0.7629.4000


Published Name : oem13.inf
Original File Name : asradiocontrol.inf
Inbox : No
Class Name : System
Provider Name : ASUS
Date : 2.5.2017
Version : 1.0.0.7


Published Name : oem2.inf
Original File Name : asgcoinstaller.inf
Inbox : No
Class Name : Mouse
Provider Name : ASUS
Date : 10.11.2015
Version : 10.0.0.10


Published Name : oem3.inf
Original File Name : smbusamd.inf
Inbox : No
Class Name : System
Provider Name : Advanced Micro Devices, Inc
Date : 18.1.2015
Version : 5.12.0.31


Published Name : oem4.inf
Original File Name : qca_btusb.inf
Inbox : No
Class Name : Bluetooth
Provider Name : Qualcomm Atheros Communications
Date : 27.7.2015
Version : 10.0.1.2


Published Name : oem5.inf
Original File Name : us00a.inf
Inbox : No
Class Name : Printer
Provider Name : Samsung
Date : 31.5.2016
Version : 3.0.10.0


Published Name : oem6.inf
Original File Name : prnms009.inf
Inbox : No
Class Name : Printer
Provider Name : Microsoft
Date : 21.6.2006
Version : 10.0.15063.0


Published Name : oem7.inf
Original File Name : prnms001.inf
Inbox : No
Class Name : Printer
Provider Name : Microsoft
Date : 21.6.2006
Version : 10.0.15063.0


Published Name : oem8.inf
Original File Name : c0296490.inf
Inbox : No
Class Name : Display
Provider Name : Advanced Micro Devices, Inc.
Date : 6.8.2015
Version : 15.201.1101.0


Published Name : oem9.inf
Original File Name : prnms006.inf
Inbox : No
Class Name : Printer
Provider Name : Microsoft
Date : 29.4.2013
Version : 16.0.1626.4000


The operation completed successfully.
 

Attachments

Great :)

Go ahead and create Windows Windows 10 1803 installation media if you haven't already, then try the upgrade again.
Download Windows 10
If it fails, zip and attach C:\$Windows.~bt\Sources\Panther\SetupAct.log and SetupErr.log
 
I was able to update to 1803 through media creation tool by selecting update this computer option. This is really great. Thank you so much for help!
 
Awesome! Glad to hear it worked :thumbsup2:

I'll mark the thread solved. Please post back if you encounter any problems and I will continue to assist you.
 

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

Back
Top