0XC00D0017

NS_E_DISK_READ (0XC00D0017) – What Actually Breaks Disk Reads

This error means the OS can't read from a hard drive sector. Usually a failing drive, loose cable, or corrupted file system. Here's how to fix it.

Quick answer: Run chkdsk C: /f /r from an elevated Command Prompt to repair file system corruption and remap bad sectors. If that fails, back up immediately and replace the drive — physical failures don't get better.

Why This Happens

NS_E_DISK_READ with code 0XC00D0017 comes from Windows Media Player SDK — it's a generic I/O error that the OS throws when a read request to a storage device fails. I've seen it pop up when someone tries to play a video from an external drive mid-copy, or after a power loss corrupts the file system. The real cause is almost always one of three things:

  • Bad sectors: The drive's magnetic surface physically degraded. The read head can't retrieve data from that spot.
  • File system corruption: The NTFS/MFT table is inconsistent — happens after improper shutdowns or drive disconnects.
  • Connection issues: Loose SATA cable, failing USB controller, or dying external drive enclosure.

What's actually happening here is the OS sends an IRP (I/O Request Packet) to the disk driver, and the disk returns STATUS_UNRECOGNIZED_MEDIA or STATUS_DEVICE_DATA_ERROR. The error bubbles up through the file system and lands on your app as 0XC00D0017. Don't treat it as a software glitch — it's the system telling you the hardware isn't cooperating.

Step-by-Step Fix

  1. Identify the failing drive. Open Disk Management (diskmgmt.msc) and look for any disk marked as “Offline,” “Uninitialized,” or with a warning icon. If it's an external drive, note the drive letter (e.g., E:). For internal drives, you'll see C: or D:.
  2. Run chkdsk with repair. Open Command Prompt as Administrator. Run:
    chkdsk X: /f /r
    Replace X with your drive letter. The /f flag fixes file system errors, /r locates bad sectors and attempts to recover readable data. On the system drive (C:), it'll schedule the check at next reboot — reboot immediately.
  3. Inspect S.M.A.R.T. status. Use wmic diskdrive get status in Command Prompt. If it returns anything other than “OK,” the drive is failing. For a deeper look, grab CrystalDiskInfo — it's free and shows raw read error rates, reallocated sectors, and pending sector counts. Any red or yellow warnings mean time to replace.
  4. Reseat cables. For internal SATA drives, power off the PC, open the case, unplug and replug both the data and power cables. SATA cables are fragile — a loose crimp or bent pin will cause intermittent reads. Swap the cable with a known-good one if you have a spare.
  5. Test on another machine. If it's an external USB drive, plug it into a different PC. If the error disappears, the problem is your USB port, cable, or controller. If it follows the drive, the drive itself is the issue.

Alternative Fixes When chkdsk Fails

If chkdsk gets stuck or reports that the disk is unrecoverable, you can try these:

  • Use a Linux live USB to bypass Windows. Boot from Ubuntu USB, mount the drive, and run fsck on it. Linux often handles FS corruption that Windows chokes on. Command: sudo fsck /dev/sdX1 (replace X with your drive letter).
  • Clone the drive with ddrescue. If you need data back, use ddrescue on Linux to copy readable sectors first, then retry bad ones. It's brutal but effective. Example: sudo ddrescue -d /dev/sdX /dev/sdY rescue.log.
  • Freeze the drive (last resort). This is a trick from the 2000s — seal the drive in a Ziploc bag and put it in the freezer for an hour. The idea is that cold contracts the metal and temporarily loosens a stuck spindle. It works about 20% of the time, and only for a few minutes. You'll get one shot to copy data. I've done it once successfully with an old 80GB IDE drive. Not a real fix — just a Hail Mary for data recovery.

Prevention Tip

Don't trust a single drive for anything you care about. Backup to at least two separate devices (one off-site). Enable S.M.A.R.T. monitoring in your system BIOS or with a tool like HDD Guardian. And never yank a USB drive without clicking “Safely Remove Hardware” — that's what causes file system corruption that leads to errors like this. Check your drive health once a month. If reallocated sector count increases or raw read error rates spike, replace the drive before it dies completely.

Related Errors in Hardware – Hard Drives
0XC0000278 NTFS error 0XC0000278: reparse data invalid fix 0x8007007B Fix 'Cannot Copy File Path Too Long' Error on Windows 0XC0000307 0XC0000307 Copy Protection: Sector Key Missing Fix Hard Drive Not Detected? Fix the 3 Real Causes in Order

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.