How to Fix 0x8007001f – 0x20006 Update Error on Windows 10 Easily?

0x8007001f – 0x20006 is an error that may appear when you try to update your PC. In fact, it appears when you try to update your PC through Windows Media Creation. Well, if you are frustrated about it and looking for a solution, keep reading.


0x8007001f – 0x20006 Error

Windows Media Creation tool is a very handy tool developed by Microsoft. The purpose of this tool is to download & install the most recent version of Windows on your PC. Although this tool works perfectly in most cases, it might give you some errors once in a while. When it displays the error message, it will contain the code 0x8007001f. To be precise, it will appear as below.

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

0x8007001f - 0x20006 Error

You will notice that there is a safe OS phase pointed in the error message. Basically, that is a pretty important phase that should be installed in your system. That said, if you continue to see this 0x8007001f error, that will hinder your computer’s performance. So, it is compulsory to download this specific update trying all the potential solutions. It is true that this error can occur mainly due to a faulty internet connection. However, that’s not the only issue. Instead, 0x8007001f – 0x20006 error can trigger due to several other reasons.

So, let’s learn more about how to fix the 0x8007001f – 0x20006 error in your Windows 10 system? The good news is that there are several ways to fix this issue without necessarily worrying or panicking. Let’s explain these solutions to you. So, go ahead and read how to fix the 0x8007001f error.


Solution 1: Fix 0x8007001f using Windows Update Troubleshooter

If you have come across some issues due to Windows update errors, here is the first solution. The easiest and the most basic fix is to use the option called Windows Update Troubleshooter. In fact, it is a built-in tool that is included in Windows 10 system. If you are not aware of that, you can simply follow below steps that are mentioned below.

  • To open the Settings app, press Windows + R on your keyboard.
  • Now, you should choose Update & Security and then go to Troubleshoot from the menu bar.
  • As the next step, choose the option called “Windows Update,” located in the right-pane drop-down menu. Then, you should click “Run the troubleshooter.”
Fix 0x8007001f - 0x20006 Error  using Windows Update Troubleshooter

Now, this software will begin identifying issues that are preventing you from updating Windows. After this process, error 0x8007001f – 0x20006 will be solved for good.

PS: if you come across Windows Update Error 0x80070020 or 0x80070652, here are the top solutions for you.


Solution 2: Fix 0x8007001f by resetting Windows Update Components

If the previous solution didn’t work, you should try resetting the Windows Update components and fix the 0x8007001f error. Please just follow the steps mentioned below.

  • First, to open the Run window, press Windows + R on your keyboard.
  • After that, you should launch Command Prompt with administrative privileges. You can enter cmd in the search box and press Ctrl + Shift + Enter to do that.
  • Then, the following commands should be entered one at a time on the CMD interface.

net stop wuauserv

net stop cryptsvc

net stop bits

net stop msiserver

Just press the Enter key after each line. That will stop the Windows Update components. That comprises the below elements:

  • Windows Update service
  • Cryptographic service
  • BITS service
  • MSI Installe
  • Now, rename the SoftwareDistribution & Catroot2 folders to something more meaningful. Simply type the following command line and hit the Enter key after each character.
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 Catroot2.old
  • After you have renamed the folders, you should rename those components that were previously mentioned. To do that, enter the following command into your computer. Make sure that you hit after each command, as you did the first time.

net start wuauserv

net start cryptsvc

net start bits

net start msiserver

  • Now, restart the PC & see if the 0x8007001f – 0x20006 error is gone.

Solution 3: Clear the cache related to Windows Update

There are times when Microsoft’s cached Windows Update files become corrupted or insufficient for some reason or another. Such a specific scenario will prevent Windows Update from installing and eventually cause 0x8007001f – 0x20006 error. So, in this case, it is compulsory to clear the Windows update cache and then retry the process.

