How to Use diskpart.exe | Guide for Windows

Share on:

People keep their all files and important information on PC. The memory of the PC hard disk is filled with all this information. Sometimes we find difficulty distributing this memory. In that time Diskpart can be used. It is very helpful for PC users. We should know about this and complete use of this. How to Use diskpart.exe? The answer is given below.

Use-diskpart

What is Diskpart?

DiskPart is a kind of utility of disk distribution. This is one of the useful Disk Management Tools. It can interpret the various commands. This command can manage the drives of computers. The drives can be virtual hard disks, disks,s, or partitions of your hard drive. It can be used in most of the Windows and Windows servers such as Windows XP, Windows 7, Windows 8, Windows 10 and Windows Server 2003, Windows Server 2008, etc.

Diskpart processes under the interface of command prompt. There are various tasks that can be done by DiskPart. They are deleting partitions of disks, expand the partitions, compressing the partition, creating a partition. That means changing the partitions of your hard drive. Overall it can manage all the partitions of any disks of the computer. But how to use diskpart.exe in Windows? Follow the next sections. Before going further, we suggest you test your hard disk speed.

Method to Use Diskpart

There are various tasks that DiskPart can do. The method to open Diskpart is given below. After this, you will know how to use diskpart.exe and it will be very helpful for managing the hard disk memory partitions.

  • At first, you have to right-click on the Windows icon which is the bottom left of the screen.
  •  A list of options will appear. You have to select Windows PowerShell (Admin). To clear this, you can read this article to know how you can clear the screen of the Command Prompt in Windows.
methods to use diskpart
  • The Poweshell screen will be opened. Then you have to type diskpart 
  • Then you have to press ‘Enter’.
  • Diskpart tool will be opened within for you to use.
  • After using Diskaprt, you have to type ‘exit’ after ‘ ‘DISKPART>’ at the PowerShell window.

There are various works we can use Diskpart. The work and the method of using DiskPart in those works are explained below.

Cleaning a Hard Disk Completely

  • In the Powershell window, you have to type ‘select disk #, replacing # with your disk number’ after the “DISKPART>” prompt.
  • In the Powershell window, you have to type ‘select disk #, replacing # with your disk number’ after the “DISKPART>” prompt.
clean hard disk
  • Thus a disk has been cleaned.
clean the hard disk

Creating Partition for New Hard Disk

  • At first, you have to type select disk #, replacing # with your disk number.
  • After the disk is selected, you have to type ‘create partition primary. You can use the whole disk for partition by this. But if you don’t want to use the whole disk you can define the disk size. For this, you have to type ‘create partition primary size=#’. You can type size in the place of #. The size will be in megabytes.
  • Then you have to list your created partition. For this, you have to type, select partition 1’.
  • To active this, you have to type ‘active’.
  • You have to press the ‘Enter’ button after each typing.

Deleting a Partition or Volume of Hard Drive

  • At first, you have to type ‘select disk#’. You have to select the disk you want to delete.
  • Then you can type ‘list partition’.
  • After this you have to type ‘select partition *, replacing * with your partition number’.
  • The partition will be selected. Then you have to type ‘delete partition’.
  • You can also delete the entire volume by typing ‘list volume’. Then you can identify your selected volume number.
  • You can type ‘select volume *, replacing * with your volume number’.
  • At last, you can type ‘delete volume’. The volume will be entirely deleted.
  • You have to make sure to press Enter button after each typing.

Extending Volume of a Hard Drive

  • At first, you have to type ‘select volume *, replacing * with your volume number.
  • If you don’t know the volume number you can type ‘list volume’. Then you can identify your required volume number. Then type ‘select volume #, replacing # with your volume number’.
  • At last, you can type ‘Extend’.
  • You have to make sure to press Enter button after each typing.

Do you still have any confusion regarding how to use diskpart.exe? Let us know.

Conclusion

Diskpart can do various tasks to organize disks or solve the problem regarding disks like solving GPT protective partition problem. This is also almost the same level as the Disk management tool. By knowing to use this, we can now solve many problems and distribute the partitions of our disks properly. This can be very helpful for organizing huge memory of our PC hard disks. Now, we hope you know how to use diskpart.exe and all about its functionalities. If you are interested to know how you can use the AOEMI partition assistance, click here.

About The Author

Leave a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.