Diskpart is a command-line utility that can be used to create, modify and delete partitions on a Windows-based computer. It is different from other types of command-line programs because the input to the program is self-contained instead of being a single-line utility. If you wish, you can use Diskpart to create a partition on your computer's hard drive without having to go through the Disk Management graphical user interface.
- Skill level:
Other People Are Reading
Open a command prompt by clicking on the "Start" button, selecting "Run," typing in "CMD" and then clicking the "OK" button.
Type "Select Disk X" and press "Enter," where "X" is the number of the hard drive you wish to create a partition on.
Type "Create partition primary" and press "Enter" to create a primary partition on the hard drive.
Type "Assign Letter=Z" and press "Enter." This assigns drive letter "Z" to the partition that you just created.
Type "Format FS=NTFS Label=My_New_Partition QUICK" and press "Enter." This formats the partition with the NTFS filesystem and assigns the label "My_New_Partition."
Type "Exit" and press "Enter" to quit the Diskpart utility. Your partition is now set up, formatted and fully active.
Tips and warnings
- Use caution when modifying your hard drive partitions. Improper modification of hard drive partitions can cause you to lose data and can cause your computer to cease booting properly.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for