Windows 8.1 install error 0x80070002

Do you have multi-bootable partitions? If yes, mark your Windows partition as "Active". That did the trick for me... – rlyeh

after trying several solutions found on the web (deleting dowload folders, desactivating antivirus...), The solution above just worked fine. Not even necessary to reboot. Thanks


Agafous's solution was spot on. It seems to be that in Windows 8.1 upgrades, it freaks out if you have your primary hard disk partitioned in such a way that your primary boot partition isn't necessarily your first partition on the disk - this is the case with large vendor desktop PC's from the likes of HP and Dell who tend to have 'recovery' partitions on the disk.

I ran into this same problem on my Dell E9900SF desktop PC but didn't have an issue whatsoever on my ASUS laptop. I found this page and the solution worked.

If you want to know how to make a partition active, here is a write-up on how to do it in Vista: http://windows.microsoft.com/en-au/windows-vista/mark-a-partition-as-active

Win 8 is very similar - go to Control Panel\All Control Panel Items\Administrative Tools and select "Computer Management" to find where you need to be, then follow the instructions from the link above from there. You'll be fine.