How to use Diskpart to clean and format a Drive in Windows 10
Description: This article will show how to use the Diskpart tool in Windows 10 to clean and format a drive.
- From the start menu search box search for command prompt. Right click on the command prompt app that comes up and then select Run as administrator.
- Type diskpart then press enter.
- Type list disk then press enter - this will show a list of drives in the system, starting with Drive 0. Carefully check for the actual disk number that is to be cleaned - if the wrong disk is selected here, all data will be lost on that disk.
- Type select disk followed by the number of the drive that is to be cleaned, and then press enter - example: select disk 1. There will be a confirmation message stating what is now the selected disk. Double check if this is the drive to be cleaned.
- Type clean then press enter. This will completely remove any data or formatting on the drive.
- Type create partition primary then press enter. This will add a partition to the drive and make it accessible.
- Format the drive by typing format fs=NTFS or format fs=FAT32 depending on which file system you want to use.
- Type assign then press enter to assign a drive letter. The drive will now show up with a drive letter.
Technical Support Community
Free technical support is available for your desktops, laptops, printers, software usage and more, via our new community forum, where our tech support staff, or the Micro Center Community will be happy to answer your questions online.
Forums
Ask questions and get answers from our technical support team or our community.
PC Builds
Help in Choosing Parts
Troubleshooting