How to Recover Deleted Partition on a USB Drive

Written by
Approved by

recover lost partition on usb driveA deleted USB partition will render any files that were stored in it, inaccessible. However, you can undo this and recover the deleted partition on your USB drive. How? Well, by following our detailed guide below. We’ve also included a section on how to keep your data safe when recovering the partition.

What Is a USB Drive Partition

Partitioning a storage drive is an important way of organizing data. The partitions on your USB drive are separate logical divisions, viewed and treated as separate units by Windows. Typically, USB drives just have a single partition, unless you manually create separate ones. Each partition will have its own file system, and you can have multiple partitions with different file systems on a single USB drive.

USB partitions can be deleted, either accidentally, or because of logical damage such as corruption, and malware infections. Consequently, you will lose access to any data that was stored on the partition. Fortunately, in most cases, you can easily recover your data, and sometimes it’s also possible to recover the partition with the file system intact. Take a look at the next section for a detailed look at how to do so.

How to Recover Data from a Deleted USB Partition

Before you recover the actual partition, you must first recover your data from the USB drive. This way, even if you’re unsuccessful at recovering the partition, you will still have your files with you. Additionally, you can always create a new partition on your USB drive and copy these files back.

To recover data from the deleted USB partition, you’ll need an appropriate data recovery program, as not all data recovery tools work with a USB drive with a deleted partition.

Our recommendation would be to use Disk Drill as it can recover data from storage devices even if they’re corrupt, have a deleted partition, and don’t have a file system (RAW). It’s also easy to use, while being equipped with an advanced data recovery algorithm that’ll ensure you recover most, if not all, of your data in a few clicks.

Here’s what the data recovery process in Disk Drill looks like:

  1. Download Disk Drill and install it.
  2. Open Disk Drill, select your USB drive, and click on Search for lost data.Search for lost data in Disk Drill.
  3. Click on Review found items to view all recoverable files. You can also opt to filter out the results right away, by clicking on the relevant option (Pictures, Video, Audio, Documents, Archives, and Other).Review found items in Disk Drill.
  4. Expand the Deleted or lost and Reconstructed section to view deleted files that are recoverable. To view files that currently exist on the USB drive, expand the Existing section.
  5. Select the files you wish to recover and click Recover. Disk Drill will display a preview of the currently selected file, but you can manually preview any file by clicking the eye icon that appears when you hover the cursor over the filename.List of recoverable files in Disk Drill.
  6. Choose a recovery destination for the files and click Next. Don’t recover the files to the USB drive because you may need to format it again to create a new partition.Recovery destination prompt in Disk Drill.
  7. Disk Drill will recover your files. You can recover up to 500 MB of files for free as part of Disk Drill’s trial.

Once your files are safe, you can proceed to perform USB partition recovery.

3 Ways to Recover a Deleted Partition on a USB Drive

You have three primary options when looking to recover a deleted partition from your USB drive–use a USB partition recovery tool, recover the deleted partition using CMD, or use Disk Management to create a fresh partition. If you recovered your data beforehand, all three options will restore the USB drive to its original state.

Let’s take a look at the fixes:

Method 1: Recreate the Partition Using TestDisk

TestDisk is a capable partition recovery and repair tool that can search for lost or deleted partitions and help you regain access to your data. It is only held back by its lack of a proper graphical user interface (GUI). However, you need not fret about that since the steps below will guide you through the entire USB partition recovery process in a detailed manner.

Let’s get to it:

  1. Download TestDisk and extract the contents of the downloaded archive.
  2. You’ll use the arrow keys to navigate around TestDisk and press Enter to confirm your selection.
  3. Launch the testdisk_win.exe file from the TestDisk folder that you extracted.
  4. Decide whether you want to create a log file or not. Use the Up and Down arrow keys to highlight an option, and press Enter to select. You can choose any option you’d like here.Log creation screen in TestDisk.
  5. Highlight the USB drive from the list of storage devices and select Proceed.List of devices in TestDisk.
  6. Select a partition table type. TestDisk autodetects this, so it’s best to simply leave the selected option as it is and simply press Enter on this screen.Select partition table in TestDisk.
  7. Select Analyse and press Enter.Analyse option in TestDisk.
  8. Select Quick Search and press Enter. TestDisk will list the partitions.Quick search option in TestDisk.
  9. Highlight the partition of your choice and press P to view its files. If all your files are there, press C to go back.List files option in TestDisk.
  10. The listed partitions will have one of these characters before them–P, D, L, and *, denoting Primary, Deleted, Logical, and Bootable respectively. The partition you wish to recover will have a D before it and you need to mark it as P. To do this, select the partition using the Up or Down arrow keys, and press the Left and Right arrow keys to cycle between the P, D, L, and * characters.
  11. Once the partition has been marked as P, press Enter.Partition list in TestDisk.
  12. If you wish to search for more partitions, select the Deeper Search option and press Enter. If not, move to the next step.Deeper search option in TestDisk.
  13. Select the Write option and press Enter.Write option in TestDisk.
  14. Press Y on the confirmation prompt.Confirmation prompt in TestDisk.
  15. TestDisk will recover the partition. Reboot your PC after this.Reboot screen in TestDisk.

