Format, resize, extend and manage your disks
How to Format a Storage Device Using Diskpart Utility in Windows 10
The Disk Management Tool is a handy, effective tool for managing your Windows disks and partitions, but it is not as powerful in use as Diskpart. This command line tool allows you to delete, create, and resize partitions on any hard drive or USB storage that your PC can detect.
We recommend using the Disk Management Tool for most situations, but if Windows won't boot properly, or if you prefer to use the PowerShell terminal, Diskpart is the perfect alternative. Here are some of the most common Diskpart commands to help you learn how to use Diskpart effectively.
To use Diskpart, you will need to open a Windows command line or PowerShell terminal. Diskpart is a destructive tool, so you will need to open a terminal window with the appropriate administrative privileges.