Fix SAFE_OS phase error during Replicate_OC operation error

Users have been reporting on the Internet that whenever they try to upgrade Windows 7 or Windows 8.1 to Windows 10, they get an error that says, SAFE_OS phase error during Replicate_OC operation. 

Although the error code could vary, the error message would be:

0xC1900101 – 0x20017, The installation failed in the SAFE_OS phase error during Replicate_OC operation.

Let us just dive into the solutions now.

SAFE_OS phase error during Replicate_OC

SAFE_OS phase error during Replicate_OC operation

As always, I would recommend creating a System Restore Point just in case you can rollback to current state if something goes wrong.

1] By changing the Windows 10 installation

One of the main causes of this error is the KB3064209Windows Update. This update is responsible for updating the CPU Microcode for processors made by Intel. So, if you do not use Intel processors, you need not try this fix.

Let us first make this clear that in this solution, C:\ partition is referred to as the OS Partition, H:\ partition is referred to as the USB Pen Drive.

Start by downloading the Windows 10 ISO from the Windows 10 Media Creation Tool and copying its contents to your Pen Drive H:\.

Now, press WINKEY + X button combo or right-click on the Start button and click on Command Prompt (Admin) or just search for cmd in the Cortana search box, right click on the Command Prompt icon and click on Run as Administrator. Click on Yes for the UAC or User Account Control prompt that you get. Then, the Command Prompt window will finally be open.

Now, type in the following command,

dism /Mount-Image /ImageFile:H:\sources\boot.wim /index:1 /MountDir:C:\Users\User\Desktop\mount

Next, navigate to the following path using the Windows File Explorer:

C:\Users\User\Desktop\mount\Windows\System32\mcupdate_GenuineIntel.dll

Right-click on the file named as mcupdate_GenuineIntel.dll and then click on Properties.

Navigate to the tab labeled as Security and then click on Advanced. Change the Owner to your User Account and click on OK.

Now, in the Security Tab, click on Edit button after selecting your User Account and check on Full Control so that your User Account has all the privileges.

Click on Apply and then click on OK.

Now delete the file we earlier saw named mcupdate_Genuine.dll.

Close all the instances of the Windows File Explorer.

Now, go back to the Command Prompt window and unmount the image we mounted before by entering the following command,

dism /Unmount-Image /MountDir:C:\Users\User\Desktop\mount /commit

Now repeat the steps from mounting until here for the following files:

    • boot.wim /index:2
    • install.wim /index:1
    • install.wim /index:2

Then delete the mount folder, remove the USB Pen Drive and boot with the Installer.

2] Perform a Disk Cleanup

There is a strong chance that some unnecessary files might be interrupting the installation process. You can use the Disk Cleanup utility to fix this.

3] Make sure that your drivers are up to date

You need to make sure that your drivers are up to date. For that, you can either run Windows Updates or check your manufacturer’s websites for the latest driver updates for the components of your computer.

4] Update your system’s BIOS

Outdated BIOS can be a major force in preventing you from updating your operating system. Update your BIOS and make sure that you have the latest version of the BIOS available for your computer.

5] Check the status of Windows Services

Just search for Services in the Cortana search box, click on the Services icon and open Services utility in a new window. Or just hit the WINKEY + R button combination to launch Run window. Type in services.msc and hit Enter in order to open the same Services utility.

Choose Automatic Start for Services

For the following services,

  • BITS (Background Intelligent Transfer Service)
  • Windows Update Service
  • Cryptographic Service

Right-click on them one by one.

Click on Properties. For the drop-down of Startup Type, select Automatic.

Click on OK for each of them. Reboot your computer for the changes to take an effect.

6] Checking the RAM Modules

Many times all the components of RAM and not able to be used by the computer.

For this, I would personally recommend turning off your computer. Then take out your RAM physically. Clean it with a soft cloth. Blow some air into the RAM slot on the motherboard.

Put your RAM back in the same slot.

Try updating your computer again. If this still does not work, just try putting in some more RAM and check if this works for you.

Because sometimes, a worn out RAM cannot perform to their fullest potential and adding up some extra RAM would boost up the performance for your daily tasks as well as for the installation of the updates.

7] Other solutions

Now, these other categories of solutions are considered due to a chance that some attached hardware might be conflicting with the installation of the new operating system update.

Some of these solutions are as follows:

  • Unplug all the USB Devices and the WiFi Adapter from your machine.
  • Disable your Graphics Card by uninstalling their drivers.
  • Disabling your Network card by uninstalling their drivers as well.
  • Modifying the RAM Modules.

All the best!

Related read: We couldn’t install Windows 10 0xC1900101-0x20017 error

Posted by on , in Category Windows with Tags
Ayush has been a Windows enthusiast since the day he got his first PC with Windows 98SE. He is an active Windows Insider since Day 1 and is now a Windows Insider MVP. He has been testing pre-release services on his Windows 10 PC, Lumia, and Android devices.

Leave a Reply

Your email address will not be published. Required fields are marked *


6 + 3 =