USB flash drive not working or is appearing as an empty disk drive, Disk Management reports "No Media" with 0 bytes size

33

13

I have a USB flash drive which is no longer recognized by my computer. Windows Disk Management and DiskPart report No Media with no storage space (0 bytes) on the drive and I cannot partition or format the drive:

Console window with DiskPart showing "No Media" on the flash drive
Source

If the drive appears in Windows Explorer, trying to access it returns an error message indicating that there is no disk inserted, such as the following:

Please insert a disk into drive X:.

Various disk partitioning and data recovery utilities don't recognize the drive or only give a generic name for the drive and cannot access the contents of the drive.

What can I do? How do I recover data from the drive?

This question comes up often and the answers are usually the same. This post is meant to provide a definitive, canonical answer for this problem. Feel free to edit the answer to add additional details.

bwDraco

Posted 2015-01-31T03:28:32.503

Reputation: 41 701

For housekeeping: see also the question "What can I do if my USB flash drive is write-protected or read-only?".

– teika kazura – 2017-03-16T08:21:29.417

Related:  How do I fix my USB drive  to get its original size back?

– G-Man Says 'Reinstate Monica' – 2017-09-13T21:25:51.337

1@bwDraco I didn't click on all of those, but this question specifically addresses the "no media" question. That's why it's in bold. – Mark Cramer – 2018-03-02T21:24:39.027

Answers

22

Failing Flash Drive

"No Media" means the flash memory controller cannot communicate with the NAND flash memory on the drive. Because of this, it appears to the computer as an empty disk drive. This is usually caused by the NAND flash failing. To the computer, the drive is not much different than a floppy or optical drive with no disk inserted.

As a result, it is not possible to access any data on the drive, nor is it possible to repartition or reformat the drive. Again, from the standpoint of the computer, there is no medium in the drive to be formatted or repartitioned.

Fake Drive?

It is also possible that the drive is fake and the cheap memory chip in the drive has failed. Drives failing in this manner will often show up as a storage device with 8MB capacity.

Potential Hardware-Specific Restoration

From this answer: You can obtain more information about the drive and its controller using a tool called ChipGenius. You might be able to recover the drive hardware by using a tool such as Bootice to manipulate the MBR.

Additionally, if the drive uses a Phison controller, you may be able to use the Phison USB Mass Production Tools to reprogram the controller and restore normal operation. Note that doing this will erase all data on the drive.

Data Recovery

In cases where stored information is merely corrupted, consumer data recovery software can often recover the contents. However, that won't work if the drive fails as described here.

There are data recovery services that can use special equipment to try to recover content from the chips. However, it is expensive. If you can't restore the drive to normal operation, it probably isn't worth sending it to a data recovery service unless the data stored on the drive is particularly valuable. You should simply replace the drive.

bwDraco

Posted 2015-01-31T03:28:32.503

Reputation: 41 701

Jake Gould: I'm not sure if I agree with your edit. I won't be around much longer today, but the answer is deliberately structured in this fashion. To understand why I format my answers this way, see recent answers posted by Thaddeus at [scifi.se]. Let me know what you think about this format, perhaps in this chat room, and I will respond tomorrow.

– bwDraco – 2015-01-31T04:03:44.810

1Looking at Thaddeus’s answers versus yours, I see a key difference: This is a bullet list of items with one paragraph at the top. Formatting it so you are essentially shouting an answer doesn’t bring more focus to something that already has focus. It just looks like shouting. – JakeGould – 2015-01-31T04:14:56.143

5@JakeGould ultimately you should respect the wishes of the person who originally wrote a post if there's disagreement about an edit (unless we're talking something completely inappropriate). I agree though that heading formatting shouldn't be abused to make text stand out (it should be used for headings in long posts), and I think your edits were appropriate. – nhinkle – 2015-01-31T04:28:58.897

@nhinkle Agree with the spirit of the original poster, but I believe the tone used for an area like the science fiction and fantasy site is different from other sites that are essentially dealing with hard facts. – JakeGould – 2015-01-31T04:37:03.137

Restored the header, but with shorter text, per http://meta.superuser.com/questions/9106/is-it-okay-to-use-headers-to-summarize-content/9107#9107.

– bwDraco – 2015-01-31T15:14:10.260

1@DragonLord - This has already been edited a lot, but I wanted to see what you thought of a slightly different approach to structuring it. What was previously highlighted was the logic that ties everything together, but that isn't the most critical part of the answer. I took a shot at structuring it more focused around the solution (what people will be looking for). Feel free to roll it back or play with it. Just a rough serving suggestion. – fixer1234 – 2015-03-04T06:59:36.290

1@fixer1234: Thanks for the edit – I'll keep it and may build on it in the future. – bwDraco – 2015-03-04T18:40:25.233

1

I have had lots of luck with the HP USB Recovery Tool.

– Burgi – 2016-03-02T22:38:46.577

That ChipGenius link is broken - maybe you could fix it. There's a Russian site which appears to be it's official site, but maybe you had a different one in mind ?

– JonasCz - Reinstate Monica – 2017-03-06T22:27:07.877

@fixer1234, message from the future: love your edit! Those lite headings matter so much! We may not know until we are tired and sleepless, running constantly overloaded etc. (bwDraco, great answer, too!) – Sz. – 2019-06-13T11:40:18.870

3

Go to MyComputer/Manage/USB Controller/USB Mass Storage/Unistall while plugged, then remove it, and re-plug in, the driver will -re-installed. It solved it on my computer.

visitor

Posted 2015-01-31T03:28:32.503

Reputation: 31

1: I knew my USB Drive was fine, but had been used as a bootable USB to install Windows. This suggestion made it possible for me to see the entire partition in Disk Management.

2: I had no data I needed to recover on it, so I cleaned it before the last step; this can maybe be avoided if you have... I went to diskpart (open in CMD):

2.1: list disk

2.2: sel disk x

2.3: clean

3: Finally, to be able to format it again, I wen into the drives properties and under policies and switched it to "Optimize for performance" (instead of "Optimize for quick removal"). – RasmusP_963 – 2017-02-21T11:14:39.420

This worked for me – PlanetWilson – 2017-05-06T14:05:49.397

3

This may happen also when there is insufficient power supply to the flash from the usb port. Check that you are not overloading the usb ports with power hungry peripheralas. Also tortured USB cables, if there are any connected, may sometimes leak current and reduce the available power.

taaatiti

Posted 2015-01-31T03:28:32.503

Reputation: 61

2

The flash drive is fried, or at least not functioning. I did this to save the content: put it in the freezer for a couple of hours, and it appeared again for just enough time to copy the contents to the harddrive. Then it disappeared again.

per

Posted 2015-01-31T03:28:32.503

Reputation: 21