Method 2: Recreate the Partition Using Disk Management

Disk Management is an in-built Windows tool that lets you create and manage partitions on the storage devices connected to your Windows PC. Using the tool, you can recreate the partition on your USB drive and simply copy the data you recovered earlier to the new partition.

Here’s how to use Disk Management to recreate the partition on your USB drive:

  1. Search for “disk management” in Windows Search (Windows Key + S). Click on the Create and format hard disk partitions option from the search results. This will open Disk Management.
  2. Look for your USB drive in the lower half of the Disk Management window. Right-click on the space labeled as “Unallocated” and choose New Simple Volume.New simple volume option in Disk Management.
  3. Click Next on the New Simple Volume Wizard welcome screen.New Simple Volume wizard welcome screen.
  4. Choose the partition size using the Simple volume size in MB box. Click on Next.New Simple Volume wizard volume size.
  5. Pick the drive letter you wish to assign to the partition, using the Assign the following drive letter drop-down menu. Click Next.New Simple Volume wizard drive letter screen.
  6. Ensure the Format this volume with the following settings option is selected. Choose the File System and Volume Label (Name) you wish to assign to the partition and click Next.New Simple Volume wizard format screen.
  7. Click on Finish and Disk Management will create the new partition for you.New Simple Volume wizard finish screen.
  8. Copy the data you recovered earlier, to the newly created partition.

Method 3: Recreate Partition Using the Command Prompt (CMD)

An alternative to Disk Management, the Diskpart command-line tool in Windows also lets you create and manage partitions on your storage drives. It also offers more flexibility and customization. Diskpart can be run using an elevated Command Prompt (CMD) and you can use it to recreate the partition on your USB drive.

Here’s what the process looks like:

  1. Search for “cmd” in Windows Search (Windows Key + S). From the search results, right-click on Command Prompt > Run as administrator.
  2. Type diskpart in the Command Prompt console and press Enter.Diskpart command.
  3. Type list disk and press Enter to view all the storage disks connected to your PC.List disk command.
  4. Look for your USB drive, then type select disk X and press Enter. Replace X with the disk number of the USB drive. In our case, it was Disk 2, so we typed select disk 2.Select disk command.
  5. Type create partition primary and press Enter. This will create a partition on the USB drive.Create partition primary command.
  6. To begin using the partition for storing your files, you need to format it. You can do this within the Diskpart utility, Disk Management, and Windows Explorer. To format the partition using Diskpart, type format fs=NTFS quick and press Enter after the create partition primary command. This command will quick format the USB partition to the NTFS file system. You can choose another file system of your choice too.Format command.

Did you forget to recover data from your USB drive before using this method? Don’t worry, you can recover data from a formatted partition, as long as it wasn’t a Full-Format, i.e., you didn’t use the quick parameter in Diskpart, or didn’t select the Perform a quick format option in Disk Management and Windows Explorer.


In most cases, you can recover a deleted USB partition with its data intact, using a tool like TestDisk. But, if that doesn’t work out, you’ll need to use Disk Management, and the Diskpart utility to recreate the partition on your USB drive, requiring you to format the drive. It’s crucial that you first recover your files using a good data recovery program like Disk Drill, so you’re secured against data loss.


When a partition is deleted, the space it occupied is marked as “Unallocated,” i.e., it can be used to extend other partitions or create a new one. The actual data is still there, but it’s no longer accessible, unless you use a data recovery tool to get it back, or recover the partition.
Yes. A capable data recovery tool like Disk Drill can help you recover your files even after you delete the partition. However, the USB drive shouldn’t have been full-formatted after deleting the partition.
For a Windows bootable USB drive, it’s best to use a FAT32 partition. But, in case the Windows disk image size is larger than 4 GB, use an NTFS partition instead.
Manuviraj Godara is a professional content writer with over 4 years of experience under his belt. His ever-growing fascination and experience with technology drives him to create content related to data recovery and consumer technology.
Approved by
12 years experience in software development, database administration, and hardware repair.
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