Close Menu
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook X (Twitter) Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home » Storage

How to Format a USB Drive

Abhishek SilwalBy Abhishek SilwalMay 23, 2023
how to format a usb drive

Any storage device, including a USB flash drive, has two components—storage areas where you can store your data and hidden partition data that defines the file system and storage locations in the drive.

Formatting a drive recreates the partition data while erasing all the contents inside the drive making it ready for future use.

Whenever you encounter any issues with a USB drive, such as malware infection or data corruption, formatting the drive is the best solution as it removes all the unnecessary data.

Types of Formatting

There are two types of formatting—a full format and a quick format. While a full format erases all data on the USB drive by changing its bits to 0, which takes a lot of time, a quick format only marks the space as empty without actually removing its contents, so it’s quicker. 

It is possible to recover data after a quick format by using some recovery software. But, it’s always recommended to backup any necessary data somewhere else before performing either type of formatting.

Note:

A full format will decrease the lifespan on the drive. So, if you don’t really need to completely erase all the data on a USB flash drive, it’s best to always use a quick format.

But in some cases, like a malware infection, a full format is the best option.

How to Format a USB Drive on Windows?

Windows offers many ways to format a USB drive. You can use graphical interface like the Disk Management utility as well as command-line interfaces like CMD, PowerShell, etc., for this purpose.

Using Context Menu

The easiest way to format a USB drive on Windows is by using the right-click Context menu. It is a Graphical User Interface (GUI) method that’s easy to perform and doesn’t have complex steps.

But you won’t be able to reformat a USB drive that already contains multiple partitions into one partition with this method.

  1. Press Windows key + E to open the File Explorer.
  2. Go to This PC.
  3. Here, right-click on the USB drive and select Format.
    this-pc-usb-drive-format
  4. Set the File system and Volume label (name of the drive) per your preference.
  5. Check Quick format if you want to perform a quick format. Uncheck it otherwise.
    context-menu-format-usb-drive-file-system-volume-label-quick-format
  6. Click on Start and then OK.

Through Command Prompt

You can also use the format command on Command Prompt to directly format a USB drive. Like with the above method, it can only format USB drive volumes and not the whole drive.

  1. Open Run by pressing Windows + R.
  2. Type cmd and press Ctrl + Shift + Enter.
  3. Enter one of the commands below depending on your need while replacing the file system (fat32, exfat, ntfs, refs, udf, etc.) and the drive letter accordingly. Here, I will have considered the USB drive volume as E: and NTFS as the target filesystem.
    • format E: /fs:ntfs /q for a quick format.
    • format E: /fs:ntfs for a complete format.
      usb-format-e-fs-ntfs-q-command-prompt
  4. Press Enter again. Type a Volume label you want (or leave it blank) and press Enter to begin the format.
  5. You can also use many other parameters. Enter the command format /? On the Prompt to learn about them.

Through Diskpart Command-line Interface

The Diskpart Command-line interface offers several ways of managing your storage disks and partitions. Similar to the above, you can format a USB volume with this method.

However, it is also useful if you have partitioned the drive into multiple volumes and wish to format all of them at the same time into a single volume. You need to erase all the partitions, create a new partition and then format it.

To format a USB drive containing multiple partitions or volumes,

  1. Open Run.
  2. Type diskpart and press Enter to open this CLI.
  3. Type the commands below and press Enter key after each command:
    • list disk (check the disk number of the USB drive by comparing the size)
    • select disk # (replace # with the above number)
    • clean
    • create partition primary
    • select partition 1
    • format fs=ntfs quick (you can replace ntfs with fat32 or exfat depending on your need. If so, use fat32 on drives smaller than 64 GB and exfat for 64GB and larger drives)
    • exit
      diskpart-format-usb-drive-clean-all-partitions
  4. The above commands will only perform a quick format. You can use clean all instead of clean or just format fs=ntfs without quick in those commands for a full format.

To format a USB drive containing a single volume,

  1. Open Run.
  2. Type diskpart and press Enter to open this CLI.
  3. Type the commands abelow and press Enter key after each command:
    • list disk (check the disk number of the USB drive by comparing the size)
    • select disk # (replace # with the above number)
    • list partition (check partition number in a similar way)
    • select partition # (replace # accordingly)
    • format fs=ntfs quick (you can use any other file systems like fat32 or exfat. You can also omit quick to perform a complete format)
    • exit
      diskpart-format-usb-drive-volume-list-partition-ntfs-quick

Using PowerShell

