DISKPART in windows 10 hangs on execution

Diskpart only hangs if there is a problem accessing one of the disks detected via the controllers.

Remove the card and run diskpart. If it works correctly, it means the SD card is defective. If it does not, it means there's a problem with one of the other disks/controllers.

Also, be patient, it may take some time to read a disk with problems. Wait for a few minutes.


Try to take out your SD card and then see if DISKPART loads. If it does load there may be a problem with the SD card or SD card reader that is causing it to hang.

As an alternative you can open a file explorer, right click on "This PC" choose "Manage" and then select "Disk Management" from the left pane. You should be able to format you SD card from here as well. But if this hangs as well I would try a different SD card.