Share via

diskpart create partition primary "diskpart has encountered an error a device which does not exist was specified"

Anonymous
2022-12-11T11:43:49+00:00

I can't re-install windows.

But "diskpart" command is not working.

Following screenshots show us the errors. --> Screenshots of errors

---Env

Windows 10, it's already not booting windows itself, so I have to re-install

MediaCreationTool ( https://www.microsoft.com/ja-jp/software-download/windows10 )

Bootable USB Flash Memory

NEC VersaPro

---With following these videos

https://www.youtube.com/watch?v=o4ilMAAk1Q8

https://www.youtube.com/watch?v=zQAcpccZ1ek https://www.youtube.com/watch?v=q1Uw8ufUD3U

---Already tried

* booting with usb

* diskpart commands

Windows for home | Windows 10 | Install and upgrade

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

11 answers

Sort by: Most helpful
  1. Anonymous
    2022-12-12T12:05:22+00:00

    Hi Por_85,

    It is most likely there is a hardware problem with that drive, the only way to be sure would be to connect that drive up to another PC and check if those commands work correctly on the drive, or if you can format it to create a new partition on the drive.

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-12-11T22:45:19+00:00

    Thanks @Saltgrass.

    I can understand that I don't have to convert it, thanks.

    Windows will run installer like https://youtu.be/q1Uw8ufUD3U?t=300

    But it showed me this error

    Image

    Please tell me what I should do next. Thanks.

    0 comments No comments
  3. Anonymous
    2022-12-11T22:39:14+00:00

    Thanks Dave.

    Second image tells you that Diskpart already selected "disk 0".

    I'm so happy if you check it.

    If I already did commands you tell me, what can I do next?

    I'm happy if you tell me it too.

    0 comments No comments
  4. Anonymous
    2022-12-11T12:33:14+00:00

    Since you have cleaned the drive, the Windows installer will format the drive accordingly. You do not need to create any partitions, just show it the unallocated space.

    It will install with the version of the Install media you boot. If you boot to the UEFI version, it will convert the drive to GPT and install. If it is Legacy, the drive will be MBR.

    0 comments No comments
  5. Anonymous
    2022-12-11T12:17:37+00:00

    Hi Por_85,

    I am Dave, I will help you with this.

    In your screenshot, you have run the List Disk command, but you are missing the Select Disk command before running the Clean and so the command does not know what disk you want to work on, and convert gpt commands, please try these steps.

    To convert your Drive to GPT:

    At the very start of the Installation Process, press Shift + F10, or Shift + Fn + F10 to open Command Prompt

    Run this command and hit Enter:

    diskpart

    Run this command and hit Enter:

    list disk

    (Make note of the disk number you want to convert and enter it into the next command - replace X)

    Run this command and hit Enter:

    select disk X

    Run this command and hit Enter:

    clean

    Run this command and hit Enter:

    convert gpt

    Then close Command Prompt

    0 comments No comments