Tag: delete efi system partition vista

The Disk Management utility in Windows – a GUI based application – lets you perform various disk operations – such as setting active partitions; changing drive letters and paths; extending, shrinking, and deleting a volume; and formatting the drives. But the Disk Management utility is quite faulty and prone to errors. Typical problems that users face include random graying out, and disabling of the Extend Volume/ Shrink Volume tabs.

In this regard, the DiskPart utility is an excellent alternative to the inbuilt Disk Management application in Windows. The DiskPart utility is a text input command line application founded on scripts that let you create, erase and adjust the size of the different volumes on your hard drive. It is compatible with almost all the recent Windows versions – although in the XP, and the previous editions, you have to install the application manually (the DiskPart.exe installer does not work in them).

DiskPart, being a command prompt application, will require you to familiarize yourself with the different commands of the program. To get the various options/syntax for any command you can always type in Help [command] and press Enter.

Here is a list of simple operations of DiskPart to help you get started with the program.

Starting/Running DiskPartTo start the DiskPart interface, go to the Start Search field in Vista, or the Run box in the case of XP/2000/2003, and enter DiskPart.exe. A command line for the program is launched.

Listing all the disks on the PCTo view all the hard disks installed in the system, enter list disk at the prompt.

Selecting a target diskIn order to choose a disk you plan on working with, use the command:

select disk <disk number (###)>

Disk number can be obtained by using “list disk” above.

Creating a partitionA partition (on an empty hard disk, or on some unallocated free space) is created with the command:

The supported partition types are primary, extended, logical drive, EFI and MSR. (You can get more information on these with the Help command).
For instance:create partition primary size=2000will generate one primary partition of 2GB size.

Creating a volumeDiskPart lets you create RAID volumes with three (or even more) specified disks; and a simple/striped volume with any number of specified disks greater than two. The command for this is:

For instance:extend size=750will take the current partition/volume and increase its size by a margin of 750MB.
12. Deleting a particular partition/volume
Dynamic disks are removed with the command “delete volume”. After selecting a partition/volume, use the following line: