Windows 10 Update keeps failing with error 0x8007001f – 0x20006

The Windows Media Creation tool by Microsoft is a useful tool to get your computer to download and install the latest version of the Windows 10 operating system. However, during setup, it has been known to give the following error message:

0x8007001F-0x20006, The installation failed in the SAFE_OS phase with an error during REPLICATE_OC operation.

Safe OS phase: this phase is initiated to install all the required updates. The possible causes for this could be an interrupted download, the internet connection, etc.

Windows 10 installation failed, error 0x8007001f – 0x20006

We will be taking a look at the following suggestions to resolve the error code 0x8007001f – 0x20006 for the Windows 10 Upgrade:

  1. Use Windows Update Troubleshooter.
  2. Reset Windows Update Components.
  3. Delete the Windows Update Cache.
  4. Configure the Firewall or Antivirus.
  5. Run Windows Updates in Clean Boot State.

1] Use Windows Update Troubleshooter

windows update troubleshooter

You can run the Windows Update Troubleshooter and also Microsoft’s Online Windows Update Troubleshooter and check if that is any help in fixing any of your issues.

2] Reset Windows Update Components

You need to delete the contents of the SoftwareDistribution folder & reset the Catroot2 folder.

3] Delete the Windows Update Cache

Sometimes existing corrupt or incomplete Windows Update files can also cause issues and conflicting in the downloading and installation of a Windows Update.

Delete $Windows.~BT & $Windows.~WS folders if they are present on your computer.

Check if this has fixed your issues.

4] Configure the Firewall or Antivirus

You can try to temporarily disable Windows Defender which is installed out of the box on your Windows 10 computer. You can also disable your Windows Firewall on your computer and check if that fixes the errors that you are encountering. If you are using 3rd-party security software, disable them and see.

5] Run Windows Updates in Clean Boot State

Clean Boot starts a system with minimal drivers and startup programs. When you start the computer in clean boot, the computer starts by using a pre-selected minimal set of drivers and startup programs, and because the computer starts with a minimal set of drivers, some programs may not work as you expected.

You can run Windows Update after booting into the Clean Boot State and check if that makes the error go away.

Did these fixes help you?

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.