Using CMD Format a USB

 




Mitthavicky IT


 Format a USB Using CMD (Command Prompt)

 

  • Plug the USB into your computer, then run CMD as Administrator.
  • After using the commands "diskpart", "list disk", and "select disk", type "clean" and press "Enter".
  • Use the command "create partition primary" to further format your USB drive.

Plug your USB drive into your computer. Plug it into one of the various USB ports on your computer to continue.

  • Normally, you'd format a USB drive by right-clicking it and selecting Format from the menu. You'll only use Command Prompt if that other method does not work.
  • You can also use this method if you can't see the USB drive in File File Explorer.






Open Command Prompt as an administrator. To do this, press the Win key on your keyboard and type "cmd" to search for the program.[1]
  • Click Run as Administrator from the results list that appears



Mitthavicky IT


 You'll see some feedback about your computer and initiates the DiskPart utility




 In the list, you should be able to determine which listed disk is your USB.


Mitthavicky IT


 From the disk list, you'll need to replace the [Your disk] line with your disk number
  • For example, if your USB is located in disk 2, you'd enter "select disk 2."
  • Once the command is accepted, you'll see "[Your disk] is now the selected disk.




Mitthavicky IT
 Wait a little bit while Command Prompt formats your USB drive.
  • You'll see "DiskPart succeeded in cleaning the disk" when it's finished.





 You'll need to do this before you can further format your USB drive.
  • Command Prompt will display "DiskPart succeeded in creating the specified partition" when it's done.




Mitthavicky IT
 This command will tell your USB drive to format with ntfs format. You can also use  or exfat instead by replacing "ntfs" in the command.
  • You'll see "DiskPart successfully formatted the volume" when it's finished.



Type "assign letter=[letter]" and press  Enter. This command will assign a specific letter to your drive.







 This will exit the DiskPart program so you can continue using the USB drive to . or disconnect it from your computer.








@Mitthavicky 







Comments

Popular posts from this blog

Biometric Payments: Transforming the Future of Secure Financial Transactions

Windows 10 for IT Professionals