How to Format USB Drive in Command Prompt in Windows 10/8/7?

How to Format USB Drive in Command Prompt in Windows 10/8/7?

How to Format USB Drive in Command Prompt in Windows 10/8/7?

Geeks - To format a USB drive using the Command Prompt in Windows 10, 8, or 7, follow these steps:


Plug in your USB drive to the computer.

Press the Windows key + R to open the Run dialogue.

Type "cmd" into the Run dialogue and press Enter to open the Command Prompt.

Type "diskpart" and press Enter to open the Diskpart utility.

Type "list disk" and press Enter. This will show a list of all available disks on your computer, including the USB drive.

Identify the USB drive by its size and type "select disk X", where X is the number of the USB drive. For example, if the USB drive is listed as Disk 1, you would type "select disk 1".

Type "clean" and press Enter to erase all data on the USB drive.

Type "create partition primary" and press Enter to create a new primary partition on the USB drive.

Type "select partition 1" and press Enter to select the partition you just created.

Type "format fs=ntfs quick" and press Enter to format the USB drive using the NTFS file system. The "quick" option tells the utility to perform a quick format, which means it will only erase the data and not perform a full scan of the drive.

Type "assign" and press Enter to assign a drive letter to the USB drive.

Type "exit" to close the Diskpart utility and return to the Command Prompt.

You should now have a formatted USB drive that is ready to use. Keep in mind that formatting a drive will erase all data on it, so make sure to back up any important files before formatting.












Previous Post Next Post