Share via

Update Windows 10 Error: "Failed in SAFE_OS phase with an error during REPLICATE_OC operation

Anonymous
2021-05-27T22:15:09+00:00

I have

Windows 10 Enterprise

Version: 1909

OS Build: 18363.720

System Type: x64

I attempted several times this past year to update to the latest version, all times met with an error.

I attempted to update the PC again yesterday and today, this time using the Windows 10 ISO file mounted onto the computer. I downloaded the May 2021 21H1 business editions from MSDN (English, US, x64).

I consistently receive this error:

We couldn't install Windows 10

0x8007001F - 0x20006

The installation failed in the SAFE_OS phase with an error during REPLICATE_OC operation.

I did a Google search and found this article. I followed the two recommendations (using ren in the 1st answer that Vijay A. Verma wrote and disconnecting from the internet before the update using the ISO) and both failed.

Thoughts?

Windows for home | Windows 10 | Windows update

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

6 answers

Sort by: Most helpful
  1. Anonymous
    2021-05-28T00:30:43+00:00

    Hello Sarah, how are you?

    Welcome to the Microsoft Community!

    My name is Paloma B., I'm an independent advisor, I'm here to help you in the best possible way.

    I understand that you had trouble updating Windows, I'm sorry to hear about this issue.

    Please perform the procedures below and check if the problem persists.

    1. Press Windows + R, type Notepad and click OK;
    2. Copy and paste the commands below into this new notebook:

    SC config trustedinstaller start=auto

    net stop bits

    net stop wuauserv

    net stop msiserver

    net stop cryptsvc

    Ren %Systemroot%\SoftwareDistribution SoftwareDistribution.old

    Ren %Systemroot%\System32\catroot2 catroot2.old

    dism /Online /Cleanup-image /ScanHealth

    dism /Online /Cleanup-image /CheckHealth

    dism /Online /Cleanup-image /RestoreHealth

    dism /Online /Cleanup-image /StartComponentCleanup

    Sfc /ScanNow

    1. Click the File tab> Save as> Select the desktop;
    2. Define the name as Wufix.bat and in the field below under Type select all files;
    3. Click save;
    4. Right-click on the Wufix file and click Run as administrator;
    5. Wait until the end of the procedure on the black screen;
    6. Restart the PC and see if the error persists.

    If the problem still persists, please try to update using the Microsoft tool.

    Please download it through the link below, when you start it, check to keep your files and programs and check if there are errors in the update.

    https://go.microsoft.com/fwlink/?LinkID=799445

    I await news.

    If these procedures helped you in any way, please click on "I solved my problem" and also mark as an answer, so you can help others users.

    We will always be available for whatever you need!

    4 people found this answer helpful.
    0 comments No comments
  2. Sumit 43,546 Reputation points Volunteer Moderator
    2021-05-29T02:47:49+00:00

    Thanks Sarah, I looked at the logs and see optional components failed, leading to the update failure.

    2021-05-27 14:26:38, Warning [0x08091a] MIG OC::COCCbsAdapter::OpenCbsPackage: ICbsSession::OpenPackage failed. hr = 0x800f0900

    2021-05-27 14:26:38, Error MIG OC Exception: OC::COCCbsAdapter::InitOnline: Failed to find the Foundation Package name

    2021-05-27 14:26:38, Error SP Could not save OC status. Error: 0x8007001F

    2021-05-27 14:26:38, Error SP Operation failed: Gather Optional Component status. Error: 0x8007001F[gle=0x000000b7]

    2021-05-27 14:26:38, Info SP Operation can retry, we'll attempt to revert its execution.

    We usually have limited success in these cases because the install is too much damaged and beyond repair. In that case, a Reset is required.

    What you need to do is, turn off all the optional components aka Windows features, and try again manually.

    https://www.tenforums.com/tutorials/7247-turn-windows-features-off-windows-10-a.html

    If the optional features window is blank, let us know.

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-05-28T22:06:39+00:00

    Thank you for the quick response.

    Both suggestions failed, same problem.

    As to the log, please see the link on my first reply.

    I did have some corruption, which the batch file fixed, but that was not the cause of the problem.

    Sarah

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2021-05-28T18:08:24+00:00

    Here is the link to the shared logs.

    Sarah

    1 person found this answer helpful.
    0 comments No comments
  5. Sumit 43,546 Reputation points Volunteer Moderator
    2021-05-28T06:51:16+00:00

    Hi Sarah,

    Looks like a feature update is failing to install.

    Let us check the Installation log to find why the update failed. Please share the logs as mentioned in this article. You should use a File sharing service like Onedrive or Media Fire to upload files and share the link in the next reply.

    https://answers.microsoft.com/en-us/windows/forum/all/troubleshoot-feature-update-install-failures/eaf4ff24-64d6-4c72-824c-3ba3df716fc3

    The Panther logs. Files named Setupact.log and Setuperr.log from the following path C:$Windows.~BT\Sources\Panther

    The Rollback logs: These usually are created if Windows Update rolls back. Files named Setupact.log and Setuperr.log from the following path C:$Windows.~BT\Sources\Rollback

    [Only if the error code is 0xC1900101-0x30018] The Device Install Log from C:/$Windows.~bt\Sources\Rollback\setupapi\setupapi.dev.log

    1 person found this answer helpful.
    0 comments No comments