
It will show you all the partitions on the disk you selected. Next, type select disk, replacing with the aforementioned number. You will see a list of all the disks attached to your machine. In Command Prompt, type diskpart and press Enter, then type list disk and press Enter. As in step three, you'll need to enter your language preferences, etc., click Next, select Repair your computer, and go to Troubleshoot > Advanced Options > Command Prompt. Turn on your machine and boot from the tool. To work through the following steps, you will once again need a Windows installation media USB.

You can fix this using Windows' native diskpart tool. It's possible that the Windows partition is disabled. You can adjust the order using the + and – keys. Make sure Hard Drive is listed above USB Storage, CD\DVD\BD-ROM, Removable Devices, and Network Boot. Within the Boot tab, highlight Hard Drive and press Enter. Unfortunately, you can only use your keyboard to navigate the BIOS menu, so keep an eye out for a list of controls on the BIOS screen. Broadly speaking, you need to locate the Boot tab at the top of the screen. The BIOS menu itself also varies between devices. You should see an onscreen message advising you which is the correct key during the boot process. Typically, you'll need to press Escape, Delete, or one of the Function keys during the boot-up process, before Windows loads. The method for entering the BIOS changes from manufacturer to manufacturer. Secondly, you need to make sure the drive on which you installed Windows is listed as the preferred boot drive. Firstly, you need to ensure your machine recognizes your hard drive. You need to check for two things in the BIOS.