PowerShell works as an alternative for both Command Prompt and Diskpart. You can use it to directly format a drive volume or clean the USB drive by removing all partitions, create a new partition and then format it.

  1. Open Run.
  2. Type powershell and press Ctrl + Shift + Enter to open the Elevated Windows PowerShell (v5). If you have PowerShell core (v6 and v7), you need to use the pwsh command instead.
  3. To format a USB drive partition or volume, use one of the following cmdlets while replacing the drive letter and the file system.
    • Format-Volume -DriveLetter E -FileSystem NTFS for a quick format
    • Format-Volume -DriveLetter E -FileSystem NTFS -Full -Force for a full format
      powershell-format-usb-volume-drive-letter-e-file-system-ntfs
  4. To clean all partitions of the USB drive and then format the drive,
    • Enter Get-Disk and note down the disk number of your USB drive.
    • Type Get-Disk # | Clear-Disk –RemoveData while replacing # with the disk number and press Enter. Press Enter again.
    • Enter the cmdlet New-Partition -DiskNumber # -UseMaximumSize while replacing # accordingly.
    • Then, type Get-Partition -DiskNumber # | Format-Volume -FileSystem NTFS (replace the disk number and the file system accordingly) and press Enter to perform a quick format.
    • If you want to perform a full format, enter Get-Partition -DiskNumber # | Format-Volume -FileSystem NTFS -Full -Force
      powershell-usb-get-disk-clear-disk-new-partition-get-partition-format-volume-ntfs

With Disk Management

Another GUI method to format a USB drive on Windows is through the Disk Management MMC snap-in. It is basically like the graphical alternative of Diskpart CLI, so it allows most of the functions of Diskpart. 

To format a USB volume using this program,

  1. Open Run.
  2. Type diskmgmt.msc and press Enter to open Disk Management.
  3. Right-click on the volume or partition of the USB drive and select Format.
    format-usb-drive-disk-management
  4. Choose the Volume label and File system as you wish.
  5. Check or Uncheck Perform a quick format depending on your need and click OK.
    format-usb-drive-disk-management-file-system-quick-format
  6. Confirm with OK.

If the USB drive has more than one volumes and you want to format all of them to create a new volume, 

  1. Right-click on each partition and select Delete Volume > Yes.
    disk-management-delete-volume-usb-drive-partitions
  2. Right-click on the Unallocated space and select New Simple Volume > Next > Next > Next.
    disk-management-usb-drive-unallocated-space-new-simple-volume
  3. Set the formatting options per your need and click Next > Finish.

How to Format a USB Drive on Mac?

You need to use the Disk Utility on Mac to format a USB drive. Here, Apple uses the name Erase instead of Format for this process.

After inserting a USB drive into your Mac,

  1. Open Applications and go to Utilities > Disk Utility.
  2. Look for your USB drive you wish to format. If the USB drive has multiple partitions, you need to delete them first.
    • Select a partition or the drive.
    • Click on Partition from the top menu.
    • Click on the minus (-) sign under the pie chart until only a single partition is remaining. Then, select Apply > Partition.
      minus-sign-delete-partition-mac-disk-utility
    • After the process finishes, select Done.
  3. Click on the USB drive and choose Erase.
  4. Specify the Name and Format per your need. Newer Macs all use APFS, older Macs (before High Sierra) and drives for Time Machine need Mac OS X Extended. FAT32 (for 32GB and below drives) and ExFAT (for 64 GB and above drives) are compatible with both Mac and Windows.
  5. Click Erase and then Done after the process completes.
    mac-disk-utility-usb-erase
how-to
Abhishek Silwal
  • LinkedIn

Abhishek Silwal is an Electronics Engineer and a technical writer at TechNewsToday. He specializes in troubleshooting a wide range of computer-related issues. His educational background in Electronics Engineering has given him a solid foundation in understanding of computers. He is also proficient in several programming languages and has worked on various robotics projects. Even in his early days, he used to tinker with various computer components, both hardware, and software, to satiate his curiosity. This experience has given him a breadth of experience that goes beyond his educational qualification. Abhishek has been writing articles on dealing with varieties of technical issues and performing specific tasks, especially on a Windows machine. He strives to create comprehensive guides on fixing many system and hardware issues and help others solve their problems. You can contact him at abhisheksilwal@technewtoday.com

Related Posts

hard drive clicking

Why is My Hard Drive Clicking? How to Fix It?

October 18, 2023
how to encrypt hard drive

How to Encrypt Hard Drive on Windows

October 8, 2023
recover data from hard drive

How to Recover Data from Hard Drive

October 16, 2023
raid drivers

How to Download and Install RAID Drivers ( AMD & Intel )

August 17, 2023
asus raid

ASUS RAID Setup: A Complete Guide

August 22, 2023
gigabyte raid

How To Configure RAID On Gigabyte Motherboard

September 20, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
computer died

Computer Died? Here’s What You Should Do Next

December 1, 2023
how-to-share-a-printer

How to Share a Printer on Network (Step-by-Step Guide)

November 28, 2023
Scanning and Repairing Drive

How to Fix Scanning and Repairing Drive on Every Boot?

November 24, 2023
You may also like
printer-not-printing

How to Fix a Printer That’s Not Printing

September 26, 2023
Share Location With Friends and Family

Share Location With Friends and Family (iPhone and Android)

September 18, 2023
how-to-print-without-a-printer

How to Print Without a Printer

September 18, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook X (Twitter) Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.