How to Format USB Flash Drive Without Losing Data

Profile Alejandro S. Profile Yevgeniy T.
 and 

Last update:

447

The situation: (1) you have important data on a USB flash drive. (2) Your flash drive is corrupted, so it asks to be formatted every time you connect it to your computer or attempt to open it in Explorer. (3) However, formatting your flash drive will wipe all its data…. What now?

It takes a few extra steps, but it’s possible to format a USB without losing data – even if that flash drive is corrupted. We’ll show you how.

What Happens When You Format a USB

The term “formatting” gets thrown around a lot, but there are 3 distinct processes that are done on USB flash drives – and other storage devices – to prepare them for use:

  • Low-level formatting. Typically done by manufacturers, this process configures the physical structure of the drive (including sector and track layout). Normal users can and should apply low-level formatting if high-level formatting won’t work (more on this later).
  • Partitioning. Partitioning divides a physical drive into multiple “logical” or “soft” drives. It’s like slicing a pizza into several pieces, where each piece is considered by the computer as an individual drive.
  • High-level formatting. High-level formatting is what most users are familiar with. This process installs the file system (like exFAT, FAT32, NTFS, etc.), sets up the directory structure and file allocation table, and more. This can usually be done very easily via built-in disk management tools.

Of these processes, only partitioning has a good chance of keeping your data intact. However, you can only make a partition out of the remaining free space of your drive to avoid data loss. Even then, it’s not always a 100% success – especially if something goes wrong during the process (like improper partitioning or sudden power loss).

High-level formatting, on the other hand, offers a Quick Format option (which we’ll talk about later) that doesn’t completely erase your data… But you won’t be able to access it in Explorer. You will need to use third-party data recovery software to get it back.

Reasons Why USB Flash Drive Asks to Be Formatted

If your USB is asking to format before use, it’s a sign of severe damage or incompatibility. Specifically, these are the reasons why this prompt appears:

  • ⚠️ Corruption – Corruption may be caused by malware, improper ejection, faulty software, and other forms of logical damage. When corrupted, your USB may appear RAW, ask for a format, or may not even appear at all. However, you can recover files from a corrupted USB using data recovery software.
  • File system error – There may be issues with your USB flash drive’s file system or it may be using an incompatible file system. Currently, Windows only supports exFAT, FAT32, and NTFS formats.
  • 🦠 Virus/malware infection – Malware alters the behavior of your drive and may cause corruption.
  • 💻 System incompatibility – If you used the thumb drive on a different device, it’s possible that configurations were installed that are incompatible with the current device.
  • 🔥 Physical damage – USB flash drives are prone to extreme temperatures, water damage, wear and tear, and breakage – all of which may cause your drive to behave unpredictably.
In most of these cases, you still recover files from a USB that needs formatting. However, if you think your drive has sustained physical damage, stop using your drive immediately and send it to a professional data recovery service instead.

Does Formatting a USB Delete Everything?

Quick formatting and full formatting, while similar on the surface, are actually 2 different processes that produce different results.

  • Quick formatting only deletes the file system and leaves the data intact. You will still need data recovery tools to extract it though because you won’t see your data in File Explorer.
  • Full formatting, on the other hand, erases everything on the flash drive. Full formatting fills the drive’s sectors with zeroes, making data irretrievable. It also excludes bad blocks from being used afterward, which prevents old errors from being carried over.

How to Format USB Without Losing Files

So, how do you secure your files if your USB asks to be formatted the moment you connect it to your computer? 

  1. Create an image backup of your flash drive – this is a byte-to-byte copy of your data that can be used as a recovery target. We can then recover all the data from the image backup.
  2. Once the data from the image backup is in a secure location, the USB flash drive can be safely formatted (there are multiple ways to do this).

This process will allow you to format a severely corrupted USB flash drive without losing any files. We’ll go through each step in detail in the sections below.

Step 1. Backup (and Restore) Important Files Using Data Recovery Tool

First, we want to create an image backup that we can use to recover data from later. For this task, we’ll be using an app called Disk Drill. It provides a free image backup tool along with its main feature, data recovery.

We primarily chose Disk Drill for this task for 3 reasons. First, it supports both Mac and Windows file systems likely used for USB flash drives, including ExFAT, FAT32, as well as HFS+ and APFS (signature scan only). Second, it provides a free backup tool, which is not that common for recovery software – even paid ones.

