Methods to Use DiskPart to Partition Your Arduous Drive

Most hard drives and storage devices are pre-partitioned. This allows the user to connect and use the device. However, there are situations when you need to partition your hard drive before you can use it.

For example, if you are installing Windows for the first time, you may need to partition the drive to separate the operating system from the rest of your files.

How to use Windows 10's built-in DiskPart utility to partition your hard drive.

How to partition a hard drive with DiskPart

Before partitioning the drive, make sure it is properly connected to the computer. If the drive doesn't show up in DiskPart, you can be sure that there is no problem with the connection.

Next, type in in the Start menu's search bar DiskPart. Right-click the best match and select Execute as administrator to open the DiskPart utility.

After starting DiskPart, make sure that your computer recognizes the attached hard drive. To do this, enter the following List hard drive and press Enter. If everything is connected and working properly, the hard drive will appear in the list.

Otherwise, you may need to try other fixes for a hard drive that is not showing up.

Look at the unpartitioned hard drive to identify the unpartitioned hard drive Free Column in the list. For non-partitioned drives, the total space is displayed in the "Free" column. Use this property to identify the drive and make a note of its number.

Next, select the hard drive by typing it Select disk X., replace X. with the number of the drive you just wrote down. Hit enter and you will get a confirmation message.

Now enter Create part pri and press Enter to assign all free space on the drive to a primary partition.

Art List hard drive and press Enter to confirm that all memory has been allocated. In other words, see if there's anything under that Free Pillar. If the Free column shows zero, the partition has been created. Use alternatively List partition to view a list of partitions on the selected hard drive.

After partitioning, you need to format a letter and assign it to your hard drive before you can use it. You don't need to use any other program as you can format a drive using DiskPart.

Create multiple partitions with DiskPart

If your drive is large enough, creating multiple partitions can improve performance and data retention.

To create more than one partition, you need free unallocated space. Remember that you have just partitioned all of the available space under a partition. To create multiple partitions, you need to free some space to work.

Art shrink (SIZE) Press Enter and replace SIZE with the amount of memory, in megabytes (MB), that you want to free up. Please note that when using DiskPart you have to use the size in megabytes. So if you want to change the size by 1 gigabyte, give it some input 1000 shrink, while 10 gigabytes would be 10000 shrink.

Art List hard drivePress the Enter key. The free memory space is displayed in the "Free" column.

To use this free storage space, Enter create part pri and press Enter. This will allocate the free space under a new partition.

Enter to confirm you've created a new partition List volume, and press Enter. You will see a new volume with an asterisk (*) in front of it. This volume represents the new partition you just created.

Now format this volume with a file system, assign it a letter, and the drive is ready to be used.

Partitioning a hard drive has advantages and disadvantages

If you have a large enough hard drive, partitioning it can increase the performance of the drive and protect your data in the event of a virus or malware attack.

However, partitioning can reduce the total amount of space that you can use. So only partition a drive if you can save space.

SSD vs HDD: Which Storage Device Should You Choose?

When you need to upgrade your storage, should you choose a hard drive or solid state drive? How to choose.

Continue reading

About the author

Fawad Murtaza
(6 articles published)

More
By Fawad Murtaza

Subscribe to our newsletter

Sign up for our newsletter to receive tech tips, reviews, free e-books, and exclusive offers!

One more step …!

Please confirm your email address in the email we just sent you.

Leave a Reply

Your email address will not be published. Required fields are marked *