How to Format a Flash Drive without Losing Data on Windows 10/11

7861

format usb without losing dataWhen Windows says that your USB needs to be formatted, it’s often due to an error that has occurred. In most cases, the USB flash drive will still contain data you need to retrieve. But, what do you do if the problem that has arisen is preventing you from accessing the USB?

Thankfully, there are proven solutions that will help you get your data back and restore the flash drive to working order. Read on to explore our curated and tested methods on how to format a flash drive without losing data.

Can You Format a USB Without Losing Data?

Formatting, by design, wipes all file system metadata. In doing so, any reference to the data is removed. Then, depending on the type of format you performed, the data is either recoverable or lost for good. Here is how the two most common formats work:

  • Quick format – A quick format deletes the metadata only. The data itself is still on the flash drive, albeit inaccessible. This data can be recovered. Keep in mind that if you reformat with the same file system, only recovery by file signature will be possible.
  • Full format – With a full format, zeros are written to each sector or block. Unlike a quick format, the contents of each file are erased too. After a full format has wiped all the drive’s data, recovery is unrealistic in any capacity.

To format a USB without losing data, the data needs to be backed up or recovered. However, it can be challenging if the USB is faced with a problem where it can’t be accessed like normal (for example, a corrupted file system). This is where data recovery software comes in. It can scan your flash drive and recover the data that was deleted by a quick format.

We’ve broken down this guide into two parts. First, we’ll focus on data recovery, then we’ll guide you through formatting the USB flash drive.

How to Back Up Data From a USB Flash Drive

We’ll show you two possible methods for recovering data from a USB flash drive, one where the data isn’t accessible, and one where it is.

Scenario 1: The Data Isn’t Accessible

Based on our experience, most readers who land on this page are looking for a solution because the data is inaccessible, likely due to USB corruption or system-related errors. In this state, apps like File Explorer won’t see the files.

To bypass what’s causing the data to be inaccessible, you’ll need data recovery software. There are many to choose from, but we prefer Disk Drill, as it offers great support for common flash drive file systems (FAT32, exFAT, NTFS) and supports an extensive library of file signatures – perfect if the file system records have been (1) too severely corrupted, or (2) overwritten by a reformat of the same file system.

Data recovery works even in most instances where the USB flash drive isn’t being recognized. As long as it’s showing in Disk Management with the correct size, Disk Drill can scan it.

The steps below will guide you through recovering data from a flash drive:

  1. Download and install Disk Drill.
  2. Connect your USB thumb drive and select it. Click Search for lost data.Scanning the flash drive.
  3. Click Universal Scan if you want to scan for any and all data. Advanced Camera Recovery is for fragmented video recovery from cameras and drones.Starting a universal scan of the USB.
  4. Click Review found items when the scan is finished. If you want to recover everything straight away, click Recover all… instead.Reviewing the USB thumb drive's data.
  5. Select the data that you want to recover. Be sure to use the preview panel where necessary, and keep in mind that any file that’s previewable can be recovered. To make it faster, you can also use the filter buttons to refine your search. Existing data will be under the Existing dropdown, while deleted or lost files will be under Deleted or lost, as well as Reconstructed if they were found by signature. When you’re ready, click Recover.Recovering the USB flash drive data.
  6. Choose an appropriate output location. If the drive is still accessible, make sure you’re not choosing a location on the same USB you’re recovering from. To finish, click Next.Confirming USB data recovery.

Disk Drill lets you recover up to 100 MB for free on Windows, which is usually enough to recover essential files or just try the software. However, scanning for and previewing data, backing up your flash drive, or enabling active data protection are all completely free.

Scenario 2: The Data Is Accessible

If your USB is being read by your computer like normal and you can access all of its contents, you simply need to back up the data using File Explorer. This may be obvious to many, but it’s worth mentioning anyway. The data should be copied to a local drive or another external storage device with sufficient space. Furthermore, this copy should be left intact until after the reformat is complete.

Follow these steps to back up data in File Explorer:

  1. Open File Explorer and navigate to your USB.
  2. Click View, then Show, then make sure Hidden items is ticked. This lets us view files even if they’re hidden, so they’re not missed.Showing hidden files.
  3. Copy the contents of the USB.Copying the USB drive data.
  4. Paste it to a location on your computer or another healthy storage device.Pasting the USB drive data.

How to Format USB Drive on Windows

