EaseUS Partition Master

A simple partition tool to manage disk space in Windows 11/10.

  • MBR to GPT Converter, make Disk Ready for Windows 11.
  • Migrate Windows 11 to New SSD in 1-Click.
  • C Drive Cleaner & Windows 11 Performance Optimizer.
  • Rescue Data When Windows 11 Corrupts or Dies.
1 Year Lifetime$55.96$69.95

Black Friday, huge discount

How to Manage Partitions with Disk Partition CMD in Windows 11/10?

Updated by Roxanne on Aug 30, 2021
Written by Daisy

"Unable to select a drive, as it is showing 0 MB while installing Windows 10, I tried to check-in cmd, but I don't know its instructions. Can I get the cmd guide or other software?"
Are you confused about how to use disk partition cmd? Don't worry. We know what you want to know. In the following, this page lists many practical tips about cmd. And we recommend a third party software - EaseUS Partition Master that can replace the cmd function.

Content

1. Overview of disk partition cmd
2. How to use disk partition cmd in Windows 11/10
3. How to manage partitions with EaseUS Partition Master
4. FAQ

Overview of disk partition cmd

Cmd, the abbreviation for command, is a Microsoft Windows command that opens the Windows command line window.
Notes: Windows 95 & 98 users can only enter the command line by entering command; other Windows users can enter command or cmd to use.

How to open Windows cmd

Method 1: You can input cmd in the Start Menu search bar to open the Windows Command Prompt.
Method 2: You can press Win+R to open the Run box, type cmd, and press Enter.

What is Diskpart

After open cmd, you need to type 'diskpart' for disk partitioning. Diskpart is a command-line utility in Windows 10, which enables you to operate disk partition by using Diskpart command prompt, including create, merge, extend, shrink, format, delete, wipe disk partition, and other features.

How to use disk partition cmd in Windows 11/10

Steps to create a partition in Windows 11/10 using command prompt.
Warning: Do not use the Diskpart until a full backup.

Step 1: You can use the two methods mentioned above to open the command prompt or Run window.
Step 2: Enter Diskpart
Steps about essential partition functions are as follows:

  • Create a partition using Diskpart

1. At the Diskpart prompt, type: List Disk 
2. Input: Select Disk * (* represents the disk number)
3. Type: Create partition primary size=*(* means the partition size.) 
4. Input: Assign letter=* (* represents Choose a drive letter not already being used.)
5. Type: Exit (Exit is the Esc on the top left of the keyboard.)

create partition diskpart

  • Extending a partition using Diskpart

Note: If you try it or any other method, make sure you have a full backup.
1. Verify that contiguous free space is available on the same drive and that free space is next to the partition you intend on extending, with no partitions in between.
2. Type: Select Disk * (Selects the disk.)
3. Type: Select Volume *(Selects the volume.)
4. Type: Extend Size=*
5. Type: Exit

extend partition diskpart

  • Deleting a partition using Diskpart

Note: You cannot delete an active system or boot partition or a partition with a dynamic page file.
1. Input: Diskpart.exe
2. Select disk *
3. Select Partition *
4. Delete partition
5. Exit

  • Wiping a disk using Diskpart

This operation deletes all data on the disk.
1. Type: Select disk *
2. Type: Clean all(The CLEAN ALL command removes all partition and volume information from the hard drive being focused on.)
3. Exit
The diskpart also has other features, such as assign drive letters, shrink partition, mark partition as active, convert MBR/GPT. If you want to learn these parts, FAQ, at the end of the article, will bring you the right answer.
After reading the above guide, I believe you have a specific understanding of how to use cmd via Diskpart in Windows 11/10. Cmd is a powerful tool, but it is not suitable for a beginner. Misoperations can easily cause partition problems. There is a better software -- EaseUS Partition Master.

How to manage partitions with EaseUS Partition Master

EaseUS Partition Master is an all-in-one partition manager, which helps you create, resize, clone, move, merge, and format partitions. The following video tutorial shows you how to create, deleted, shrink, and resize a partition with this powerful disk management program.

1 Year Lifetime$55.96$69.95

Black Friday, huge discount

Favored by millions of users. It contains all features Diskpart has and many other superior functions like the two demonstrated below. 

1. Disk migration and cloning
Nowadays, for better performance of computer disk, you may want to migrate the operating system and clone disk to the target one. It saves the user's time to download programs. It only takes a few steps to get remarkable results. For example, there is a guide about "transfer Windows 10 to a new hard drive(HDD/SSD)".

