Format Disk using CLI

Mostly I format the USB disk using the GUI of windows. But sometimes this does not work and the USB drive becomes unusable. Then I need to format the USB disk using the command-line interface.

Here is the commands for formatting USB disk using CLI. Other disk can also be formatted with this command.

First, open command prompt in administrator mode. Then follow the commad below.

Diskpart
list disk
select disk X
Clean
Create partition primary
Format fs=NTFS Quick
Assign

Hope this is helpful.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.