Finally, it has a good chance of recognizing your USB even if it appears as RAW or doesn’t show up in File Explorer (as long as it shows up in Disk Management along with its disk size). We’ll demonstrate how to use it in the guide below.

We’ll go over more of Disk Drill’s relevant features in the recovery section (below this section), but you can also check out our Disk Drill review if you want to learn more.
  1. Download and install Disk Drill.
  2. Launch Disk Drill.
  3. On the left sidebar, click Byte-to-byte backup. If this is the first time you’re opening this tool, click OK let’s do it. Then, select your flash drive and click Create backup.Disk Drill backup creation menu
  4. Choose a folder on your computer where Disk Drill will save the image backup. Then, click OK.Disk Drill backup dialogue
  5. Wait for Disk Drill to complete the image creation process. Then, click the home button.Disk Drill home button
Note: Disk Drill provides its backup tool for free, but you can only use its recovery tool to restore up to 500 MB of data for free. Free data recovery software exists, but as we mentioned, very few of these tools (including paid ones) provide a backup tool.

Restore Your Image Backup With Disk Drill

Before we format the USB flash drive, let’s restore the data from the image backup we created in the last section. This way, we can be sure that all our files are safe and we can format the pendrive without losing data.

We’ll be using the same app we used to create the backup – Disk Drill. Aside from supporting various file systems, it also recognizes more file signatures than other popular solutions (400+ in total). This is perfect for USB flash drives because they tend to be used to store a variety of file types.

sd
You can use any data recovery software you want (as long as it supports disk image recovery). In fact, we’ve got dozens of reviews and comparison articles on our website if you want to shop for another solution. You can also take our interactive survey for a personalized recommendation!
  1. If you closed the Disk Drill window, launch it again. If you are following these instructions right after creating a backup, click Storage Devices in the left sidebar (under Data Recovery). Then, click Attach Disk Image at the bottom of the window.Disk Drill image attachment button
  2. Select the image backup you created in the last section and click Open.Disk Drill backup image selection
  3. Select the image backup from the drives list and click Search for lost data.Disk Drill drive selection
  4. Once Disk Drill completes the scan, click Review found items.Disk Drill scan completion screen
  5. Click the arrow beside Existing to expand it. These are the files that were present on your flash drive when the backup was created. You can also check out the Deleted or lost and Reconstructed tabs for files that were deleted due to corruption or accidental reformat. Clicking on any file will display a preview in the right pane.Disk Drill existing image backup files
  6. Select the files and folders you want to restore by ticking the boxes in the leftmost column. You can also tick the box in the column header to select all files. Then, click Recover.Disk Drill file recovery selection
  7. Choose a destination folder for the recovered files. You can click the Browse button to select a specific folder. Then, click Next.Disk Drill USB recovery dialogue

Once you’re done with the flash drive data recovery process, you can safely format your USB without losing files!

Step 2. Format USB Drive

Once your data is secure, you can safely format your drive without losing your files. Below are 3 different ways to format your USB flash drive using native Windows USB format tools.

Note: All methods in the following guides will completely erase your data. If you want to learn how to format your USB without losing data, read this section first.

2.1. Format Flash Drive Using CMD (diskpart)

Command Prompt (or “CMD”) is a Windows command line program. Using the Diskpart command, users can directly manipulate their disks, partitions, and volumes. We’ll teach you how to use it to format your USB flash drive.

  1. Launch Command Prompt as Administrator.Command Prompt in Start Menu
  2. Type the following command and hit Enter: diskpartDiskpart command in Command Prompt
  3. Type the following command Enter: list diskList disk command in Command Prompt
  4. Take note of your flash drive’s Disk ### in the first column. Then, type the following command (without quotes) and hit Enter: select disk “Disk #”Select Disk command in Command Prompt
  5. Type the following command, which clears a USB stick of its data and metadata, and hit Enter: cleanClean command in Command Prompt
  6. Type the following command and hit Enter: create partition primaryCreation Partition command in Command Prompt
  7. Type the following command and hit Enter: format fs=exfatFormat command in Command Prompt
  8. Type the following command (replace “x” with any letter you want) and hit Enter: assign letter=xAssign Letter command in Command Prompt

After entering these commands, the formatting process will be complete. Exit Command Prompt and try using your USB.

2.2. Format USB Stick Using Disk Management

