Forum Discussion

Srini4594's avatar
Srini4594
Copper Contributor
Sep 29, 2021

Windows 11 installation error

Error code 0x80070002 -0x20007, the installation failed in the safe_os phase with an error during INSTALL_DRIVERS operation. how to fix this?

36 Replies

    • RRB's avatar
      RRB
      Copper Contributor

      Thank you for your answer, but I think my system meets or excedes required specks, It came with Win 11 installed, I'm just trying to install the latest update from Microsoft...

  • Bonniewest's avatar
    Bonniewest
    Iron Contributor

    Make sure you have enough disk space on the drive where you’re attempting to install Windows 11. At least 20% of free space is recommended. If space is low, consider deleting unnecessary files or moving them to an external drive.

  • youaremine's avatar
    youaremine
    Copper Contributor
    I have found the Solution for Windows 11 installation failed error 0x80070002 -0x20007 !!! It is basically a problem of driver failing to install itself on Windows 11. In my case it was the driver for Western Digital Passport external hard drive driver.

    Now, the question arises how I came to know which driver to delete? I searched online for a few days to find that I can learn about it in the Windows logs. They are a bit difficult to access, but you can do it.

    First, you need to go to folder options of Windows explorer and allow windows to show hidden files and system files. Then you have to go to "$Windows.~BT\Sources\Panther" and you have to find a file named "setupact.log"

    Now it would be a big-**bleep** log file which you need to open up (it took around 1 minute to open completely). Go to the bottom of the log file to see which driver forced the installation to fail. For me it was a driver from a folder named "system32\driverstore\ WDSCAMxAMD64\wdscam.ini" or something like that.

    Now all I did was to go to system32\driverstore and find the folder in which the cursed WD drivers were kept, and delete the folder permanently.

    For others, the driver could have a name like PeePoo.ini or something; you can always google that stuff to see which company makes those drivers. Remember to look for paths of corrupt drivers at the bottom of the log.

    But I faced a problem, that I could not delete the file because it was owned by the system. So you will have to right-click the folder and click security and then edit the settings to make yourself the owner, and give yourself full control of the bad boy. (You can see a video on YouTube for a detailed method to delete system folders.)

    Lo and behold! My Windows 11 installed finally after weeks.
    • RRB's avatar
      RRB
      Copper Contributor

      asking for a favor, please.

      I found my setupact.log/ but I don't know what I'm looking for regarding a driver error. Thanks in advance

      RRB

      • Msmith2021's avatar
        Msmith2021
        Copper Contributor

        It's in chronological order.  Open the file in Notepad and scroll allllll the way to the bottom, then just work your way up until you find things that look like error messages, and what drivers they mention.

    • Maojuuu's avatar
      Maojuuu
      Copper Contributor

      How did you find out which driver forced the installation to fail?🤯

      • Msmith2021's avatar
        Msmith2021
        Copper Contributor

        Scroll all the way to the bottom of the 'Panther' file mentioned above, "setupact.log" and scroll up. It's a huge file, may take a minute to get to the bottom.  Then read it in reverse-chronological order until you see stuff that looks like error messages.

    • veixl's avatar
      veixl
      Copper Contributor

      i have the setupact.log file open and it goes back to March 3rd 2025 (3 days ago), however, updates were unsuccessful today too.

  • Anonymous's avatar
    Anonymous

    Srini4594   Hi.

    https://www.bing.com/videos/search?q=0x80070002+-0x20007&qpvt=0x80070002+-0x20007&view=detail&mid=FA67CC7AA012B72AE3EFFA67CC7AA012B72AE3EF&&FORM=VRDGAR&ru=%2Fvideos%2Fsearch%3Fq%3D0x80070002%2B-0x20007%26qpvt%3D0x80070002%2B-0x20007%26FORM%3DVDRE

  • LCFarsoni's avatar
    LCFarsoni
    Copper Contributor

    I have an installation error also, Srini4594 
    It says my computer (a brand new Microsoft Surface Studio 2) is not compatible, due to my processor [Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz 2.90 GHz] when the requirement indicates 1GHz...

    • King_Marqy's avatar
      King_Marqy
      Copper Contributor
      I thought there is a list of supported CPU's somewhere.
      But if you want to do a clean install download the Win 11 ISO and the latest version of Rufus. Rufus has the function of removing the TMP2.0 and CPU check. So you will be able (although you might run into some problems) to install it (i've done it on a 21.5 inch iMac with non supported CPU from 2015)
  • RobertSimon's avatar
    RobertSimon
    Copper Contributor
    Same here: Samsung Galaxy Book Flex Alpha, Intel Core i7-10510U - 12GB Memory - 512GB SSD, tried the downloadable update 3 times, then update from USB, didnt work.
    • King_Marqy's avatar
      King_Marqy
      Copper Contributor

      Syncing Time, checking system files, removing update-files doesn't work. Same error on my Dell XPS laptop.

      Tried updating a Dell Vostro 14, CPU not supported, tried HP Envy (2016), CPU not supported....

       

      Terrible... Why does the message about not supported CPU show up if the process has been running for about 15-30 minutes. Why not at the start? I'm going to see if I can edit the installer so that I can try to install it anyway. Unknown why these CPU's aren't supported... 

       

      Seems that MS 'forces' a lot of people to buy new hardware just because of this upgrade... 

      • mstrada's avatar
        mstrada
        Copper Contributor

        HP spectre laptop, get 0x80070002 0x20007 safe_os install drivers every time i try to upgrade to windows 11.

    • King_Marqy's avatar
      King_Marqy
      Copper Contributor

      Same here. Dell Laptop Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz 2.21 GHz

      Dutch Windows 11 version. Great Microsoft, the second PC i'm trying (first PC didn't have a supported CPU) and it doesn't work.... Going to look at it....

Resources