
Otherwise, the command will return “There are no partitions on this disk to show”. If there are partitions on the disk, they will be displayed.
Then, to see if there are any partitions on the selected disk, run the command below – this will list all available partitions on the selected disk.
To be sure that your disk is still selected, run the SELECT DISK command again. To confirm that the disk is now online, run the LIST DISK command. The command should return “DiskPart successfully onlined the selected disk”. If your disk is Offline, you need to take it Online. The last command should return “Disk # selected successfully”. The next step is to select the disk you want to use DISKPART to create a partition on.Ĭhange 1 to your disk # identified in the previous step. The LIST DISK command displays all the disks on your PC. On the DISKPART prompt, use the LISK DISK command to list all available disks – type the command and press enter. On the CMD Prompt, to open the DISKPART command prompt, type the command below and press enter. On the UAC prompt, click Yes.Īfter opening Command Prompt as administrator, use the steps below to create a partition. When you receive a User Access Control (UAC) confirmation, requesting you to allow the “app to make changes to your PC”. Then, from the search results, right-click Command Prompt and select Run as Administrator. Type command prompt in the search box. Here are the steps to run CMD as Administrator… To use DISKPART, you need to open Command Prompt as administrator. This section covers steps to use this must-know tool to create a new partition and assign a drive letter to the partition. How to Use DISKPART to Create a Partition and Assign a Drive LetterĭISKPART is one of the most useful CMD commands for System Administrators. How to Use DISKPART to Delete a Partition. How to Use DISKPART to Assign a Drive Letter.
How to Create a Partition with DISKPART.How to Use DISKPART to Create a Partition and Assign a Drive Letter.