|A component of Microsoft Windows|
|Included with||Windows NT|
diskpart is a command-line hard disk partitioning utility included in versions of the Windows NT operating system line from Windows 2000 onwards, replacing fdisk which was used in MS-DOS based operating systems.
This utility prevents creating multipartition layout for removable media such as flash drives. It is also used for partitioning internal hard drives.
How it works
diskpart command supports the use of scripts to automate its usage. For example, the following text file could be supplied to diskpart to create a new partition:
create partition logical size=2048 assign letter=F
The installed disks and their associated volumes and/or partitions can be viewed by these commands:
list disk list volume list partition
On the Recovery Console, which is included in all Windows 2000, Windows XP and Windows Server 2003, there is a diskpart command which is significantly different from the one included in the actual operating system. It only provides functionality for adding and deleting partitions, but not for setting an active partition. The utility is also provided in the Windows Recovery Environment, the successor of the original Recovery Console.
- Logical Disk Manager
- Disk Utility
- parted, cfdisk
- List of disk partitioning software
- Windows Imaging Format
- DiskPart: vdisk create select attach, install and boot Windows 7 from virtual disk device 
- Loop devices
- Pawan K. Bhardwaj, Kimon Andreou, Brian Barber, Dave Kleiman, Mahesh Satyanarayana. How to Cheat at Windows System Administration Using Command Line Scripts: Using Command Line Scripts. Syngress, 2006. ISBN 1-59749-105-5
- more Diskpart:(vdisk create select attach detach) articles you can find at technet.microsoft.com: ,,
- Microsoft TechNet DiskPart article, , 
|This computer storage–related software article is a stub. You can help Wikipedia by expanding it.|