How can I recover a USB drive that now shows 0 MB after formatting?

0
1
Asked By MellowKite47 On

I was trying to encrypt a 32 GB USB drive with VeraCrypt, but I couldn't shrink the volume. I started selecting options without really understanding them and accidentally formatted the drive. It now appears to have 0 MB of usable space. The drive was empty, so I don't need to recover files, but is there a way to restore the drive so it can be used normally again?

2 Answers

Answered By PixelHarbor36 On

Since the USB was empty, there aren't any files to restore from a backup. The important thing is to stop selecting random options and read each step before confirming it. If DiskPart cannot see the correct capacity or reports errors while cleaning or creating a partition, the flash drive itself may have failed rather than just having a damaged partition.

Answered By CopperNoodle8 On

If you're using Windows and don't need anything on the drive, you can usually recreate its partition table with DiskPart. Open Command Prompt as administrator, run `diskpart`, then `list disk`. Carefully identify the USB by its capacity—don't guess if another disk is similar in size. Run `select disk X` with the correct number, double-check it, and then run `clean`. This removes all partitions from the selected drive. Afterward, open Disk Management with `diskmgmt.msc`, initialize the USB if prompted, create a new simple volume, and format it. Be extremely careful because choosing the wrong disk will erase that disk.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.