Once your data is safely recovered and backed up, you can proceed to format the USB. Formatting a USB is a great way to remove most forms of logical damage it has sustained and restore it back to working order.

We’re going to show you a few ways you can go about formatting your USB drive.

For the vast majority of you, Method 1 or Method 2 will suffice. Even so, we’ve included some command-line alternatives that may be useful in some edge cases.

Method 1: File Explorer

File Explorer is most probably the easiest way to format a USB flash drive, as all Windows users are familiar with it. In just a few clicks, your USB drive can be formatted and ready to store data once more. Here’s how you can format your USB flash drive through File Explorer:

  1. Open File Explorer and click This PC.
  2. Right-click your USB flash drive and click Format.Formatting the USB drive.
  3. Input a volume label and choose a file system. The file system you choose depends on how you want to use the flash drive:
      • exFAT is the default for flash drives and offers excellent cross-compatibility with other operating systems (OS).
      • NTFS is for Windows-only use where you’ll be storing large files or making use of its built-in security features.

    The new volume label.

  4. Choose which format you’d like to perform. The Quick Format option is ticked by default, as it’s the generally preferred option, especially if time is a priority. However, you can untick to perform a full format, which can be useful in instances like:
      • The USB drive is showing signs of instability.
      • The drive is being reused, and you want to erase sensitive files.
      • You want to scan for bad sectors early to avoid future issues.

    Choosing to perform a quick format.

  5. Click Start.Starting the format.
  6. Click OK when asked to confirm the action.

Method 2: Disk Management

Disk Management is another easy way to format a USB drive, and is sometimes the better option if the USB drive isn’t showing up in File Explorer at all. However, you must be careful, as Disk Management shows all currently connected drives.

To make sure you’re selecting the correct USB drive, cross-check the capacity with what’s physically printed on the flash drive casing and make sure it has the “Removable” label in Disk Management.

Follow these steps to format your USB drive using Windows Disk Management:

  1. Right-click Start and click Disk Management.Opening Disk Management.
  2. Right-click the volume of your USB and click Format.The format option.
  3. Choose your desired format parameters. This is where you can also change the format of the USB. Make sure Perform a quick format is ticked if you’re intending to do a quick format, then click OK.Formatting with Disk Management.
  4. Click OK again.

Is your disk showing as Not Initialized? You’ll need to initialize it by right-clicking disk (in the left pane), then clicking Initialize Disk. You’ll have the option to choose between MBR (for older systems with legacy BIOS) or GPT (for modern systems with UEFI). Learn more about GPT vs MBR.

Method 3: PowerShell

PowerShell is a command-line config management program. With it, you can perform various administrative tasks and operations, such as formatting.

This method will involve formatting the entire flash drive and creating a single partition. So, if you have other partitions on the flash drive, be sure to back the data up first.

The below instructions will guide you through formatting a USB flash drive using PowerShell:

  1. Right-click Start and click Terminal (Admin). Alternatively, open Start and search for PowerShell. Open it as an administrator.Opening elevated Terminal window.
  2. Type Get-Disk and press Enter. Make note of the disk number associated with your USB flash drive.Getting disks.
  3. Type Clear-Disk -Number X -RemoveData -Confirm:$false. Replace X with your USB drive number. Press Enter.Clearing the disk.
  4. Type Initialize-Disk -Number X -PartitionStyle MBR. If you want to use GPT instead, replace MBR with GPT. Press Enter.Initializing the disk.
  5. Type New-Partition -DiskNumber X -UseMaximumSize -AssignDriveLetter | Format-Volume -FileSystem FAT32 -NewFileSystemLabel "MyUSB" -Confirm:$false.. Replace X with your USB drive number, and MyUSB with what you want to name the drive. Press Enter.Creating a new partition.

Method 4: Command Prompt (CMD)

Command Prompt is another reliable way to format a USB flash drive using a CLI. We’re going to guide you through two ways, one using DiskPart and the other using the standalone format command.

Format Command

  1. Right-click Start and click Terminal (Admin).
  2. Type format *: /q /fs:exfat. Replace * with the drive letter that’s assigned to your USB drive. If you’re planning on formatting in NTFS, replace /fs:exfat with /fs:ntfs instead. Press Enter, and press Y if prompted to confirm.The CMD format command.
  3. Provide a volume label if needed, then press Enter.Choosing a volume label.
  4. Type Y then press Enter to confirm the format.Confirming the format in CMD.

