Windows 10: "OptionalComponentOpenPackageFailed" during Repair install using MCT

Discus and support "OptionalComponentOpenPackageFailed" during Repair install using MCT in Windows 10 Installation and Upgrade to solve the problem; Hi guys. Need your advice as I'm literally banging my head against the wall... My specs are included in the profile description + see following link... Discussion in 'Windows 10 Installation and Upgrade' started by Globox, Feb 10, 2021.

  1. Globox Win User

    "OptionalComponentOpenPackageFailed" during Repair install using MCT


    Hi guys.

    Need your advice as I'm literally banging my head against the wall...

    My specs are included in the profile description + see following link for full info (HP Notebook - 17-y042ur):
    https://support.hp.com/us-en/document/c05333465

    Windows Version number: 2004 19041.572

    Situation Description:

    At some point I needed to turn DirectPlay on, but my "Turn Windows Feature On And Off" dialog was empty.
    Plus after further investigation I found out that my Windows Updates wasn't correctly working since the last days of January (error code "0x80070570"). So something needs to be fixed...

    I found a thread with the similar problem:
    https://answers.microsoft.com/en-us/...7-8702716d54ca

    • My "Windows Modules Installer service" is running, but I still get a blank dialog.
    • "Enable-WindowsOptionalFeature -FeatureName "LegacyComponents" -All -Online" results in "Enable-WindowsOptionalFeature : %1 is not a valid Win32 application"
    • "sfc /scannow" results in "Windows Resource Protection could not start the repair service"
    • "DISM /Online /Cleanup-image /Restorehealth" results in 193 error with description from logs "Failed to load the image session from the temporary location: ..."

    Okay, seems like I need a Repair Install.
    I used "https://www.tenforums.com/tutorials/16397-repair-install-windows-10-place-upgrade.html" as a manual.
    I removed my 3-party AV, disabled Secure Boot and chose to install using Media Creation Tool.

    1. on first try I got a BSOD on 23% of installation "thread stuck in device driver". I periodically see this error, so it's not something new. I just restarted the whole process
    2. on second try I saw exactly the same error on exactly the same percents. Okay, got it. Switched my videocard to internal (M5) instead of discrete (M7)
    3. On third try I managed to get to 67%, but then saw a common error dialog "That was a problem during Windows 10 installation" (it's a translation from my language so the exact phrase in English may be a little different).
      In "setupdiagresults.xml" I see "Error: SetupDiag reports Optional Component installation failed to open OC Package.Last Phase: Pre-Finalize Last Operation: Process Drivers for MigrationPackage Name: FoundationError: 0x8007001F".
      It suggests to turn "TrustedInstaller" on. I checked - and yes, that service was disabled again. As an "msiserver" service too.
    4. On fourth try I manually enabled those two services before the final installation step (step 14 in the manual). But still got them turned off in the end with the same error.

    Those two services keep turning off even during the install preparation (when win 10 is being downloaded, for example).
    At this point I'm left with no ideas. Google isn't helping *Sad

    Any guidance is much appreciated "OptionalComponentOpenPackageFailed" during Repair install using MCT :)

    Logs included:

    1. C:\$Windows.~BT\Sources\panther\setupact.log
    2. C:\$Windows.~BT\Sources\panther\setuperr.log
    3. C:\Windows\Logs\CBS\CBS.log
    4. C:\Windows\Logs\DISM\dism.log
    5. C:\Windows\Logs\MoSetup\BlueBox.log
    6. C:\Windows\Logs\SetupDiag\setupdiagresults.xml
    7. C:\$WINDOWS.~BT\Sources\Rollback\rollbackinfo.ini

    :)
     
    Globox, Feb 10, 2021
    #1
  2. Brink Win User

    Repair Install Windows 10 with an In-place Upgrade  


    Hello bricko, "OptionalComponentOpenPackageFailed" during Repair install using MCT :)

    MCT would be for step 7 to do a repair install with. Be sure to verify that both items are checked at step 13 to make sure you will keep everything.
     
    Brink, Feb 10, 2021
    #2
  3. Nikhar_K Win User
    sfc /scannow error repair

    Hi,



    Thank you for writing to Microsoft Community Forums.



    We appreciate the efforts you have taken in trying to resolve this issue. I have analyzed the error logs that you have shared and I would suggest you follow the steps mentioned below:



    1. Type Command Prompt in the
      search bar
      on the Taskbar.
    2. Right click on the Command Prompt icon and select
      Run as administrator.
    3. Now, paste the following command and hit Enter:
      DISM.exe /Online /Cleanup-image /Restorehealth
    4. Once the DISM command is executed, we would suggest you to run sfc /scannow again.


    If the integrity violations are not repaired after running sfc scan, the best option will be performing a repair installation. A repair installation will repair all the corrupted files.



    Refer the steps mentioned below:



    Download the Windows 10 Media Creation Tool (MCT) and use it to perform a repair installation
    of Windows 10. We have a video that can show you how if you aren’t sure



    Let us know the results.



    Regards,

    Nikhar Khare

    Microsoft Community - Moderator
     
    Nikhar_K, Feb 10, 2021
    #3
  4. zbook Win User

    "OptionalComponentOpenPackageFailed" during Repair install using MCT

    Programs not working

    In post 26 there were steps listed to fix the operating system corruption.
    Are you able to follow them?
    In post 29 was the suggested dism repair command.
     
    zbook, Feb 10, 2021
    #4
