Windows 10 Update keeps failing 0x8007001F - 0x20006

Page 1 of 5 123 ... LastLast

  1. Posts : 18
    Windows 10 Pro 64 bit
       #1

    Windows 10 Update keeps failing 0x8007001F - 0x20006


    I would not be posting here, if it weren't because I've tried everything I can think of. I know that there is similar threads, but I have tried the suggested solutions in nearly all of them, so I am making a new one, in the hopes that someone can give med a clue on whats causing this.


    What I am trying to do
    I am trying to update windows 10 to 1709 (the Fall Creators Update) and now, 1803 (Windows 10 April 2018 Update)


    System information
    I am currently on Windows 10 Pro 64bit Version 1607 (operating system build 14393.1593) desktop pc

    CPU: Intel Core i7-4790K Devils Canyon (4th Generation Intel® Core™ i7 Processors)
    Motherboard: ASUS Z97-PRO GAMER
    GPU: NVIDIA EVGA 1080 SC
    SSD for C: drive, HDD for ekstra drive.


    The installation error
    I'm getting the following error message: "the installation has failed during SAFE_OS with error in operation REPLICATE_OC"
    With the error code: "0x8007001F - 0x20006". Screenshot:
    Windows 10 Update keeps failing 0x8007001F - 0x20006-0x8007001f-0x20006-error.jpg

    Furthermore I found a useful tool from Microsoft called SetupDiag which concludes this is the issue:

    Code:
    Error: SetupDiag reports Optional Component installation failed to open OC Package. Package Name: Foundation, Error: 0x8007001F
    Recommend you check the "Windows Modules Installer" service (Trusted Installer) is started on the system and set to automatic start, reboot and try the update again.  Optionally, you can check the status of optional components on the system (search for Windows Features), uninstall any unneeded optional components, reboot and try the update again.
    Full log: SetupDiagResults.log - Pastebin.com
    Interestingly I sometimes get this SetupDiagResults.log instead with the extend code 0x50015: SetupDiagResults.log - Pastebin.com

    For the record I have tried to "set Windows Modules Installer" service (Trusted Installer) to automatic start, reboot and tried the update again" multiple times.



    The logs
    C:\Windows\Logs\CBS\CBS.log for today: CBS.log - Pastebin.com

    C:\$WINDOWS.~BT\Sources\Rollback\setuperr.log C:$WINDOWS.~BTSourcesRollbacksetuperr.log - Pastebin.com

    C:\$WINDOWS.~BT\Sources\Rollback\setupact.log C:$WINDOWS.~BTSourcesRollbacksetupact.log - Pastebin.com

    The logs SetupDiag collected as a zip file: https://file.io/LeHFnE

    Recent windows updates: Windows update recent log - Pastebin.com



    What I have tried so far
    I have tried the following ways to update for the past 5-8 months:
    • Downloaded media creation tool and tried to upgrade with it
    • Created a .iso file, mounted it and tried to update with it
    • Created a USB installer with the media creation tool and tried to update with it
    • Tried updating with windows update (built in)
    • Tried updating with windows update assistent which got installed automatically (by windows update?)
    • Tried updating by downloading and installing windows update assistent manually
    • Tried many different combinations of choosing to install updates and not

    Windows fails every time with the before mentioned error.


    I have also tried "repairing my system" in multiple ways:
    • Reinstall built in windows 10 apps using powershell:
      Code:
      PS C:\WINDOWS\system32> Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

    Full log: Powershell reinstall built in apps - Pastebin.com


    Furthermore i did steps to minimize risk of failure:
    • Removed all unnecessary hardware (except mouse and keyboard)
    • Uninstalled my Anti Virus
    • Updated my network drivers, graphic drivers, audio drivers
    • Disconnected from the internet while updating


    So to my questions now:
    Question 1)
    What exactly is SetupDiag suggesting here?

    Code:
    Optionally, you can check the status of optional components on the system (search for Windows Features), uninstall any unneeded optional components, reboot and try the update again.

    Question 2)
    If you are a talented technican, can you tell me anything helpful on what is causing the update to fail from looking at the logs?


    Please don't suggest a clean install, as I already know this is a option, but in my case, almost impossible to do.
      My Computer


  2. Posts : 30,999
    Windows 11 Pro x64 Version 23H2
       #2

    Hi Ten4TheWin. Welcome to the TenForums @Ten4TheWin

    Could you please confirm what version of windows you are using. The Windows update log says 1607 and then one with 1803.

    Windows Key + R, type winver, enter

    This link is dead.

    Windows 10 Update keeps failing 0x8007001F - 0x20006-image.png

    Do you have a iso for your current version? (1609, 1703, 1709)

    It maybe necessary to run sfc /scannow three times to repair errors.

    I assume the Features they are mentioning are

    Click Start > type Control Panel, enter, Programs, Under the Heading Programs and Features....


    Windows 10 Update keeps failing 0x8007001F - 0x20006-image.png


    Ken
      My Computer


  3. Posts : 42,675
    windows 10 professional version 1607 build 14393.969 64 bit
       #3

    Perform the following steps:

    1) Open administrative command prompt and copy and paste:
    2) sfc /scannow
    3) dism /online /cleanup-image /restorehealth
    4) When these have completed > right click on the top bar or title bar of the administrative command prompt box > left click on edit then select all > right click on the top bar again > left click on edit then copy > paste into the thread

    5) chkdsk /r /v
    This may take many hours so plan to run overnight.


    C:\WINDOWS\system32>chkdsk /r /v
    The type of the file system is NTFS.
    Cannot lock current drive.
    Chkdsk cannot run because the volume is in use by another
    process. Would you like to schedule this volume to be
    checked the next time the system restarts? (Y/N)

    Type: Y
    reboot

    6) Use the txt and images in this thread to find the chkdsk report in the event viewer > copy and paste > notepad > post a share link into the thread using one drive, drop box or google drive

    7) Make sure that the default language is in English so that the logs can be scanned and read:

    Add, Remove, and Change Display Language in Windows 10 | Windows 10 Tutorials

    8) Run the BETA log collector and post a zip into this thread:
    BSOD - Posting Instructions - Windows 10 Forums
    (extract > open)

    9) Open disk management > widen two columns: Status and Volume > make sure that the characters in each row are in full view and than none of the letters are cut off > post an image into the thread
    Disk Management - How to Post a Screenshot of | Windows 10 Tutorials

    10) Indicate all antivirus and firewall software that was in use at any time since the last successful upgrade

    11) Uninstall any non-Microsoft drive encryption software

    12) List the number of user accounts on the computer

    13) If the computer has Ccleaner > click windows tab > scroll down to system and advanced > post an image into the thread

    14) In the left lower corner search type: system or system control > open system control panel > on the left pane click advanced system settings
    a) > on the advanced tab under startup and recovery > click settings > post an image of the startup and recovery into the thread.
    b) > on the advanced tab under performance > click on settings > under performance options > click on the advanced tab > under virtual memory > click on change > post an image of the virtual memory tab into the thread

    15) This link displayed error 404:
    The logs SetupDiag collected as a zip file:
    https://file.io/LeHFnE

    When posting share links into the thread please use:
    one drive
    drop box
    google drive


    Code:
    [Failed][Windows 10 Pro][14393][1][5][0x8007001f][0x20006][17134]
    2018-09-26 14:26:52, Info                  MOUPG  Finalize: Remapping install error [0x8007001F] -> [0xC1900108] for telemetry
    SetupDiag reports down-level failure, Operation: Finalize, Error: 0x8007001F - 0x50015
    0XC1900108  MOSETUP_E_REPORTING  An error has occured and the result value must be consolidated for telemetry purposes.
    Code:
    2018-09-26 11:52:24, Info                  CSI    0000787d Hashes for file member \SystemRoot\WinSxS\amd64_netfx4-system.servicemodel.discovery_b03f5f7f11d50a3a_4.0.14305.0_none_81c5d7ac807e1038\System.ServiceModel.Discovery.dll do not match actual file [l:33]'System.ServiceModel.Discovery.dll' :
      Found: {l:20 Dt0D+RMkhE6P4fCizs3dT8nySVU=} Expected: {l:20 oiOmZQgUJHVsVCDtz0uZJU2BetA=}
      Found: {l:32 nB6ZD+E9M9uZbe5VKAH970Om8xPnulHCMMu4YppRrSw=} Expected: {l:32 eilJsXyIWbxj3/GeQ2NXp1pAQYc9wwkWtoBYW1r617Q=}
    2018-09-26 11:52:24, Info                  CSI    0000787e [SR] Cannot repair member file [l:33]'System.ServiceModel.Discovery.dll' of NetFx4-System.ServiceModel.Discovery, version 4.0.14305.0, arch amd64, versionScope neutral, pkt {l:8 b:b03f5f7f11d50a3a} in the store, hash mismatch
    2018-09-26 11:52:24, Info                  CSI    0000787f Hashes for file member \SystemRoot\WinSxS\msil_system.security_b03f5f7f11d50a3a_4.0.14305.0_none_4c06f83ec27fc6ff\System.Security.dll do not match actual file [l:19]'System.Security.dll' :
      Found: {l:20 eG1wRtQs9yBQWJZMkVjyR00l290=} Expected: {l:20 zhNIie8jkCF4I16nUqDbNOAJm68=}
      Found: {l:32 9iIU2zUGROp0kAWwqUUds3/Gan1vOAA7Q5IbgIkpAI8=} Expected: {l:32 +7zVjPqNfKCcnzkNNLu9btDFEWSZQQs5YxIW5x04mmc=}
    2018-09-26 11:52:24, Info                  CSI    00007880 [SR] Cannot repair member file [l:19]'System.Security.dll' of System.Security, version 4.0.14305.0, arch msil, versionScope neutral, pkt {l:8 b:b03f5f7f11d50a3a} in the store, hash mismatch
      My Computer


  4. Posts : 18
    Windows 10 Pro 64 bit
    Thread Starter
       #4

    Caledon Ken said:
    Hi Ten4TheWin. Welcome to the TenForums
    Thank you very much! These forums has helped me a lot in the past.

    Caledon Ken said:
    This link is dead.
    Apologizes about that, here's a new link: Dropbox - Logs.zip

    Caledon Ken said:
    It maybe necessary to run sfc /scannow three times to repair errors.
    I have probably run sfc /scannow about 9 times or more.

    Caledon Ken said:
    Could you please confirm what version of windows you are using
    According to winver it is 1607

    Caledon Ken said:
    I assume the Features they are mentioning are
    Ah that is interesting. I tried to check, I can't turn anything off, the list is empty.

    Caledon Ken said:
    Do you have a iso for your current version? (1609, 1703, 1709)
    I highly doubt it, I tried to check the version of the iso by mounting it and running this command:
    Code:
    C:\WINDOWS\system32>dism /Get-WimInfo /WimFile:E:\sources\boot.wim /index:1
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.0
    
    Details for image : E:\sources\boot.wim
    
    Index : 1
    Name : Microsoft Windows PE (x64)
    Description : Microsoft Windows PE (x64)
    Size : 1.520.562.953 bytes
    WIM Bootable : No
    Architecture : x64
    Hal : <undefined>
    Version : 10.0.16299
    ServicePack Build : 15
    ServicePack Level : 0
    Edition : WindowsPE
    Installation : WindowsPE
    ProductType : WinNT
    ProductSuite :
    System Root : WINDOWS
    Directories : 3520
    Files : 15941
    Created : 30-09-2017 - 14:37:40
    Modified : 20-04-2018 - 22:55:33
    Languages :
            da-DK (Default)
    
    The operation completed successfully.
    
    C:\WINDOWS\system32>
    zbook said:
    Perform the following steps:
    Thank you, I will try these and update as I complete them.

    zbook said:
    4)
    Code:
    Microsoft Windows [Version 10.0.14393]
    (c) 2016 Microsoft Corporation. Alle rettigheder forbeholdes.
    
    C:\WINDOWS\system32>sfc /scannow
    
    Beginning system scan.  This process will take some time.
    
    Beginning verification phase of system scan.
    Verification 100% complete.
    
    Windows Resource Protection found corrupt files but was unable to fix some
    of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For
    example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not
    supported in offline servicing scenarios.
    
    C:\WINDOWS\system32>dism /online /cleanup-image /restorehealth
    
    Deployment Image Servicing and Management tool
    Version: 10.0.14393.0
    
    Image Version: 10.0.14393.0
    
    [==========================100.0%==========================] The restore operation completed successfully.
    The operation completed successfully.
    
    C:\WINDOWS\system32>
    zbook said:
    10)
    I have had Norton in the past, and had Kaspersky Internet Security for the past year or so

    zbook said:
    11)
    No encryption used.

    zbook said:
    12)
    Only 1 microsoft live account.

    zbook said:
    13)
    https://i.imgur.com/OyszkTI.png
      My Computer


  5. Posts : 30,999
    Windows 11 Pro x64 Version 23H2
       #5

    1607..... Wow this has been going on for some time. Was hoping for full build number.

    What I would propose is to first get this installation running and for that we need an 1607 ISO to run an inplace repair.

    You should be able to V1607 here.

    https://www.heidoc.net/joomla/techno...-download-tool

    Think they were doing a little coin mining on site, I just answered no.

    Once you have 1607 ISO then you want to follow this tutorial.

    Repair Install Windows 10 with an In-place Upgrade

    Would still like to get full build number.

    You could also use this ISO to run DISM

    Use DISM to Repair Windows 10 Image

    using the external source (Step 6 in most options)
      My Computer


  6. Posts : 1,773
    Windows 10 Home
       #6

    "Could you please confirm what version of windows you are using
    According to winver it is 1607"

    I went thru a lot of what you have, with a PC I was trying to upgrade from 1607 to anything beyond. We tried for 4-5 months. Your best option, imho, is what finally worked after wasting hrs and hrs. Go here - https://www.microsoft.com/en-us/soft...oad/windows10/
    Choose 'Download tool now'.

    Then expand 1st option on link page (Using the tool to upgrade this PC to Windows 10) and read Step 5 -
    "When Windows 10 is ready to install, you’ll see a recap of what you’ve chosen, and what will be kept through the upgrade. Select Change what to keep to set whether you would like to Keep personal files and apps, or Keep personal files only, or choose to keep Nothing during the upgrade".

    Make sure you're connected to internet, run downloaded MCT and elect option above (if your data files are backed up, you could even select Nothing and do even cleaner installation). At the end, not only was 1803 (3 generations later) installed but also updated to latest Build by selecting 'Install upgrades' now option.

    Total time, maybe 1.5 hrs, success first try. Yes, you have to re-install your programs (make sure you have install files) but weight that vs time you've already spent trying to debug this. Good Luck.
      My Computer


  7. Posts : 30,999
    Windows 11 Pro x64 Version 23H2
       #7

    Your ISO appears to be 1607 build 14393.

    I would run setup from this disk to do repair.

    Then try sfc and see if it runs clean.

    Then I would try DISM from external source. You need to use 1607 ISO.

    As mrgeek says.... you may end up with a re-install of some sorts, this installation has been broken a long time.
      My Computer


  8. Posts : 18
    Windows 10 Pro 64 bit
    Thread Starter
       #8

    zbook said:
    6) chkdsk report in the event viewer
    Here's the xml file: Dropbox - Chkdsk event viewer xml - Wininit.xml
    Also on: Chkdsk event viewer - Wininit - Pastebin.com [XML] Chkdsk event viewer xml - Wininit - Pastebin.com

    zbook said:
    8) the BETA log collector
    CENSORED-PC-Wed_09_26_2018_204832_03.zip

    zbook said:
    9) Open disk management
    Windows 10 Update keeps failing 0x8007001F - 0x20006-mmc_2018-09-26_20-52-02.png

    zbook said:
    9) 14) advanced system settings
    Windows 10 Update keeps failing 0x8007001F - 0x20006-systempropertiesadvanced_2018-09-26_20-53-48.pngWindows 10 Update keeps failing 0x8007001F - 0x20006-systempropertiesadvanced_2018-09-26_20-54-29.png
      My Computer


  9. Posts : 18
    Windows 10 Pro 64 bit
    Thread Starter
       #9

    Caledon Ken said:
    Would still like to get full build number.
    Thanks, I'll try to repair using that ISO.
    Apologizes about the confusion, I believe my pc build number is OS Build 14393.1593.
      My Computer


  10. Posts : 30,999
    Windows 11 Pro x64 Version 23H2
       #10

    Thanks. So even regular updates broke. The last time you took a cumulative update was the one released for August 8, 2017.

    You can try setup from the ISO (1607 iso) or do the repair of the DISM with external source. Must be of same version, that is 1607.

    Now that you have build number for reference hopefully you will see regular patches once repair done. Here is history chart.

    https://support.microsoft.com/en-us/help/4000825
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:00.
Find Us




Windows 10 Forums