DiskPart

  1. Right-click Start and click Terminal (Admin).
  2. Type diskpart and press Enter.Opening diskpart.
  3. Type list disk and press Enter. Make note of your flash drive’s disk number.Listing the disks.
  4. Type select disk *. Replace * with your disk number. Press Enter.Selecting the disk to format.
  5. Type clean and press Enter.Cleaning the disk.
  6. Type create partition primary and press Enter.Creating a primary partition.
  7. Type format fs=FAT32 quick and press Enter.Formatting the disk.
  8. Type assign and press Enter.Assigning a drive letter.

Trouble Formatting Your Flash Drive?

Tried all of the methods in this guide and still unable to format your flash drive? You’re not the first, and this is likely indicative of more severe USB drive issues. It’s not uncommon for Windows to throw an error when trying to format a problematic drive, even with multiple different tools.

Even though you may know how to format a pendrive without losing data, formatting still usually fails when:

  • The drive is write-protected. While write-protected, you won’t be able to format the USB drive. If it’s software-related, you will need to select the drive in DiskPart and run attributes disk clear readonly. You can also do this in Disk Drill by right-clicking the drive and clicking Remount volume in read/write mode. Some rare USB drives even have a physical write-protection switch, which you can flip to the “Off” position to allow formatting.
  • There’s a physical issue. Worn-out NAND flash cells, a failing or damaged controller, loose or bent connectors, and PCB damage are just some of the physical issues that could be impacting your USB flash drive. These problems are more extreme, and specific steps are required to recover data from a broken USB flash drive.
  • Firmware-level issues prevent formatting. If the flash drive’s internal firmware is corrupted, the controller may report the incorrect capacity, lock the drive into read-only mode, or fail during low-level operations like formatting. Sometimes these issues are only resolved through your flash drive manufacturer’s repair utilities.

You may have a better shot of formatting with third-party tools instead, as they can sometimes be more aggressive in forcing the format. The HP USB Disk Storage Format Tool, for example, is a very simple tool that works well on older, more stubborn drives. And as we mentioned above, it’s worth checking your manufacturer’s support site for dedicated tools. Some examples include SanDisk’s RescuePRO Deluxe, PNY USB Flash Driver Format Tool (Ufix), and Transcend JetFlash Online Recovery.

It is possible that the USB drive is simply too far gone. The drive may be physically damaged, or nearing the end of its read/write limit. That said, most flash drive can be revived with the right approach. If you’re not sure whether the USB is failing or just acting up, see our guide on how to check your USB flash drive’s health.

FAQ:

When you format a USB drive, you are writing a new file system to the USB. In doing so, all of the data on the USB is deleted. In order to format without losing data, you must back the data up first.
First, let’s distinguish between the terms ‘erase’ and ‘delete’ when discussing how to format a USB drive without losing data. Most of the time when something refers to erasing data, it’s unrecoverable. However, when you delete data, there is still a chance for it to be recovered. Formatting a drive will behave differently depending on the type: a quick format only removes the file system metadata, making the data invisible but technically recoverable for a time, while a full format overwrites every sector/block on the drive, erasing the data and rendering it unrecoverable.
Typically, USB flash drives come preformatted and ready to use. However, there may be times where you need to format it yourself. For instance, if you connect a USB to your Windows 10 or 11 machine and it’s in a RAW state (meaning it has no file system), you can format the USB to FAT32 (or your desired file system) to begin using it. If it comes with a different format than you desired and you’ve already begun writing data to it, you can change the USB format without deleting files by backing the files up first.
The only reliable option to change USB format without losing data is the convert.exe tool on Windows, and this is limited to converting FAT16/32 to NTFS (convert X: /fs:ntfs). Even though this is an official method, it still pays to back up the data before running the command. Some third-party tools like AOMEI Partition Assistant may include a feature that can convert from one file system to another without data loss, but these are not considered reliable and you should instead back up the data to another storage device, reformat the USB drive, then move the data back.
USB flash drives use NAND cells to store data, which only have a finite number of write/erase cycles. The amount of write/erase cycles differs based on brand/model and NAND type, and a lot of the time it’s not public information. Every format counts as a write operation, and will contribute to the total number of write cycles you have left. Most consumer flash drives can handle normal use for years before wearing out, but expect this to be much shorter if you’re formatting every other day.
0 COMMENTS
This field is required
This field is required
We respect your privacy; your email address will not be published.

We respect your privacy; your email address will not be published.

You have entered an incorrect email address!
This field is required