Windows Installation Failed in Safe OS Phase With an Error

Ivan Jenic
by Ivan Jenic
Troubleshooting Expert
Loading Comments
Download PDF
Affiliate Disclosure

Installation Failed in Safe OS Phase With an Error

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.
  • Error 0x8007000A – 0x2000D — This error often occurs when you use ISO files.

Want a smooth Windows 7 to Windows 10 upgrade? Of course you do! Here is how to do that!

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:Windowssystem32mcupdate_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:sourcesboot.wim /index:1 /MountDir:C:UsersUserDesktopmountThe installation failed in the safe_os phase with an error during prepare rollback
  5. Use Windows Explorer and navigate to:
    • C:UsersUserDesktopmountWindowsSystem32mcupdate_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:UsersUserDesktopmount /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.

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)
    • 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.

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.

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.

Editor’s Note: If you’re interested in learning more about Windows updates, check out our wide collection of guides.

Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!