Forum Discussion
Srini4594
Sep 29, 2021Copper Contributor
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?
youaremine
Oct 10, 2021Brass 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.
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.
Maojuuu
Apr 16, 2025Copper Contributor
How did you find out which driver forced the installation to fail?🤯
- Msmith2021Apr 16, 2025Copper 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.