Fix STATUS_NO_MEDIA_IN_DEVICE (0XC0000013) No Disk Error
This error means Windows can't find a disk in a drive. It's almost always a stuck drive letter or a bad USB/SD card. We'll fix it in three steps.
The 30-Second Fix: Check the Drive Letter
This error pops up when Windows holds onto a drive letter for something you unplugged. I see it all the time with SD card readers, USB flash drives, or external hard drives that got yanked out without using "Safely Remove Hardware."
- Press Windows + X and select Disk Management. You'll see a list of all your drives.
- Look for a drive with a letter (like D: or E:) but no media. It'll say "No Media" under File System.
- Right-click that drive and select Change Drive Letter and Paths.
- Click Remove, then Yes to confirm. After you click Remove, the drive letter disappears from Disk Management.
- Restart your computer. After reboot, the error should be gone.
If you still see the error after restart, move to the next fix.
The 5-Minute Fix: Reseat the Physical Drive
Sometimes the drive itself is loose or the reader isn't making contact. This is common with SD cards in laptops or cheap USB hubs.
- Shut down your computer completely. Not sleep, not hibernate — full shutdown.
- If it's an external drive (USB, eSATA), unplug it from the computer.
- If it's an internal card reader or hard drive, open the case. For a card reader, remove the SD card and blow out the slot. For a hard drive, check that the SATA cable and power cable are clicked in tight. I've fixed dozens of these just by reseating the SATA cable.
- Wait 30 seconds, then plug everything back in.
- Power on and check if the error returns.
The 15-Minute Fix: Use Diskpart to Clean Stuck Drive Letters
If the first two fixes didn't work, the drive letter is stubborn. Diskpart is a command-line tool that can strip it clean. This fix is safe as long as you pick the right drive.
- Open Command Prompt as Administrator. Right-click Start and choose Command Prompt (Admin) or Windows Terminal (Admin).
- Type
diskpartand press Enter. You'll see "DISKPART>" prompt. This tool works at a lower level than Disk Management. - Type
list volumeand press Enter. Look for a volume with no file system or a blank Label. It's usually the one with a drive letter but no media. Note the Volume ### (like Volume 5). - Type
select volume X(replace X with your volume number) and press Enter. You should see "Volume X is the selected volume." - Type
remove letter=D(replace D with the actual drive letter showing the error) and press Enter. Diskpart will confirm it removed the drive letter. - Type
exittwice to close Diskpart and Command Prompt. - Restart your computer. After reboot, the error should be gone.
If the error still appears after this, the drive itself might be dead. Try a different USB port or a different computer. But honestly, 90% of the time the simple drive letter removal in step one fixes it. Start there and save yourself the hassle.
Was this solution helpful?