List of Diskpart Commands in Windows 11/10

TIP: You can resize a Partition even if Disk Management fails using DISKPART and FSUTIL command-line tools for Disk Management.

How to use Diskpart?

Diskpart runs in its own space, so when you run the command, you will not be able to use the regular commands but only the Diskpart commands.

Type CMD in the Start screen, and choose to Run as AdministratorType Diskpart, and press the Enter key.You should see the console to switch from regular Windows path to DiskpartPost this; you can start with few basic commands to understand how it works.

Note: Be aware if you choose to delete anything, it cannot be recovered.

Few Basic Commands to Start With Diskpart

List Disk:  Displays number of connected hard drives or storageSelect Disk : Selects the particular diskList Partition: Displays list of partitions for the selected diskList Volume: Displays all the partitions of all the disks

How to open DiskPart in Windows?

Open Command Prompt with admin privileges, type Diskpart, and press the Enter key. You can also launch Diskaprt using the Run prompt. Make sure to press Shift + Enter to launch it with admin privileges.

How Do I List Drives in Diskpart?

Once you are inside Diskpart, type List Disk, this will list down all the connected storage, including hard drives, USB storage, SD card, or anything else connected to the PC.

How Do I Delete a Volume or Partition?

Select Disk List VolumeSelect Volume Delete Volume

Post this; a confirmation message will show up that Diskpart has successfully deleted the volume. That said, you cannot delete System or Boot Volume. If you are unable to delete it, make sure to read this guide.

How Do I Assign Drive Letter to a Hidden Partition?

If a partition can be seen in the Diskpart tool but is not available through the File Explorer, then it’s because there is no drive letter assigned to it.

Select Disk List VolumeSelect Volume assign letter=

Make sure that the assigned alphabet is not already in use.

How to Reduce the Size of a partition?

Before we move ahead, be aware that this is a very long process. Until the process is complete, the drive will be almost useless.

Select Disk List Volumeshrink desired=

This works for the NTFS file system only. Read: Fix Diskpart failed to clear disk attributes.

How to Erase a Disk using Diskpart Clean Command?

Open Diskpart command in the Command PromptType list disk and press EnterSelect the Disk you want to clean using select disk Type clean, and press the Enter key

Make sure not to use the clean all command; it will remove all partitions of the selected disk. Also, it will take an hour or so, depending on the disk size, as it will perform a secure erase.

Free Alternatives to Windows Diskpart Utility

These are third-party software that offers a better interface and features compared to Diskpart. In fact, you get to see a preview of the change before the change is committed. Here is a quick list:

Paragon Partition Manager Free EditionMacrorit Disk Partition ExpertMore Disk & Partition Manager software for Windows

I hope you were able to understand how to use it, the list of commands Diskpart houses, and alternatives to Windows Diskpart software that you can use for a better experience.