Disk Management is another native Windows tool. Unlike Command Prompt, it has a visual interface where users can edit their disks, volumes, and partitions with a few clicks.

  1. Launch Disk Management by pressing the Windows + X keys > Disk Management.Disk Management in Windows quick menu
  2. Right-click your USB flash drive and click Format.Format button in the Disk Management app
  3. Label your drive and select ExFAT as its File System. Then, disable the Perform a quick format setting (you can enable it if you want to change the USB format without losing data, but you’ll still need to use data recovery software). Finally, click OK.Formatting dialogue in Disk Management
  4. Click OK again to confirm.Formatting confirmation in Disk Management

2.3. Format USB Stick In File Explorer

You can also format your drive directly in File Explorer (if it appears there). With your drive connected, launch File Explorer. Navigate to This PC, right-click your drive (or right-click it in the sidebar), and click Format.

Format button in File Explorer

Name your drive, select the exFAT format, and disable Quick format so we can get rid of the errors. Then, click Start.

Standard formatting menu

How to Format Flash Drive That Windows Was Unable to Format

If you encountered errors during the formatting process, try performing a low-level format. Low-level formatting will return your drive to its factory state and delete all stored information. For this task, we can use a free app called the HDD LLF Low-Level Format Tool.

Warning: This method will wipe your drive. If you want to repair or format your USB drive without losing data, read this section first.
  1. Download and install HDD LLF Low-Level Format Tool, and launch it from your Desktop or Start Menu.
  2. Accept the license agreement and click Continue for free when prompted to upgrade.HDD LFF Low Level Format Tool license free version button
  3. Select your USB flash drive from the list and click Continue >>>.HDD LLF Low Level Format Tool drive selection menu
  4. Navigate to the LOW-LEVEL FORMAT tab and untick the box beside Perform quick wipe (just remove partitions and MBR). Then, click FORMAT THIS DEVICE.HDD LLF Low Level Format Tool format button
  5. In the dialogue box that appears, click Yes to proceed with formatting.HDD LLF Low Level Format tool confirm button

Once the process is complete, Windows may prompt you to perform a high-level format when you try to access it in File Explorer. This will allow you to label your drive, assign it a letter for mounting, and install the file system of your choice.

Frequently Asked Questions

Does formatting a USB drive wipe it?

Yes, formatting a USB drive will wipe it. However, Quick Formatting leaves your data intact and allows users to restore their files using a data recovery tool. Full formatting, on the other hand, writes zeroes all over your data – this will make your files pretty much unrecoverable.

To change your USB format without losing data, save your files to another location first! If you can’t access the files on your flash drive, you need to create an image backup of the drive, which you can then restore to a safe location. You may also avoid an irreversible data wipe by performing a Quick Format, but you still need data recovery software to retrieve your files.

To format a USB without losing data on your Mac, try copying the existing files to another location first. If you can’t access your files, use Disk Utility or a third-party application to create an image backup of your flash drive. You can then restore your files after the formatting process.

In case of severe logical damage, Windows automatically prompts you to format your USB flash drive upon connection (or clicking it in File Explorer). Cancel the prompt and use third-party software to create an image backup of your drive, which you can restore after formatting.

To backup a USB drive, copy and paste your files to another location or use backup software. If you opt to use software (or you have no choice due to errors), we recommend creating an image backup specifically – this type of backup will copy every single byte of data from your drive.

Conclusion

In conclusion, it’s definitely possible to format your USB flash drive without losing data. Just remember the following: (1) back up your data first! Even if you can’t access your files in Explorer, you can create an image backup that you can recover later. (2) Enabling Quick Format will keep your data intact, but you still need data recovery software to restore it.

(3) Finally, even if Windows prompts you to format your drive the moment you connect it, you can cancel the prompt and create a backup before proceeding with the format. Good luck!

Help Us Improve This Article
Was the provided information useful? Your vote is important to use!
18995
Alejandro Santos
Author

Alejandro is a veteran writer with a rich background in technology. He worked part-time in his uncle’s repair and recovery shop as a young boy, and now uses his experience and writing skills to produce content for multiple tech websites – specifically on the topic of data recovery. As an author for Pandora Recovery, he is constantly testing and experimenting with new tools and technology to help his readers find the best software for their needs.

Alejandro’s recent review
Alejandro’s recent publishings
Yevgeniy Tolkunov
Yevgeniy Tolkunov
Approver

Yevgeniy Tolkunov is Hardware Engineer at ACE Data Recovery. Yevgeniy has a Master's Degree in Physics, Information Technology; 15+ years of experience.