Fix: Installation Failed in Safe_OS Phase With an Error

By: Ivan Jenic
8 minute read

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Although Windows 10 is free for most Windows 8 and Windows 7 users upgrading to Windows 10 isn’t always smooth as you think. Users report getting The installation failed in the safe_os phase with an error during apply_image operation error while trying to upgrade to Windows 10, and if you’re getting this error you might want to check some of these solutions.

What to do if The Installation Failed in The Safe_OS Phase

There are many problems that can prevent Windows 10 installation. Speaking of installation errors, many users reported Installation Failed in Safe_OS Phase With an Error During Apply_image Operation error. Since this error can be a big problem, in this article we’re going to show you how to fix the following issues:

  • Windows 10 error 0xc1900101 – 0x20017 – This is a relatively common error, but we already covered how to fix 0xC1900101 – 0x20017 error in one of our previous articles, so be sure to check it out.
  • The installation failed in the safe_os phase with an error during install_updates, recovery environment, prepare rollback, migrate data operation – There are many variations of this error, and we’re going to cover most of them in this article.
  • The installation failed in the safe_os phase boot, first_boot – These are also some errors that can appear during Windows 10 installation, but you should be able to fix them using one of our solutions.

Solution 1 – Change your Windows 10 installation

This is a bit complex solution since it requires you to change Windows 10 setup files. This solution is helpful to some users, but make sure that you follow instructions carefully to prevent any damage and unwanted issues.

The main cause for this error is KB3064209 Intel CPU microcode update. If you don’t use Intel’s CPU, then this doesn’t apply to you. This was proven to work on Gigabyte GB-BXi3-4010 motherboards with Intel i3 4010U CPU installed, but we assume that it should work with any other motherboard with Intel CPU.

KB3064209 updates the file C:\Windows\system32\mcupdate_genuineintel.dll, and in order to install Windows 10 you need to delete this file. To do so, follow these steps:

We’ll use X: as USB drive, C: as our operating system drive letter and User as the user profile name. When applying this solution, make sure that you change these to match your settings.

  1. Download Windows 10 ISO and copy its contents to your USB stick.
  2. Run Command Prompt as administrator. Just search for Command Prompt, right click it and choose Run as administrator.
    The installation failed in the safe_os phase with an error during recovery environment
  3. Create a new folder on your Desktop and call it mount.
  4. Mount and edit WIM (Image file:boot.wim, Index 1) by entering into Command Prompt:
    • dism /Mount-Image /ImageFile:X:\sources\boot.wim /index:1 /MountDir:C:\Users\User\Desktop\mountThe installation failed in the safe_os phase with an error during prepare rollback
  5. Use Windows Explorer and navigate to:
    • C:\Users\User\Desktop\mount\Windows\System32\mcupdate_GenuineIntel.dll
  6. Right click mcupdate_GenuineIntel.dll and choose Properties.
  7. Go to Security Tab, then click Advanced.
    Windows 10 error 0xc1900101 - 0x20017
  8. Next Change the Owner to your User account. Enter your user account and click on Check Names button. Click OK to save the changes.
    The installation failed in the safe_os phase with an error during install_updates
  9. In the Security tab click Edit and then Add to add your user account. Make sure that you check Full Control so you can have maximum privileges. Click Apply and OK to save changes.
    The installation failed in the safe_os phase boot
  10. Now delete mcupdate_GenuineIntel.dll.
  11. Close all open Windows Explorer windows, and go back to Command Prompt and unmount the image by entering:
    • dism /Unmount-Image /MountDir:C:\Users\User\Desktop\mount /commit
  12. Now you’ll have to repeat steps 4-11 for the following files:
    • boot.wim /index:2
    • install.wim /index:1
    • install.wim /index:2
  13. If you’re confused, just replace boot.wim /index:1 with the values from the list above.
  14. Delete the mount folder from your desktop, remove USB and boot the installer.

This is an advanced solution, so be sure to follow the instructions on the screen carefully in order to perform it properly.


Solution 2 – Set services to automatic

  1. Press Windows Key + R and type services.msc. Press Enter or click OK.
    The installation failed in the safe_os first_boot
  2. Find the following services:
    • BITS(Background Intelligent Transfer Service)

    • For various PC problems, we recommend this tool.

      This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

      1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
      2. Click “Start Scan” to find Windows issues that could be causing PC problems.
      3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

    • Windows Update Service
    • Cryptographic Service
  3. Double click each of these services to open their Properties.
  4. Now find the Startup type and set it to Automatic. Click on Apply and OK to save changes.
    Windows 10 error 0xc1900101 - 0x20017
  5. Repeat the process for all three services.
  6. Restart your computer and try to Install Windows 10 again.

