1

I have an HP envy 15 which earlier had Windows 8.1 installed (and now absolutely nothing).

Microsoft is giving a free upgrade to Windows 10.

I tried to clean install windows 10 on my laptop, to totally clean my hard disk I made a bootable drive, and booted with it to install Windows

I clicked custom install and after that I pressed shift+F10 to open a command shell and I ran the following commands

diskpart
select disk 0
clean

After this it encountered an error and showed that it was unable to format the drive.

I rebooted again with a bootable USB, but I found that my whole hard disk was formatted (it showed unallocated space 900gb without any partition)

I made a new partition of about 100gb and tried to install windows in it but when I formatted it an error was showed up that windows cannot format the partition:

error code 0x80070057

Can anyone help me to solve this?

(I was able to install Ubuntu in my laptop but I deleted it because I found it useless for me)

  • Take a look at support.microsoft.com/en-us/kb/2476568: This error occurs because the partition that is reserved for system is damaged (Error 0x80070057 when you format a hard disk drive) – duDE Feb 16 '16 at 12:55
  • Already Tried that 👍 – Shubham Gupta Feb 16 '16 at 12:57
  • Use Dban boot disk to wipe the drive. then do a clean install and do not use the diskpart commands, just select the unallocated partition and hit enter to continue installing W10, the W10 installer will automatically format the drive with 2 partitions, one for winre and one for the OS. dban.org – Moab Feb 16 '16 at 17:41
  • Dban only needs to run for 15 minutes, no need to overwrite the entire drive. – Moab Feb 16 '16 at 17:44
-1

First of all using diskpart to wipe your harddisk clean wasn't a good idea. It destroys any boot and recovery partitions which would be useful in case of problems like this. Not to mention you need to install Windows 10 via Media Creation Tool to benefit from free upgrade (not clean install). You need to downgrade to Windows 8.1 (no need to worry about activation as it should read your key from UEFI) then use Media Creation Tool to upgrade to Windows 10. You can download Windows 8.1 directly from Microsoft. Also please refer to Microsoft FAQ page for other questions you might have about this process.

  • I know that was a bit too baad idea,(i lost my recovery drive) but i am having iso for windows 8, 8.1, 10 and all of them failed – Shubham Gupta Feb 16 '16 at 13:04
  • Is there any way to completely reset my harddrive to the factory settings – Shubham Gupta Feb 16 '16 at 13:05
  • You can (and probably should) use GParted to clean your harddisk then you can make a clean install of 8.1 Gparted tutorial : gparted.org/display-doc.php%3Fname%3Dhelp-manual – conquistador Feb 16 '16 at 13:08
  • 1
    You basically already did, now you need a clean install. You don't have to do anything special from command line when you are trying to install/upgrade just delete and create a new partition at the first screenshot in the article duDE posted. Are you sure they are full install ISO's or upgrade? – Cand3r Feb 16 '16 at 13:12
  • i remember diskpart having issues while working with gpt drives (that or i'm being too hard on it :) ) that's why i recommended gparted. – conquistador Feb 16 '16 at 13:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.