NS_E_DISK_WRITE (0XC00D0016) – Quick Fix for Disk Write Errors
This error means Windows can't write to a disk, often from a corrupt file system or bad cable. Here's the fix, why it works, and how to stop it from coming back.
You're Stuck With Error 0XC00D0016
Yeah, that NS_E_DISK_WRITE error is annoying. It stops your media center or any app from writing to a disk. The error code 0XC00D0016 means Windows tried to write data, but the disk said "no." Could be a corrupt file system, a bad cable, or a failing drive. Let's kill this thing.
The Fix That Works 9 Times Out of 10
Don't bother reinstalling drivers or running system restore — those rarely fix this. The culprit here is almost always a file system corruption. Here's your sequence:
Step 1: Check Disk With CHKDSK
- Open Command Prompt as admin. Hit Start, type
cmd, right-click it, and pick "Run as administrator." - Type:
(Replace C: with the drive showing the error.)chkdsk C: /f /r - If it's your system drive, you'll get a prompt asking to schedule it for next reboot. Type
Yand restart.
This scans the disk for bad sectors and file system errors. It'll take a while — 30 minutes to a few hours depending on drive size. Let it finish. Don't interrupt it.
Step 2: Run SFC
After chkdsk finishes, run System File Checker to fix any corrupt Windows files:
sfc /scannowAgain, let it finish. It'll patch up system files that might mess with disk writes.
Step 3: Check Your Cables and Connections
If chkdsk and sfc find nothing, physically check the drive. Open your case (desktop) or look at the external drive cable. A loose SATA cable causes intermittent write failures. Reseat both ends of the cable. Try a different SATA port on the motherboard. For external drives, swap the USB cable — cheap cables are notorious for this error.
Step 4: Run Disk Cleanup
Sometimes the drive is just too full. Run Disk Cleanup:
- Open File Explorer, right-click the drive, go to Properties.
- Click "Disk Cleanup." Select everything, especially temporary files and recycle bin.
- Click "Clean up system files" for a deeper sweep.
Free up at least 10% of the drive space. Windows needs room for metadata and swap files.
Why This Works
CHKDSK fixes the file system. The /f flag fixes errors, /r finds bad sectors and recovers readable data. Corrupt file systems are the top cause of 0XC00D0016. SFC fixes system files that could be blocking writes. Bad cables cause signal dropouts — reseating them restores a clean connection. Disk cleanup just gives Windows breathing room.
Less Common Variations
Sometimes the issue isn't the file system. Here's what else I've seen:
Windows Media Center Specific
This error pops up in Windows Media Center (WMC) when recording live TV. The fix there is to rebuild the WMC database. Open WMC, go to Settings > TV > TV Signal > Setup TV Signal. Run the setup again. It reindexes the recording directories.
Permissions Issues
If you're on a shared drive or external disk, the user account might not have write permissions. Right-click the drive, go to Security tab, click Edit, and make sure your user has "Full control" or at least "Modify". Apply it.
Drive Health – SMART Data
Run a SMART check. Use CrystalDiskInfo (free). If it shows yellow or red warnings like "Reallocated Sectors" or "Pending Sectors," the drive is failing. Backup your data now and replace it. Don't wait.
Prevention – Don't Let It Happen Again
- Run chkdsk monthly. Schedule it or just do it when you think about it. Keeps the file system clean.
- Keep your cables tight. Vibrations from fans or moving the case can loosen SATA cables. ZIP-tie them in place.
- Don't fill drives past 90%. Windows gets cranky. Set up a warning in File History or use a tool like SpaceSniffer.
- Update your storage drivers. Check your motherboard manufacturer for AHCI drivers. For external drives, install the vendor's driver.
- Backup regularly. If the drive fails, you'll be glad you did. Use Windows Backup or a tool like Macrium Reflect.
That's it. Error 0XC00D0016 doesn't have to be a headache. Run chkdsk, check cables, and keep the drive clean. If none of that works, the drive is probably dying — replace it.
Was this solution helpful?