Thema:

"OptionalComponentOpenPackageFailed" during Repair install using MCT

Loading...
  1. "OptionalComponentOpenPackageFailed" during Repair install using MCT - Similar Threads - OptionalComponentOpenPackageFailed during Repair

  2. Windows reset using mct stuck!!

    in Windows 10 Installation and Upgrade
    Windows reset using mct stuck!!: My windows was getting slow so I decided to reset my windows with keeping my files using media creation tool, the setup worked and installation started showing installing windows 10 and it took 3hrs to reach 68% and got stuck at 68 for an hour but it went to 72% and got stuck...
  3. Windows reset using mct stuck!!

    in Windows 10 Gaming
    Windows reset using mct stuck!!: My windows was getting slow so I decided to reset my windows with keeping my files using media creation tool, the setup worked and installation started showing installing windows 10 and it took 3hrs to reach 68% and got stuck at 68 for an hour but it went to 72% and got stuck...
  4. any prompts during repair-install?

    in Windows 10 Installation and Upgrade
    any prompts during repair-install?: Or after clicking the Install Now button can I leave it run by itself and come back later after it's finished? Is there a decent progress indicator? 2004. Thanks. 177999
  5. "OptionalComponentOpenPackageFailed" during Repair install using Media Creation Tool

    in Windows 10 Installation and Upgrade
    "OptionalComponentOpenPackageFailed" during Repair install using Media Creation Tool: Hi guys. My specs: https://support.hp.com/us-en/document/c05333465 Windows Version number: 2004 19041.572 Situation Description: At some point I needed to turn DirectPlay on, but my "Turn Windows Feature On And Off" dialog was empty. Plus after further investigation I...
  6. MCT Key for new installation?

    in Windows 10 Installation and Upgrade
    MCT Key for new installation?: Good morning, I would like to set up my girlfriend's PC anew and would like to use the microsoft creation tool to make my usb-stick bootable Now the question if I can install windows 10 on the stick is there a license key included? I don't have a cd or anything else and...
  7. Is it possible to use MCT 1803 ?

    in Windows 10 Ask Insider
    Is it possible to use MCT 1803 ?: I have a Media Creation Tool 1803 but I can't run it because it's too old. Is it possible to use it to create a 1803 64-bit Windows 10 ISO ? I really need this version and not any newer. submitted by /u/magiCAHIK [link] [comments]...
  8. 1909 update install fails, even using MCT

    in Windows 10 Installation and Upgrade
    1909 update install fails, even using MCT: Hello. I tried everything and I have no clue how to update W10 to 1909 version. Update from OS doesn't work. From MCT too instalation gets to 100% and fails. I have 160 GB SSD free. I was trying by now: update troubleshooting utility find nothing, uninstalling antivirus +...
  9. mct and clean install

    in Windows 10 Installation and Upgrade
    mct and clean install: On Dec 12 I used the Media Creation Tool and downloaded the file and did a clean install. It was the RTM 10240? So I set up to be on the Fast Ring no real problem. This morning Dec 14 it downloaded and installed TR2 and it was 10586. The files in file manager did not seem...
  10. Updating to version 1511 after Clean Installation using MCT?

    in Windows 10 Installation and Upgrade
    Updating to version 1511 after Clean Installation using MCT?: For those people who CLEAN installed Win 10 using the Media Creation Tool, will it automatically update to Threshold-2 (version 1511 Build 10586.36) through Windows Update once installation had been completed? Or does that have to downloaded separately? And what is the...