Steps to migrate OS to HDD/SSD:

  • Run EaseUS Partition Master, select Migrate OS from the top menu.
  • Select the SSD or HDD as the destination disk and click Next.
  • Check Warning: the data and partitions on the target disk will be deleted. Make sure that you've backed up important data in advance. If not, do it now.
  • Then click Continue.
  • Preview the layout of your target disk. Then click Proceed to start migrating your OS to a new disk

Note: The operation of migrating OS to SSD or HDD will delete and remove existing partitions and data on your target disk when there is not enough unallocated space on the target disk. If you saved important data there, back up them to an external hard drive in advance.

2. Partition Recovery
Partition Recovery is a practical feature targeting your lost partitions.
It is worth trying to scan your selected disk. The spending time of a deep scan may in line with your disk volume.
You can check the related article about "recover unallocated space in Windows 10" to get further learning.

Step 1. Open EaseUS Partition Master and click "Partition Recovery" on the top menu. A new window will appear and ask you to select a disk to start searching for lost partition(s). So choose the desired disk and click "Scan".

partition recovery step 1

Step 2. A quick scan will immediately start. You can pause the scanning process by clicking "Proceed" at any time when the lost partition shows up to start your data recovery.

partition recovery step 2

You can double click on the partition you're looking for to preview its content.

partition recovery step 3

Step 3. As soon as the lost partition and data has been found, click "Recover Now". Or else, go on with "Continue Scanning" for more lost data recovery.

partition recovery step 4

Step 4. After the recovery process, click "Finish". Your lost partition should reappear in your drive.

partition recovery step 5
1 Year Lifetime$55.96$69.95

Black Friday, huge discount

FAQ

1. How do I use diskpart command in Windows 11/10?
-Boot into Windows 10
-Press the Windows key and C to open the charm bar.
-Type cmd
-Click Command Prompt
-When Command Prompt opens, type diskpart
-Press Enter

2. How to assign drive letter via Diskpart?
--Type "assign letter=F" (F can be replaced with another letter that has not been used yet).
--And then, you will receive a message that says: DiskPart successfully assigned the drive letter or mount point.

3. How to shrink partition via Diskpart
Type shrink directly will automatically shrink the partition by Windows, and you can also type shrink desired=*** to define your partition size.
(Such as: Type "shrink desired=10240". And then, you will receive a message that says: DiskPart successfully shrunk the volume by 10GB.)
Note: You can reduce the size of a volume only if it is formatted using the NTFS file system.

4. How to mark a partition as active via Diskpart?
--Type active.
--And then, you will receive a message that says: DiskPart marked the current separation as active.

5. How to clean Disk/convert a disk to GPT/ convert a disk to MBR?
-Type: list disk.
-Type: select disk 1.
-Type: clean.
-Type: convert gpt or convert mbr.

Was This Page Helpful?

Updated by Roxanne

Roxanne is one of the main contributors to EaseUS and has created multiple posts on digital devices like PCs, Mobile phones, tablets, Mac, etc. She loves to share ideas with people of the same interest.

Read full bio

Written by Daisy

Daisy is the Senior editor of the writing team for EaseUS. She has been working in EaseUS for over ten years, starting from a technical writer to a team leader of the content group. As a professional author for over 10 years, she writes a lot to help people overcome their tech troubles.

Read full bio

Product Reviews

TrustScore 4.7 | 49 reviews
  • I love that the changes you make with EaseUS Partition Master Free aren't immediately applied to the disks. It makes it way easier to play out what will happen after you've made all the changes. I also think the overall look and feel of EaseUS Partition Master Free makes whatever you're doing with your computer's partitions easy.

    Read More
  • Partition Master Free can Resize, Move, Merge, Migrate, and Copy disks or partitions; convert to local, change label, defragment, check and explore partition; and much more. A premium upgrade adds free tech support and the ability to resize dynamic volumes.

    Read More
  • It won't hot image your drives or align them, but since it's coupled with a partition manager, it allows you do perform many tasks at once, instead of just cloning drives. You can move partitions around, resize them, defragment, and more, along with the other tools you'd expect from a cloning tool.

    Read More

About EaseUS Partition Master

All-round disk & partition management software for personal and commercial use. Let it manage your storage drive: resize, format, delete, clone, convert, etc.

Product Reviews



Video Tutorial

Video poster

How to Partititon a Hard Drive on Windows 10/8/7

Was This Page Helpful

How Can We Help You

Find answers to common questions below.