I currently have no OS installed on my PC but my laptop came pre-installed with Windows 8.1, so there is an image on the hard disk to install Windows 8.1 without the need of USB.
However, when I tried to install Windows 8.1 from that image, I got the error message that the image was corrupt, so I need another bootable Windows USB to continue the installation which I don't have (I neither have a bootable Windows DVD or any bootable Windows USB).
So, I went to Command prompt from the startup in Advanced Options and tried running
sfc /scannow but it didn't work. I have also tried
chkdsk /f but they didn't work.
sfc /scannow showed that there were some errors that need to be fixed, however it couldn't fix them for the reason that I am running the command from that partition itself.
It said something like The Windows cannot repair the partition.
How to fix the factory image corrupt error using the command prompt?