To make it happen, you simply need to delete the $Windows.~BT and $Windows.~WS  folders. You can navigate to those files from the File Explorer window. These files are created by the system itself. They are stored in the system drive in the form of hidden files, so they aren’t directly visible. Please go to the View tab & select Show hidden files from the drop-down menu to see them.

Clear the cache related to Windows Update  to fix 0x8007001f - 0x20006 Error

Besides, if you are facing your computer is low on memory issue, this guide you must check out.


Solution 4: Temporarily disable the antivirus and firewall installed in your system

Do you have antivirus software and Windows Defender Firewall installed in your system like many other users? If so, it is possible that they will interfere with your network connection. As a result, it can prevent smooth Windows updates, and that will cause 0x8007001f error. Therefore, if you encounter the 0x8007001f error, it is a good idea to temporarily disable your antivirus firewall.

It is possible to disable the firewall through the Control Panel. To do that, you can turn Windows Defender Firewall on or off. That can be done by selecting Turn Windows Defender Firewall on/off. You can find it in the left pane of the Windows Explorer window. So, select Turn off Windows Defender Firewall for both private and public network settings. After that, click OK.

Temporarily disable the antivirus and firewall installed in your system

Solution 5: Update Windows in Clean Boot State

Apart from that, even a 3rd app or service running on your PC can be interfering with Windows Update. So, without spending a significant amount of time identifying the source of the problem, let’s try a clean boot. That will help you update Windows again.

  • Be sure that you are logged into the computer with administrative privileges. Then, to open System Configuration, you should enter MSConfig into the Run dialog box and then, please click OK.
  • Now, Choose the “Selective startup” located in the General drop-down menu. You can uncheck the box labeled “Load startup items.” Then, check “load system services” & “Use original boot configuration.”
Update Windows in Clean Boot State  to fix 0x8007001f - 0x20006 Error
  • Now, in the tab labeled “Services,” you should choose “Hide all Microsoft services.” Then, click Disable all. As the final step, select Apply/OK so you can save the changes.
  • Perform a system restart, and now it will load in Clean Boot State. You can load Windows updates without any issue. That means the 0x8007001f issue will be gone.

Solution 6: Check SFC and DISM

  • To open the Windows menu, press the Windows Key and X key simultaneously
  • After that, select Command Prompt (Administrator) from the drop-down menu.
  • If you cannot access Command Prompt, you can also use PowerShell (Admin) to complete the same task.
  • On the command prompt, enter the command sfc /scannow.
sfc /scannow
  • Now, you will see that the SFC scan is commencing. It is important to let the scan go on undisturbed. It will take around 15 minutes.

Some files on your system can get corrupted or missing due to various reasons. In that case, you can use a DISM to overcome it. DISM stands for Deployment Image Servicing and Management.

  • Run command prompt with administrator privileges.
  • Enter the command “DISM.exe /Online /Cleanup-image /Restorehealth”
  • You can even use a USB storage or a DVD if there’s a connection issue related to updates. Insert that media and enter the following command.
  • “DISM.exe /Online /Cleanup-Image /RestoreHealth /Source:C:Your Repair SourceWindows /LimitAccess”
  • Replace the repair source using its own source path.

Solution 7: Reinstall the audio drivers in your system

Interestingly, some users have overcome this issue by reinstalling audio drivers. So, if you experience 0x8007001f – 0x20006 error, you may try this solution as well.

  • Press Windows Key + X so you can see the Windows menu. Choose “Device Manager.”
  • Go to “Sound, video, and game controllers.” Then, please right-click on the option called audio device.
  • Now, you can choose “Uninstall Device.”
  • You can check the option labeled “Remove driver software for this device” to proceed.
  • Then, select “Uninstall.”
Reinstall the audio drivers in your system  to fix 0x8007001f  error
  • After that, download the most up-to-date driver from the official website.
  • Restart the computer and see if the 0x8007001f error persists.

We hope that the above solutions will fix the 0x8007001f – 0x20006 error on your PC. For other questions related to this matter, please let us know.