I have a Sony Vaio on which I am reinstallig windows 10 after completely butchering the old windows 10 on it. The BIOS detects my 500 gb HDD but the windows installer says that the drive 0 has only 0 mb and cannot install Windows please help me
That's what I would try to do.
I would also do a BIOS reset.
Then if I couldn't format and partition it....I would put it in another machine and format and partition it.
....and if I could do that.....it would see the trash.