Diskpart No Media Error
“I have a Kingston USB drive that seems does not working well so I decide to reformat it completely. Run Diskpart as administrator and input these commands: list disk > select disk 1 (where 1 is my Kingston drive) > clean. And I got this error: Virtual Disk Service error: There is no media in the device. It does not allow me to run format command as well. What should I do to get rid of this issue?”
Get into similar troubles like that? You may get kindred error: There is no media in the specified device when you try to access files somewhere or create recovery disc with that device. Sometimes, the device shows up in Disk Management with an empty box but not showing up in File Explorer. In addition, the “device” is various because you can get “There is no media in the device” in HP USB Flash, SanDisk SD card, Transcend StoreJet, DVD/CD, Pen Drive, Memory Card, even SSD/HDD under different situations. Then, what are the possible reasons?
Why get “There is no media in the device” error?
When you get the error, it is suggested to unplug the USB drive and re-plug it to another machine to see if it is the problem of your flash drive. If it is, following factors may account for the error.
USB drive is failing or failed. Like hard drive, flash drive has lifespan. If the USB stick serves you a couple of years, it may reach to the end and fail gradually. Physical damage like stampeding, falling from a height, or frequently striking is likely to hurt USB drive as well.
MBR or PBR on the device is damaged. Inappropriate using of the drive, like you unplug the flash drive while it is in operation, is likely to hurt internal lookup tables on the drive and invoke corruption in Master Boot Record (MBR) or Partition Boot Record (PBR).
The error can also be caused by other unknown reasons that haven’t been found till now. However, what counts next is to find out solutions that solve “There is no media in the device” issue.
How to fix “No Media” error in different cases?
Before taking actions below, you may want to change USB port, or unplug & plug the drive several times, or connect the drive to other computers, maybe with different operating systems like Linux, to test if it works. If problem still exits after those attempts, follow these steps.
Tips: Do not write any new data to the device that has “no media” problem.
Recover data if possible
Before sentencing the USB drive dead, you can do some overtures to recover files. AOMEI Partition Assistant Standard is able to perform partition recovery for USB drive, SD card, hard drive, and SSD. It provides full search and fast search to recover data on lost partition or deleted partition as long as no new data written in. Free download to have a try.
1. Connect the device to computer. Launch AOMEI Partition Assistant and click on Partition Recovery Wizard on the left side.
2. Select the device. You can tell it from disk capacity and brand.
3. Choose search mode, Fast Search or Full Search.
4. Select the partition you want to recover and click Proceed to start. Wait the process to be completed.
Note:if the data on that device is very vital to you, and aforementioned method does not work, it is suggested to turn to professionals.
For more information with screenshots, please visit how to restore partition on USB drive. AOMEI Partition Assistant also offers sector by sector copy. You can try that by copying USB to another disk entirely to see if lost data can be recovered.
USB no media fix in Windows 7/8/10
When you are not worry about the data on the USB drive/SD card/memory card/SSD, it is necessary to fix the error to make the device usable. You can do following tries.
Scan and repair the device in File Explorer
1. In Windows File Explorer, right click the partition of the device and head to Properties > Tool > Check/Check now.
2. You’ll find two options available: “Automatically fix file system errors” and “Scan for and attempt recovery of bad sectors”. Check them both and click Start.
Tips: You can run CHKDSK /f on hard drive or partition as well. For more detailed steps, see: check and fix hard disk errors in Windows 10.
Fix MBR for the “no media” device
If the issue is caused by corrupted MBR, it is important to fix MBR of that device. AOMEI Partition Assistant also provides the feature: Rebuild MBR.
1. Start the software and right click the disk you want to fix and select Rebuild MBR.
2. At the pop-out window, select the type of your Windows.
3. Click Apply to execute the pending operations.
The method is used for “There is no media in the device” SSD error or hard drive error. For more information with screenshots, please refer to: Rebuild MBR Windows 10.
If you encounter the error on current OS and have recovery drive or installation disc in hand, boot Windows there and lift Command Prompt by pressing Shift + F10. Input bootrec /FixMbr > bootrec /FixBoot > bootrec /RebuildBcd. By default, it will rebuild MBR of current running system.
Diskpart clean/format: there is no media in the device
If mentioned methods still don’t work, then you can format or clean the device completely in Diskpart. However, some users report the error exists still in CMD. In that case, you need professional formatting tool. Aforementioned AOMEI Partition Assistant Standard takes care of that all.
Open AOMEI Partition Assistant. Right click the partition you want to format and select Format Partition.
In the next small window, edit partition label, choose file system and cluster size.
Click Apply and then Proceed to execute formatting.
Tips: AOMEI Partition Assistant also helps you wipe hard drive thoroughly.
There is no media in the specified device in Transcend USB
For some certain brand of USB flash drive, usually there is corresponding repairing tool. If you get the error on Transcend flash drive or pen drive, download Jetflash Online Recovery tool, advanced new software developed for Transcend JetFlash flash drives, to recovery and fix your stick.
For the USB drives that haven’t got specified formatting or repairing tools, it is not bad to try AOMEI Partition Assistant.
Fix “There is no media in the device” in DVD
If you come across no media error on brand new CD/DVD disc, for example, create recovery disc with CD/DVD, try this.
Click Start, type devmgmt.msc in the Search box and press Enter. Click the right-pointing triangle next to “DVD/CD-ROW drives” to see if you have anything like DVD. If no, the BIOS may not be detecting the CD disc. Make sure the data cable is not loose and the drive’s electronics are not failed. Or, test the CD drive on another computer.
If the CD/DVD is detected by BIOS yet does not show up when you try to access it, you may need to perform a CD/DVD formatting before you start.
You may get “There is no media in the device” in all kinds of situations. And the most important thing is to figure out solutions accordingly. AOMEI Partition Assistant Standard is free and tiny software from which you can benefit more. For instance, move OS to new Samsung SSD, partition C drive without formatting, merge two partitions into one, and convert external hard drive from MBR to GPT and so on.