diskpart
DiskPart is a command-line disk management utility developed by Microsoft for Windows. It provides text-based control over disks, partitions, and volumes, enabling scripted or manual disk operations without a graphical interface. It is included with Windows operating systems and is commonly used to automate disk provisioning and maintenance tasks.
DiskPart is run from an elevated command prompt. The user starts it by typing diskpart, after which
DiskPart can convert disks between MBR and GPT on supported systems, and can convert basic disks to
Caution is advised when using DiskPart, as its operations are destructive and largely irreversible. Incorrect commands