0X0000001D

ERROR_WRITE_FAULT (0x0000001D): Fix Write Failures on Windows

ERROR_WRITE_FAULT means Windows tried to write to a device and the driver or hardware refused. Usually a bad driver, failing disk, or bad USB cable.

Quick answer: ERROR_WRITE_FAULT (0x0000001D) is a Windows stop code that fires when the I/O manager tries to write to a device and the underlying driver returns a failure, usually because the hardware dropped off the bus, the disk has bad sectors, or the driver is corrupt.

What's actually happening here is that a write request reaches the storage stack — your app calls WriteFile, the filesystem translates that into a write IRP, and the port driver (storport, USBSTOR, or similar) hands it to the device. When the device doesn't acknowledge the write, or the miniport driver returns STATUS_IO_DEVICE_ERROR, the kernel raises ERROR_WRITE_FAULT and bug-checks the machine. It's not a generic "disk full" error. It's the hardware or the driver saying no.

The trigger is often mundane. You plug in a USB 3.0 external drive with a frayed cable, hit Save in Word, and the box bluescreens. Or an SSD with a failing NAND block throws the error during a large file copy. I've also seen it come from a virtual machine's virtual disk when the host runs out of space mid-write. The point is: something downstream of your app failed to accept the bytes.

Steps to fix ERROR_WRITE_FAULT

  1. Identify which device is failing. Windows usually names it in the bug check parameters. Open Event Viewer (eventvwr.msc), go to Windows Logs > System, and look for a BugCheck event with ID 1001. Parameter 2 is often the device object. If you see \Device\Harddisk1\DR1, that's your second physical disk. If it's \Device\USBSTOR\..., it's a USB mass-storage device.
  2. Run a disk check on the target volume. Open an elevated Command Prompt and run:
    chkdsk C: /f /r
    Swap C: for whichever drive is throwing the fault. /r scans for bad sectors and recovers readable data — that step alone catches a lot of these. If chkdsk reports "bad sectors" or "unreadable sectors," the drive is dying. Back up now.
  3. Check SMART data. Download CrystalDiskInfo or run wmic diskdrive get model,status. Any drive showing "Caution" or "Bad" has reallocated sectors and is on its way out. ERROR_WRITE_FAULT is often the first symptom before Windows even flags the disk.
  4. Update or roll back the storage driver. Bad drivers cause this more often than people admit. Open Device Manager, expand Disk drives or Storage controllers, right-click your controller, and pick Update driver. If the problem started right after a Windows Update, use Roll Back Driver instead. Intel RST drivers between versions 17.x and 18.x had a nasty write-fault bug on certain NVMe drives — if you're on one of those, grab the OEM's latest from their support site, not Intel's generic package.
  5. Reseat or replace the cable. For USB and external drives, this is the real fix more often than anything else. A damaged USB 3.0 cable that still powers the drive but can't sustain SuperSpeed writes will produce 0x0000001D every time you copy a large file. Swap the cable, try a different port (rear-panel ports on desktops are wired straight to the chipset), and avoid unpowered hubs.
  6. Check the filesystem. If the volume is NTFS with a corrupted MFT, writes fail consistently. Run:
    fsutil dirty query C:
    If it says the volume is dirty, schedule another chkdsk. For exFAT or FAT32 volumes on removable media, just back up the data and reformat — those filesystems don't recover well from write faults.

If the main fixes don't work

  • Rule out RAM. Bad memory corrupts write buffers before they ever reach the disk. Run mdsched.exe or better, MemTest86 from a bootable USB. One pass with zero errors isn't proof, but errors on the first pass definitely mean bad RAM.
  • Disable write caching. In Device Manager, right-click the drive, Properties, Policies tab, and select "Quick removal" (for USB) or uncheck "Enable write caching." This slows things down but bypasses the volatile cache where write faults sometimes originate.
  • Boot into Safe Mode and try the write again. If it succeeds, a third-party filter driver (antivirus, backup software, encryption like BitLocker or VeraCrypt) is intercepting your writes and failing them. Disable them one by one.
  • Test the drive on another machine. If it writes fine elsewhere, the problem is your controller, cable, or port — not the drive. If it fails everywhere, the drive is the problem.
  • Check the event log for disk errors before the crash. Event ID 7 ("The device has a bad block") or Event ID 51 ("An error was detected on device during a paging operation") are predecessors to 0x0000001D. If you see those, replace the drive.

Prevention

Stop treating external drives like they're indestructible. Eject them properly (Remove-Eject in PowerShell or the Safely Remove Hardware tray icon), use quality cables, and don't yank USB drives out of the port while a write is in flight — that's a guaranteed way to corrupt the filesystem and trigger write faults on the next access. On the internal side, run chkdsk /scan monthly and pay attention to SMART warnings. And if you're using Intel RST, keep it updated — that driver family has historically been the single biggest source of 0x0000001D on systems I've worked on. When a drive starts throwing write faults, it doesn't get better on its own. It gets worse. Back up first, diagnose second.

The error code is just the messenger. The device behind it is telling you it can't accept data — and that's almost always a hardware or driver problem, not a software one.
Related Errors in Windows Errors
0X000036F7 Fix ERROR_SXS_XML_E_UNEXPECTED_STANDALONE (0x000036F7) 0XC00D278A Fix NS_E_DRM_MIGRATION_IMPORTER_NOT_AVAILABLE (0XC00D278A) on Windows 0X00000083 Windows ERROR_NEGATIVE_SEEK (0X00000083) Fixed 0X00000457 ERROR_BUS_RESET (0X00000457): What To Do When The I/O Bus Resets

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.