Do you know what is DiskPart, and how do you apply it in Windows 10/11 to manage disk partitions? This page provides you with tips and tricks that you can fully trust and apply to create, format, and manage partitions with success.
What do you know about it? Is it a beginner's tool? What can normal Windows users do with this tool on computers? Follow this page, and we'll show you what Diskpart is and what you can do with this tool on Windows 11/10 or even older Windows computers.
In this article, you'll learn:
Note: Tips here apply to run DiskPart in Windows 11/10/8/7, older Windows, and Windows Servers.
DiskPart, a free command-line utility, processes orders to Windows operating systems to execute some disk partitioning tasks through diverse command lines.
DiskPart was introduced in Windows 2000, and its later versions in Windows operating systems as a successor of fdisk. As introduced, DiskPart is a disk partitioning tool that assists experienced and professional Windows users in managing their OS drives, data disks, external hard drives, USB flash drives, and even SD cards, etc.
So how does DiskPart work? Some of you may wonder how does DiskPart conveys the command lines to the operating system and then order the computer to execute respective operations, right?
Microsoft has precisely described how DiskPart interprets commands to help Windows users manage their computer disks and partitions.
Here is the process:
Step 1. Open DiskPart.
Step 2. List available objects, such as disk, volume, Partition, and even vdisk.
Step 3. Determine focus - you need to decide which object to focus on.
It could be a disk, a volume, a partition, or even a virtual disk, such as:
These commands tell the computer to focus on volume 5 on disk 1.
Step 4. Interpret commands to the operating system through Syntax parameters.
Note: The overall procedure will only work when you open and run the DiskPart command as an administrator.
So what benefits can I get by using DiskPart? Here is a table that lists the Pros and Cons of running DiskPart command lines to manage disk partitions in Windows computers:
Pros of DiskPart | Cons of DiskPart |
---|---|
|
|
So who is DiskPart designed for? Windows professionals, developers, and experienced administrators are the target users of DiskPart.
Note: If you are not familiar with DiskPart, or you are a Windows beginner, DiskPart alternative tools like Disk Management or other partition manager software are more user-friendly for you to try.
Here we collected some top most frequently used DiskPart commands in managing disk partitions that you can see what you can do with this tool:
Type | Commands |
---|---|
Manage Partitions |
|
Manage Disks |
|
So how do you use DiskPart to execute these tasks on your computer? First, you need to enable and open DiskPart. Then, follow the two guides below and manage disk partitions on your computer with success.
Here we'll present you a normal way that most Windows users apply to open and enable DiskPart on their computers.
Here are the steps:
#1. Open DiskPart in Windows 11:
#2. Open DiskPart in Windows 10:
#3. Open DiskPart in Windows 8:
#4. Open DiskPart in Windows 7:
Once DiskPart is enabled on your computer, you can now follow Guide 2 below to create, format, or manage your disk partitions with ease.
Here in this part, we'll show you the process of running DiskPart commands to manage partitions on your computer. Let's get started.
To Create Partition in DiskPart:
To Delete Volume Using DiskPart:
To Format Partition Using DiskPart:
To Assign Drive Letter Using DiskPart:
To Extend Partition via DiskPart:
Note that this operation requires you have unallocated space left behind the target volume. If not, you'll need to shrink or delete a neighbor volume first.
To Shrink Partition with DiskPart:
To Mark Partition as Active with DiskPart:
Aside from managing partitions, DiskPart also supports Windows users to manage disks on their own, such as how to clean up a drive or convert disk type to MBR/GPT.
Here are the guidelines that you can follow to execute these operations on your computer.
Note: Remember to back up all essential content on your target disk before executing these tasks.
To Clean or Erase Disk with DiskPart:
To Convert Disk to MBR or GPT Using DiskPart:
To most experienced Windows users, DiskPart may be a handy tool for executing some specific tasks, especially when Windows is not booting. However, it's somehow complex for many Windows beginners.
If you are looking for a qualified tool that could replace DiskPart to fulfill disk management demands, a professional partition manager - EaseUS Partition Master, is perfect for you to try.
This tool assists you in partitioning and managing hard drive partitions, external HDD/SSDs, or even virtual disks within only a few simple clicks.
See how can EaseUS Partition Master help:
Step 1. Launch EaseUS Partition Master to check for free space at the Partition Manager section.
Step 2. Shrink a disk partition to create unallocated space.
Right-click on the target drive partition with a lot free space and select "Resize/Move".
Drag either end of the partition rightwards or leftwards to shrink the partition size so as to get ample unallocated space. You can visually know how much space you've decreased in the "Size of partition" area. Click "OK".
Click "Execute xx Task" and then "Apply" to save all the changes.
Go back to Partition Manager, there should be unallocated space appearing on the same disk and you can continue with the next step to create new partition on your hard drive.
Step 3. Create a new partition with unallocated space on the target hard drive.
Right-click on the unallocated space and choose "Create".
Customize the partition size, partition drive letter, partition label, file system (NTFS, FAT32, EXT2/3/4, exFAT) and more in the Advanced Settings. Click "OK".
Finally, click "Execute * Task" and "Apply" to complete creating partition with the unallocated space on your disk. Repeat the steps to partition a hard drive and get many more partitions.
Step 1. Download and launch EaseUS Partition Master on your computer.
Step 2. Go to Disk Converter, select "MBR => GPT" and click "Next" to continue.
Step 3. Select the target MBR disk that you tend to convert to GPT, and click "Convert" to start the conversion.
Aside from the above features, you can apply this software to:
On this page, we discussed what DiskPart is, how DiskPart works, and the most commonly used commands.
We also showed you how to enable DiskPart and run different commands to execute diverse tasks in Windows 11/10/8/7. Alongside DiskPart, we also introduced a DiskPart alternative tool - EaseUS Partition Master to Windows beginners.
Compared to DiskPart, EaseUS partitioning software is qualified and works even better in managing disk partitions. It's easier and covers more features to assist Windows users in making full use of their disk partitions and storage devices. For an efficient and easy tool to manage hard drive partitions and disks, don't miss it.
Related Articles
[Fixed] Boot Device Not Found Error in Windows 10/8/7
Partition Magic for Windows 11 & 10 Free Download
FREE MBR Repair Tool: How to Fix MBR on Internal and External Hard Disk
Can I Format USB Drive From exFAT to FAT32? - YES!