DiskPart is a command-line utility that lets you manage disk-related objects like drives, virtual disks, partitions, and volumes. You invoke DiskPart by typing DiskPart at a command prompt and pressing Enter. (You must be in the Administrators group to run DiskPart.) DiskPart accepts 38 different commands, which can be listed by typing Help at the DiskPart prompt.
While the Help command lists the available commands in alphabetical order, logically, the DiskPart commands can be grouped into the following categories:
DiskPart operates on whatever object currently has focus. You can assign focus to an object through the Select command, e.g.,
DISKPART> Select Disk 0
Subsequent commands will now operate on Disk 0 until focus is assigned to another object.
You leave the DiskPart utility by typing Exit at the DiskPart prompt.


 This tip (12662) applies to Windows 7, 8, and 10.
 This tip (12662) applies to Windows 7, 8, and 10.
Windows allows you to customize many aspects of its user interface. One thing you can modify is how a folder's icon ...
Discover MoreWindows has a built-in search utility that allows you to search for strings inside of files. You can even save your ...
Discover MoreWant to make the data stored on your system more secure? Think about enabling the built-in encryption capabilities of ...
Discover MoreThere are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Copyright © 2025 Sharon Parq Associates, Inc.
Comments