External Data Storage

Can’t Format USB Flash Drive: How to Fix this Error

Windows users are used to facing common errors like the blue screen of death (BSOD) and their many error codes. One common flash drive error that can pop up on the Windows system is the Can’t Format USB Flash Drive message when inserting a flash drive into the computer. 

Several things can cause the can’t format flash drive error, such as: 

  • Damaged drive
  • Unrecognized file system
  • Malware or viruses 
  • Bad sectors
  • Write-protected enabled

Here are six quick solutions that can help you regain access to your flash drive if you are getting the Can’t Format USB Flash Drive error on Windows every time you connect your device. 

Pro tip: If you’re unable to solve the issue, then you’ll have to contact a flash drive data recovery service to retrieve your files.

Solution 1: Check if the USB flash drive is properly connected

You may have tried this already, but it’s always worth unplugging the USB drive and then plugging it back in. Clean the USB connectors before inserting the flash drive into the computer again.

If the drive is not showing up at all, then there might be a hardware issue that needs to be addressed. 

Solution 2: Check whether the drive is set to read-only

If your flash drive has the write-protected switch, and it’s enabled, you will not be able to open the files or save new data on it.

You can change your USB read/write settings at the properties of the drive or switch the physical lock on the device if it has one.

Solution 3: Try formatting the drive with a different file system

Windows supports NTFS, FAT32, and exFAT file formats. Any storage media or partition formatted with an unsupported file system will show up as a RAW or corrupt drive. 

You can change the file format to make the device available to your Windows computer.

How to change the USB flash drive file format:

  1. Plug in your flash drive to your computer and open File Explorer to select This PC.
  2. Right-click on your USB drive and select Format.
  3. In the File System dropdown, select the file format you wish:
    • Use NTFS if you only use your USB flash drive on Windows.
    • Use exFAT if you need to allow both Mac and Windows computers to read and write to the storage device.
  4. Click the Start button and wait for the process to finish.

Solution 4: Check for bad sectors

Bad blocks, or bad sectors, can happen if the drive was not properly ejected from a computer or if there was a sudden power failure. 

To check for bad sectors, go to:

Windows Explorer > right-click on the flash drive > Properties > Tools > Error Checking > Check now

Solution 5: Check for malware or viruses

With your drive connected to the computer, find it in the File Explorer or This PC and right-click it. Choose to scan the device using your antivirus program.

If the flash drive is infected with a virus or malware, you can erase it with the antivirus program. 

Solution 6: Use CMD to format the USB drive 

One way to fix the Can’t Format USB Flash Drive is to use the Command Prompt. 

  1. Open the Command Prompt by searching for it on the search box and opening it as an administrator.
  2. Then, type in the following commands, hitting Enter after each:

    cmd

    diskpart

    list disk

    select disk n (replace n with the number of your USB drive)

    clean

    create partition primary

    select partition 0 (this is the newly created partition)  

    active  format fs=fat32 (you can also use NTFS if you want)

    Assignexit

  3. After you have done this, your USB drive should work properly

How to safely format or wipe the USB drive 

As you fix the issue and can format your USB flash drive, you must do so securely and actually wipe the flash drive. That’s because formatting leaves traces that make it possible to retrieve the data once stored in the device. 

So, if you’re lending, gifting, or selling your USB flash drive, it’s a good idea to wipe the drive to permanently erase its contents.

Steps to safely format the USB flash drive

  1. Press the Windows key + R to open Disk Management.
  2. Type diskmgmt.msc then click OK. 
  3. Find the disk and right-click on it to select Initialize Disk.
  4. Right-click the Partition box to select Format                                                                           
  5. Customize your flash drive name and choose a file system.
  6. Once the volume displays Heath (Primary Partition), you may close the Disk Management.

Steps to safely wipe USB flash drive

SalvageData free software offers you the option to securely wipe your internal and external storage devices, including the flash drive.

To use it, download the SalvageData software and double-click it to execute the installer.

  1. Click on the Secure Wipe option.                                       
  2. The software will all storage devices connected to your computer. Click on your USB flash drive.
  3. Go to the Options menu in the upper right corner. Then change the settings to your preferences.   
  4. After that, click the hard drive below Disk Information and open LIST FILES.
  5. Once the scan finishes, select the files and folders you wish to erase from your hard drive. To make sure no data is left, select all boxes on the left sidebar.       
  6. Confirm to erase the files.

    Pro tip: If regret formatting your flash drive or discover files with no recent backup, SalvageData offers a free solution for at-home data recovery. Install our recovery software for easy recovery of your files.

Share
Heloise Montini

Heloise Montini is a content writer whose background in journalism make her an asset when researching and writing tech content. Also, her personal aspirations in creative writing and PC gaming make her articles on data storage and data recovery accessible for a wide audience.

Share
Published by
Heloise Montini

Recent Posts

What is DDoS and How to Handle It

A Distributed Denial of Service (DDoS) attack is a malicious attempt to disrupt the normal…

1 month ago

How to Safely Use Mac Recovery Mode

Mac Recovery Mode is your go-to solution for troubleshooting, repairing, and restoring your device. This…

1 month ago

What is Data Recovery Software and How it Works 

Whether it's due to accidental deletion, hardware failure, or malicious attacks, data loss can be…

2 months ago

NOOSE Ransomware: How to Remove

NOOSE ransomware is a variant of the Chaos ransomware family. Like other ransomware, NOOSE encrypts…

2 months ago

Alpha Ransomware: How to Handle the New Cyber Threat 

Alpha ransomware is a new player in the cyber threat field. The threat actors responsible…

2 months ago

INC. Ransom: Complete Guide on the new Cyber Threat

INC. Ransom represents a new breed of ransomware operations that go beyond mere data encryption…

3 months ago