Installation Failed in the SAFE_OS phase during BOOT operation.
The error “0XC1900101 – 0x20017: “The installation failed in the SAFE_OS phase during BOOT operation” can occur when you are trying to update your Operating system to the latest version. It can also occur when you are trying to upgrade your Windows 7 or 8 system to Windows 10. In this post, we will explore the different causes of the error and then discuss the various fixes.
Image 1: The Windows Upgrade error
The error mainly indicates an issue with your device or Network adapter drivers. It occurs because Windows fail to retreive information about your system files, registry association or parition GUIDs.
The quick fixes described below can help you to quickly resolve the device or network adapter driver issues
1. Ensure that the Date and Time settings are correct
2. Make sure that your device has enough space. For e.g. you need atleast 20GB of free space, if you are upgrading to a 32GB OS and 32 GB of free space if you are upgrading to a 64GB OS.
4. Uninstall any non Microsoft apps (such as Antivirus)
5. Disconnect any external device
6. Restart your PC and disable Bluetooth and Wireless adapter from the BIOS window (press Del/F1/F2 to enter the BIOS window)
If the above quick fixes do not work then go for the methods as described below:
Method 1: Disable Secure boot
1. Enter the BIOS window by pressing Del/F1/F2 (depending on your PC manfacturer)
2. Disable the “Secure Boot” option under Boot options/Security settings
3. Save and Exit the BIOS window
4. Windows will now try to boot normally and then install the update. If it fails then you can move to Method 2.
Method 2: Run Windows Update Troubleshooter
If you are upgrading your OS from Windows 7 or 8 to Windows 10 then download the troubleshooter from the link here: https://aka.ms/diag_wu
If you are updating your Windows 10 OS to the latest version then follow the below steps to run the troubleshooter
Start > Settings > Update & Security > Troubleshoot> Windows Update (under Get up and running)> Run the troubleshooter.
After that, please restart your PC
Image 2: Windows update Troubleshooter
Method 3: Delete the SoftwareDistribution Folder
The SoftwareDistribution is the folder where Windows store the updates. This folder might get corrupted and in order to install future updates, you must re-create this folder.
The address of the folder can be found here:
You need to stop your Windows update service before you delete the SoftwareDistribution folder. It can be done by following the below steps
Step 1: Start the Run command by pressing Windows+R keys
In the search box, enter “services.msc” and click “Ok”
On the next page, look for the “Windows Update” service option
Right click on that and select “Stop”
Image 3: Stopping Windows update service
Step 2: Once its done then go to the SoftwareDistribution folder destination C:\Windows\SoftwareDistribution and delete the folder
Step 3: Finally, go back to the Windows update service panel and look for “Windows Update” option. Right-click on it and click “Start”
If the above fixes don’t work then it is recommended to reinstall the OS again. During reinstallation, there is a possibility of data loss. . If you happen to lose your data during this, you can try professional data recovery software to recover your lost data. A data recovery tool can also be useful if your PC fails to boot during the update process. In this case, too, you can recover all the data from your PC. Once the recovery is completed, you can erase the contents of your PC and install a new OS. Here there are many recommended Data Recovery Tool like Recuva, Stellar Data Recovery Professional for Windows, testdisk, etc. that can safeguard your valuable data as you resolve the upgrade error.
The above post illustrates the different ways by which you can fix the error “0XC1900101 – 0x20017: “The installation failed in the SAFE_OS phase during BOOT operation”. Before applying the methods, please try the quick fixes to see if the error can be resolved easily. If nothing works then as a last resort, it is recommended to wipe the contents of your computer and reinstall the OS. Before that, please recover your data using professional data recovery software. It will ensure that your valuable data remains intact as you install the fresh OS. Windows data recovery software is also useful if you happen to lose your data while applying the above-mentioned methods.