

You're telling diskpart to format the drive with a file system, let it be NTFS, exFAT, etc.

Step 8: After diskpart successfully created the specified partition, type format fs=ntfs (or format fs=exfat) and press Enter. Step 7: Type create partition primary and press "Enter". Step 6: Type clean to wipe all files and folders on the selected disk. Step 5: Type select disk + disk number, here you can find the number of the target disk by referring to the listed disk information. Step 4: Type list disk and press "Enter" to list all the disk drives. Step 3: In the Command Prompt window, type diskpart and press "enter". Step 2: Navigate Repair Your Computer -> Command Prompt. Step 1: Create a Windows installation disk and boot your PC from it. Other than using the third-party tool, you can also format your hard drive from USB with the help of Windows Installation disk, which, as you will know, is relatively more complicated than using a bootable format tool as shown in Method 1. Windows 11/10/8/7 100% Secure Method 2: Format HDD from USB using Command Prompt
