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)