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

Affiliate Disclaimer: If you purchase through links on our site, we may earn an affiliate commission at no additional cost to you!
Photo of author

Update on

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 out 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 to try 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 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

Here is the first solution if you have encountered some issues due to Windows update errors. The easiest and most basic fix is using the Windows Update Troubleshooter option.

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 go to Troubleshoot from the menu bar.
  • As the next step, choose the option “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, 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 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 following elements:

  • Windows Update service
  • Cryptographic service
  • BITS service
  • MSI Installer
  • Now, rename the SoftwareDistribution & Catroot2 folders to something more meaningful. Simply type the following command line and hit Enter 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.

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 a 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’s low 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 a 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 third app or service running on your PC can interfere 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.
Hide all Microsoft services
  • Perform a system restart, and now it will load in Clean Boot State. You can load Windows updates without any issues. 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
DISM.exe /Online /Cleanup-image /Restorehealth
  • You can even use 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.”
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.


FAQ 1: What is the 0x8007001f – 0x20006 Update Error?

The 0x8007001f – 0x20006 error is an update error that occurs on Windows systems when the update process fails to install or configure certain system components. It can be resolved by following the troubleshooting steps mentioned in this article.

FAQ 2: How can I fix the update error on Windows?

To fix the 0x8007001f – 0x20006 update error on Windows, you can try running the Windows Update troubleshooter, restarting update services, disabling third-party antivirus software, performing a clean boot, or resetting Windows Update components. Follow the step-by-step instructions provided in this article for detailed guidance.

FAQ 3: Why does the error occur during Windows updates?

The 0x8007001f – 0x20006 update error can occur due to various reasons, such as network connection issues, software conflicts, corrupted system files, or incompatible hardware drivers. Identifying and resolving these underlying causes can help fix the error.

FAQ 4: Can third-party antivirus software cause update errors?

Yes, third-party antivirus software can sometimes interfere with the Windows update process and cause errors. Temporarily disabling the antivirus software can help identify if it’s the cause of the 0x8007001f – 0x20006 error.

FAQ 5: What should I do if none of the troubleshooting steps work?

If none of the troubleshooting steps mentioned in this article fix the 0x8007001f – 0x20006 update error, it’s recommended to seek further assistance from Microsoft support or consult with a professional technician who can provide specialized help in resolving Windows update issues.


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.


Ten years of experience in information and computer technology. Passionate about electronic devices, smartphones, computers, and modern technology.

More Articles

Samsung Tablet Battery Not Charging
Repair, Samsung

How to Fix Samsung Tablet Battery Not Charging With Ease

Facing issues with your Samsung tablet not charging? Don't worry, we've got you covered! Get the best solutions to fix your tablet battery in this article.
Killer Network Service
Repair, Windows

Killer Network Service & Its High CPU Usage Issue – Fixed 2024

The Killer Network Service is a suite of software and hardware solutions developed by the company Rivet Networks. This ...
dropped iPhone in water
iPhone, Repair

What to Do If You Dropped iPhone in Water? – Best Fixes

Are you in a super panic mode right now because you dropped your iPhone in the water? We ...