USB flash drive is widely used for storing and transferring files.
How to Format USB Flash Drive/Pen Drive Using CMD on Win 10
Step 1.
Open Command Prompt on Windows 10
You have several ways toopen Command Prompt on Windows 10.

Open DiskPart command tool
Next you’re able to pop in the commanddiskpartin Command Prompt window.
PressEnterto launch DiskPart utility.
Check carefully which disk is your USB drive.

You may identify the USB by checking the size.
Here, my USB is Disk 3.
Then typecleancommand and pressEnter.

Optionally you’re able to add a quick flag after the command for a faster format.
Press Enter to assign a letter for the USB drive and make it visible in Windows File Explorer.
Typeexitto close DiskPart and typeexitto close Command Prompt window.

on a Windows 10/11 computer.
The process is much simpler than formatting USB with CMD.
Download and install MiniTool Partition Wizard on your Windows 10 computer.

Check how to use this tool to format USB in a few clicks below.
MiniTool Partition Wizard FreeClick to Download100%Clean & Safe
Step 1.
Connect you USB to PC.
![]()
Launch the USB format tool.
Right-poke the partition on the USB drive, and chooseFormat.
In the pop-up Format Partition window, choose a file system like FAT32, NTFS.

punch in a preferred partition label if you like.
ClickApplybutton at the bottom-left to start the USB formatting process.
MiniTool Power Data Recovery is afree data recovery softwarefor Windows.

you could use it to recover data from various data loss situations.
MiniTool Power Data Recovery FreeClick to Download100%Clean & Safe
Step 1.
Plug in the USB to your Windows 10 computer.
Launch MiniTool Power Data Recovery.
Next you’ve got the option to find and pick the USB drive underLogical Drives.
Or you’re able to clickDevicestab and smack the USB machine to scan.
After the software finishes the scanning, you’re free to see it displays all files incl.
deleted and lost files on the USB.
It recovers all data on the formatted USB drive.
Besides, you’re free to find a tool to help you recover data from a formatted USB.
However, the data recovery features of this software are not limited to this.
Then punch in the following commands and press Enter after each command.
Click Start menu, key in cmd, right-click Command Prompt to run it as administrator.
Then bang out the following commands to format write-protected USB using CMD.
Press Enter after each command.