When you use Windows Media Creation tool to update your computer, you might receive error code 0x8007001F - 0x20006. Focusing on this problem, MiniTool software provides 5 feasible solutions in this post.
The Windows Media Creation tool developed by Microsoft is a rather useful tool to help you download and install the latest Windows version. However, when you use this tool, you might get 0x8007001F - 0x20006 error during the setup process. Also, there is an error message:
The installation failed in the SAFE_OS phase with an error during REPLICATE_OC operation.
The safe OS phase, pointed in the error message, is an important phase to install all the required Windows updates. If your Windows 10 update keeps failing with this error message, perhaps the update download is interrupted or there’s something wrong with your internet connection. Of course, some other factors might also lead to this issue.
How to fix Windows 10 update error 0x8007001F - 0x20006? Several workarounds are listed here and you can try them one by one to fix this error.
Fix 1: Use Windows Update Troubleshooter
If you run into certain problems with Windows update, the easiest solution is to use Windows Update Troubleshooter which is a built-in tool in your Windows 10. You can follow the steps listed below:
Step 1: Press Windows + R to open Settings app.
Step 2: Go to Update & Security > Troubleshoot.
Step 3: In the right pane, select Windows Update and click Run the troubleshooter.
Then, this tool will start detecting problems that prevent you from updating Windows. Once it’s done, you can check if Windows update error 0x8007001F - 0x20006 is fixed.
Fix 2: Reset Windows Update Components
Alternatively, you can try resetting the Windows Update components to fix the issue. Just refer to the following steps.
Step 1: Press Windows + R to invoke Run window. Input cmd and press Ctrl + Shift + Enter to run Command Prompt with administrative privilege.
Step 2: Type the following command and hit Enter key after each to stop the Windows Update components, including Windows Update service, Cryptographic service, BITS and MSI Installer.
- net stop wuauserv
- net stop cryptsvc
- net stop bits
- net stop msiserver
Step 3: Now, you need to rename SoftwareDistribution and Catroot2 folders. Just type the following command line and press Enter after each.
- ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
- ren C:\Windows\System32\catroot2 Catroot2.old
Step 4: After rename the folders, you need to restart the involved components mentioned above. Just enter the following command. Again, do not forget to press Enter after each command.
- net start wuauserv
- net start cryptsvc
- net start bits
- net start msiserver
Once you have reset the Windows update components, exit Command Prompt and restart your computer. You can try updating your Windows again to check if 0x8007001F - 0x20006 error is resolved.
Fix 3: Clear Windows Update Cache
Sometimes, the cached Windows Update files might be corrupted or incomplete, which could prevent Windows update from installing and cause 0x8007001F - 0x20006 error. In this case, you need to clear your Windows update cache, and try downloading and installing updates again.
To do that, you just need to delete $Windows.~BT and $Windows.~WS folders in File Explorer. They are created by your system and hidden in the system drive. To see them, you can go to View tab and choose Show hidden files.
What is a cache? How to clear cache on your PC? In this post, I will introduce cache for you and provide some methods to help you clear system cache Windows 10.
Fix 4: Disable Your Antivirus and Firewall Temporarily
Your installed antivirus and Windows Defender Firewall might interfere with your network connection required by Windows Update. So, it is also a good choice to disable your antivirus firewall temporarily if you receive Windows 10 update error 0x8007001F - 0x20006.
You can disable firewall in Control Panel. Go to System and Security > Windows Defender Firewall and choose Turn Windows Defender Firewall on or off in the left pane. When you get the following interface, check Turn off Windows Defender Firewall for both private and public network settings and click OK to save changes.
Fix 5: Run Windows Updates in Clean Boot State
It is also possible that a certain third-party application or service on your computer is interfering with Windows Update. Instead of spending much time figuring out the culprit, you can clean boot your computer and try updating your Windows again. Here is a simple guide for you.
Step 1: Make sure you log on to your PC with administrative account. Type msconfig in Run dialog and click OK to open System Configuration.
Step 2: Under General tab, choose Selective startup. Uncheck Load startup items, and make sure Load system services and Use original boot configuration are selected.
Step 3: Under Services tab, check Hide all Microsoft services, click Disable all, and click Apply/OK to save changes you have made.
After that, restart your computer to put it into a Clean Boot State. Now, you should be able to run Windows Update again without any problems.