After enabling all these services, the problem should be resolved and you’ll be able to install Windows 10 without any issues.


Solution 3 – Unplug USB devices from your computer / remove your WiFi adapter

Some users report that unplugging all USB devices fixes this issue, so you might want to try unplugging any USB device that you have connected, such as your printer, phone, external hard drive etc. If you can try using PS/2 keyboard and mouse instead of USB keyboard and mouse.

If you’re using dedicated WiFi card, you might want to remove it from your computer while trying to install Windows 10. Don’t do this if you don’t know how to do it, or if your computer is under warranty because you will break your warranty. Instead, you can contact official repair shop and ask them to fix the problem.


Solution 4 – Disable your graphics/network card

If you’re getting Installation Failed in Safe_OS Phase With an Error During Apply_image Operation while installing Windows 10, the problem might be related to your dedicated graphics card. According to users, sometimes your graphics card might not be fully compatible with Windows 10, and the only solution is to disable it from BIOS.

To do that, first you need to enter BIOS while your PC boots. There are several ways to do that, and if you don’t know how to do it, be sure to check your motherboard manual for detailed instructions. Once you enter BIOS, you need to find your dedicated graphics card and disable it. If you don’t know how to do that, check your instruction manual for detailed instructions.

Once the dedicated graphics is disabled, you might have to connect your monitor to the onboard graphics on the back of your PC. Now try to install Windows 10 again and check if the issue reappears. Several users reported that disabling their dedicated graphics fixed the problem for them, so be sure to try that out.

In addition to your graphics card, sometimes the problem might be your network card. If you’re using a built-in network card to access the Internet, be sure to disable it from BIOS and check if that solves your issue.


Solution 5 – Use Disk Cleanup/CCleaner

Installation Failed in Safe_OS Phase With an Error During Apply_image Operation error can appear due to your temporary files, and one way to fix it is to use Disk Cleanup feature. This is a simple tool that will allow you to remove old and unnecessary files from your PC.

If you’re not familiar with Disk Cleanup tool, we wrote an article on how to use Disk Cleanup, so be sure to check it out for detailed instructions. Users reported that selecting all options in Disk Cleanup and running the cleanup process fixed the problem for them, so be sure to try that.

If you prefer a more powerful solution, you might want to use CCleaner (free download). This is a powerful application that can remove old and temporary files, and many users reported that CCleaner fixed this problem on their PC, so feel free to try it.


Solution 6 – Update all your drivers

According to users, Installation Failed in Safe_OS Phase With an Error During Apply_image Operation message can appear if you have any problems with your drivers. Outdated drivers can cause this problem to appear, so it’s recommended to update them.

Users reported that their USB drivers were the problem, but after updating them, the issue was resolved. However, other outdated drivers can cause this problem as well.

Since updating drivers manually can be a long and tedious process, you might want to use a tool that will automatically update all your drivers for you. Download TweakBit’s Driver Updater Tool (approved by Microsoft and Norton) to do it automatically. This tool will help you to avoid permanent damage to your PC by downloading and installing the wrong driver versions.

Disclaimer: some functions of this tool are not free.


Solution 7 – Update your BIOS

If you’re getting Installation Failed in Safe_OS Phase With an Error During Apply_image Operation error message while trying to install Windows 10, the problem might be related to your BIOS. Sometimes outdated BIOS can cause this issue to appear, and in order to fix it, you need to flash your BIOS and install the latest version.

Updating your BIOS is an advanced and somewhat risky procedure that can cause irreversible damage to your PC if you’re not careful. To see how to properly update the BIOS on your motherboard, be sure to check your motherboard manual for detailed instructions.

Several users reported that updating their BIOS fixed the issue for them, so be extra cautious if you plan to use this solution.


Solution 8 – Add/remove RAM modules

Another way to fix Installation Failed in Safe_OS Phase With an Error During Apply_image Operation error is to add or remove RAM modules. Several users reported that they fixed the issue simply by removing one or two memory modules from their PC. After doing that, the installation went smoothly.

On the other hand, few users reported that you can fix this problem by adding additional RAM, so if you’re planning to upgrade your RAM, you might want to try that as well.

Installation Failed in Safe_OS Phase With an Error During Apply_image Operation error can prevent you from installing Windows 10, but you should be able to fix it using one of our solutions.


Editor’s Note: This post was originally published in October 2015 and has been since completely revamped and updated for freshness, accuracy, and comprehensiveness.


READ ALSO:

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Discussions

Next up

Best Windows 10 antivirus software to use in 2018

By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading

These features are out for good with Windows 10 version 1809

iamsovy@gmail.com' By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading

Windows 10 18H2 builds no longer receive new features

By: Matthew Adams
3 minute read

The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]

Continue Reading