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

Written byHeloise Montini
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.

Edited byLaura Pompeu
Laura Pompeu

With 10 years of experience in journalism, SEO & digital marketing, Laura Pompeu uses her skills and experience to manage (and sometimes write) content focused on technology and business strategies.

Co-written byBogdan Glushko
Bogdan Glushko

CEO at SalvageData Recovery, Bogdan Glushko has over 18 years of experience in high-security data recovery. Over the years, he's been able to help restore data after logical errors, physical failures, or even ransomware attacks, for individuals, businesses, and government agencies alike.

I think there's an issue with my storage device, but I'm not sure
Start a free evaluation

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.

Fixing USB drive error on Windows

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.
How to change the USB flash drive file format:
  1. 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.
  2. Click the Start button and wait for the process to finish.
Step 2 Click the Start button

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.
Open Command Prompt as administrator
  1. Then, type in the following commands, hitting Enter after each:cmddiskpartlist diskselect disk n (replace n with the number of your USB drive)cleancreate partition primaryselect partition 0 (this is the newly created partition) active format fs=fat32 (you can also use NTFS if you want)Assignexit
Steps to Fix can’t format USB drive error with CMD
  1. 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
Steps to safely format the USB flash drive
  1. Customize your flash drive name and choose a file system.
Customize your flash drive name and choose a file system.
  1. 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.
  1. The software will all storage devices connected to your computer. Click on your USB flash drive.
  2. Go to the Options menu in the upper right corner. Then change the settings to your preferences.
  1. After that, click the hard drive below Disk Information and open LIST FILES.
  2. 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.
select the files to erase
  1. 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 this article

Related services

These are the most commonly requested data recovery services. At our headquarters' cleanroom lab, our certified engineers conduct a thorough review of any type of physical storage device, determining if there is logical or physical damage and carefully restoring all of the lost files.ces.

External Drive Data Recovery

We recover data from both external SSD and HDD drives. Rely on certified experts to restore your important files from damaged or corrupted external drives.

/services/data-recovery/external-drive/

Hard Drive Data Recovery

Recover data from all brands of HDD, PC hard drives, and hybrid disks. Our specialists ensure fast and secure recovery for any data loss scenario.

/services/data-recovery/hard-drive/

NAS Data Recovery

Recover data from NAS devices, including RAID configurations. Our team handles all types of NAS systems and ensures data recovery with minimal downtime.

/services/data-recovery/nas/

RAID Data Recovery

Our RAID data recovery services cover RAID 0, 1, 5, 10, and other configurations. We offer expert solutions for failed, degraded, or corrupted RAID arrays.

/services/data-recovery/raid/

SAN Data Recovery

Our team specializes in handling SAN devices from leading manufacturers like Dell EMC, HP, and IBM, ensuring efficient recovery with minimal disruption to your operations.

/services/data-recovery/san/

SD Card Data Recovery

Our recovery experts specialize in restoring data from SD and memory cards. We guarantee quick recovery with a no-data, no-charge policy.

/services/data-recovery/sd-card/

SSD Data Recovery

Our data recovery experts handle all SSD data loss scenarios with advanced tools, ensuring maximum recovery with high-security protocols.

/services/data-recovery/ssd/

USB Flash Drive Data Recovery

Recover lost data from USB flash drives, regardless of the damage or brand. We offer free in-lab evaluations to assess data recovery needs.

/services/data-recovery/usb-flash-drive/

If you’re unsure about which data recovery service to choose, let our team assist you in selecting the appropriate solutions. We understand the anxiety that comes with a sudden drive failure, and we are more prompt in our actions compared to other recovery service providers.