CategoriesGuides & Hacks

How to Repair a USB Drive That Won’t Cooperate

Ever had a USB drive that just wouldn’t cooperate? I’ve experienced this quite often, usually as a result of doing a DD image write, which often screws up the drive’s partitions.

Here’s a step-by-step guide on how I get these USB drives back in working order.

Symptoms of a Corrupted USB Drive

  1. Format Pop-Up: When you insert the drive, a pop-up appears asking you to format it. Attempting to format results in an error.
  2. RAW File System: Computer Management shows the drive with a RAW file system or partitions that cannot be formatted.
  3. Computer Sluggishness: The computer becomes sluggish while the USB drive is plugged in.

Using Diskpart to Reset the Drive

Step 1: Run CMD as Administrator

  1. Press Windows + X and select “Command Prompt (Admin)” or “Windows PowerShell (Admin)”.
  2. Type diskpart and press Enter to open the Diskpart utility.

Step 2: Identify the USB Drive

  1. Type list disk and press Enter. This will display a list of all the disks connected to your computer.
  2. Identify your USB drive by its size and note its disk number (e.g., Disk 1).

Step 3: Select the USB Drive

  1. Type select disk X (replace X with your USB drive’s disk number) and press Enter.

Step 4: List Partitions

  1. Type list partition and press Enter to display all partitions on the selected disk.

Step 5: Delete Partitions

  1. Type select partition N (replace N with the partition number) and press Enter.
  2. Type delete partition override and press Enter. Repeat this process for each partition until there are no partitions left on the USB drive.

Step 6: Create a Primary Partition

  1. Type create partition primary and press Enter.

Step 7: Exit Diskpart

  1. Type exit and press Enter to close Diskpart.

Step 8: Reconnect and Format the USB Drive

  1. Unplug the USB drive from your computer and plug it back in.
  2. You may need to format the drive or manually assign a drive letter if it’s already formatted.

Final Result

You should now have a USB drive with a single partition utilizing the full drive space!

By following these steps, you can fix a USB drive that won’t cooperate due to corrupted partitions. This method helps reset the drive, allowing it to function properly again. If you encounter any issues or have additional questions, feel free to leave a comment!

Oh hi there 👋
It’s nice to meet you.

Sign up to receive awesome content in your inbox

We don’t spam! Read our privacy policy for more info.

2 comments on “How to Repair a USB Drive That Won’t Cooperate”

Good walkthrough. You can also accomplish all of this through the disk management console in Windows 🙂

Under most circumstances, using the Disk Management console is ideal. However, for corrupt drives or those that have been directly imaged, the console can become unresponsive or just simply not allow you to work with the partitions. It requires a bit more in depth approach! Good tip though!

Leave a Reply

Your email address will not be published. Required fields are marked *