SOLUTION: Windows 10 upgrade failure 0x8007001F – 0x20006

This week, a client brought me a Windows 7 PC which refused to upgrade to Windows 10, despite their having reserved a license long ago for the OS and attempting to install it repeatedly. The error message they were receiving was:

0x8007001F – 0x20006
The installation failed in the SAFE_OS phase with an error during REPLICATE_OC operation

A screenshot of the setup error message which repeatedly plagued this machine

My usual remedial measures, after poring through setup error logs and all that fun stuff, were completely unsuccessful in this instance. Myriad internet searches also turned up lots of other people with the same problem, but no actual solution. Everyone simply wiped/reinstalled Windows.

Some of these attempts included:

  • sfc /scannow
  • BCD rebuild
  • Boot parameters rebuild
  • System (boot) partition rebuild
  • Filesystem checks, etc
  • Permissions repairs

Nothing at all worked. Eventually, however, I stumbled across a solution almost too simple to seem likely to work: an in-place upgrade of Windows 7. In other words, in colloquial terms, a conventional “repair install”.

All this involves is to grab Windows 7 install media matching the version installed and perform an “upgrade” process right from within Windows. Once complete, I had to reenter the Product Key and reactivate – so make sure the sticker is legible on the particular machine you’re working with. If it isn’t, specialized activation backup/restore methods will be required to continue with the process and eventually the Windows 10 upgrade.

After this, everything worked perfectly. The W10 upgrade process was smooth, and the client is now happy as a clam!

Donate to say "Thanks" if this post has helped save you time and money! 🙂

12 thoughts on “SOLUTION: Windows 10 upgrade failure 0x8007001F – 0x20006

  1. I did what you did. I also reinstalled Windows 7 and I got the Windows 10 Update Assistant Button but when I continued every time it tries to install windows 10 it ends up with windows 10 install failed error 0x8007001f. Until now I cannot upgrade to Windows 10 again. It sucks.

  2. Woohoo! Thank you so much for this. I have been stuck with this issue a couple of times before and hit it again. I have had to do a clean installation in the past. I can confirm that doing a repair install of Windows 7 with the original media disk (Service Pack 1 version), retyping the product key on the case, activating Windows, reboot and try the Windows 10 media (currently 1903) again actually works. Windows 10 has installed trouble free and activated automatically.

    Thank you once again for this 🙂

  3. Hello,

    Reinstalling Windows 7 SP1 as an upgrade worked for me too. Thank you as 20 other PC’s of same type upgraded fine. Great trick.

  4. I was recently trying to get win 7 pro to upgraded to win 10 1909..I tried everything under the sun and kept on getting the safe_os replicate_oc errors. i tried the windows 7 in place upgrade you suggested and it did not go through.

    How I finally got it to work was,

    Downloaded the 1607 (from 2015) version of the Windows 10 ISO and that went through.
    THEN i grabbed the 1809 Version of the Win 10 ISO so I could preserve my applications and files.. that options was greyed out trying to go from 1607 to 1909.. directly but when i tried to go from 1809 to 1909 it was successful.

    I used rufus to download each iso.

  5. The “upgrade” to current version of windows 7 worked for me as well. I was able to then go to 10 without issues. Thanks!

  6. I’ve been to so many tech websites looking for a solution for this problem all to no avail and and was about to gove up upgrading and sticking with Win 7 and then the gods shined on me and i clicked on your site and hey presto, it works!!! so simple yet brilliant…

    Your awesome, thank you thank you thank you 😀

  7. I don’t have a Windows 7 disk. The computer came with the repair / reinstall on a partition… What does one do then

  8. Hi, where would I get the installation media for windows 7 home premium (mine came pre-loaded into my computer) and how would I begin the upgrade process?

  9. Hola, excelente ayuda amigo, me resolviste el problema que tenía, ya actualicé sin necesidad de reinstalar todo. También había probado todas las opciones que mencionas sin poder resolver el problema.
    Un saludo desde Santiago de Chile.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.