UPDATE 2: Latest article: Window Delayed Write Failed – Solutions –>
UPDATE 1: New post with new solution: Click Here
I bought a 500 GB Western Digital My Book Premium external hard drive. For few days, everything was working fine, but suddenly the Delayed Wrifte Failed error started to pop up and my drive was no more accessible. Here’s the error displayed on Windows:
“Windows – Delayed Write Failed : Windows was unable to save all the data for the file X:\$Mft. The data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere.”
I searched a lot but nothing came up. I had to restart the drive, disconnect and reconnect it again to make it work which was a lot of pain!
Well, before we get to the working solution (for my case), read and see the following :
According to the article “8 common causes for ‘delayed write failed’ errors” by Serdar Yegulalp , from SearchWinIT.com which was published on 01.05.2005,
Windows uses a special subsystem for certain disk functions, which caches write operations and performs them when the system is idle. This can improve system performance, but it’s typically turned off by default. The term for this kind of operation is “delayed writing”.
You can see how write-caching is handled for a particular volume by right-clicking on the icon for the drive in the “Disk drives” subtree of the Device Manager and selecting the Policies tabs. The options typically are “Optimize for quick removal” (everything is written to the drive immediately) and “Optimize for performance” (writes are cached).
The first option lets you quickly disconnect drives — for instance, hot-pluggable USB “pen” drives — without first disconnecting them via the Safely Remove Hardware icon in the system tray. If all the options are grayed out, this means write-caching is probably handled at the discretion of the device driver. (You can see more information about the way the defaults for write caching work in the Microsoft article, “Windows XP and Surprise Removal of Hardware“.
In Windows XP, the system may pop up a “Delayed Write Failed” notification balloon, which means that something has gone wrong with the delayed-write system. This does not always mean there has been a fatal problem, but you should take it seriously.
Some common reasons for a delayed-write failure are:
- Problems with a device driver, especially a SCSI or RAID device driver. Some RAID device drivers are known to issue spurious “Delayed Write Failed” errors in XP Service Pack 2. Most manufacturers have been alerted to this, so check to make sure the disk drivers are up-to-date.
- Cabling problems. A faulty or broken cable — especially for an external USB or Firewire enclosure—can generate this error. It can also happen if the cable is too long, or if it is hooked up through a hub that isn’t up to spec. Another possible culprit is if you have a UDMA drive that requires an 80-pin cable, and you are using a 40-pin cable.
- SCSI termination errors. This has become less likely with the advent of self-terminating SCSI hardware, but it shouldn’t be counted out.
- Media errors. This is the worst possible scenario — essentially, drive failure. If you can garner statistics on the drive via SMART (such as SMART & Simple (http://www.beyondlogic.org/solutions/smart/smart.html), you may be able to determine if there’s a mechanical failure in the offing. Gibson Research’s SpinRite tool (http://grc.com/) is also useful for assessing media errors, but be warned: It may take a long time to do a thorough test.
- BIOS settings on the computer are forcing faster UDMA modes than the drive controller can handle. This is unlikely, especially with newer hardware (which can support UDMA far more flexibly), but it can usually be fixed with a BIOS upgrade, or by resetting the BIOS entries for the hard drives to auto-detect settings. Devices set to UDMA Mode 6 that produce this error, for instance, might need to be set to Mode 5.
- Controller issues. I’ve observed that USB controllers that contend strongly with other hardware can produce this error. In systems that have both “long” and “short” PCI slots (i.e., 64-bit and 32-bit), try moving the USB controller to the long slot. Older PCI cards will not fit in such a slot.
- Memory parity issues. If the problem appears after installing new memory, the memory in question may be faulty or not of the correct type for the motherboard in question. (This may go hand-in-hand with other problems such as random lockups, too.)
- The LargeSystemCache Registry tweak and ATI video adapters. One peculiar set of circumstances that has been observed on multiple machines with ATI video adapters and more than 512MB of memory involves the LargeSystemCache Registry setting, a DWORD entry found in:
HKEY_LOCAL_MACHINE >SYSTEM >CurrentControlSet >Control >Session Manager >Memory ManagementThis setting governs the amount of memory set aside by the system for certain kernel processes. If it’s set to 1 (which allegedly improves performance on systems with more than 512MB of memory), it can cause data corruption on some systems, and produce the “Delayed Write Failed” error. Try resetting it to 0 if it’s been set.
Now that you have read the 8 common causes for this error, let’s see about what worked for my case.
Recently I found another solution to this problem that really worked for me. It’s on the next page…
GD Star Rating
loading...GD Star Rating
loading...Read more

HKEY_LOCAL_MACHINE >SYSTEM >CurrentControlSet >Control >Session Manager >Memory ManagementThis setting governs the amount of memory set aside by the system for certain kernel processes. If it’s set to 1 (which allegedly improves performance on systems with more than 512MB of memory), it can cause data corruption on some systems, and produce the “Delayed Write Failed” error. Try resetting it to 0 if it’s been set.
loading...
loading...









Attempting to disable system restore on my portable HDD but my drive is listed as offline in the system restore tab instead of monitoring..
loading...
loading...
My delayed write error on a WD secondary hard drive was solved by inserting a jumper in the HD to throttle back speed to SATA I
loading...
loading...
JL:
Can you please elaborate on you problem/solution?
I, too. have WD DATAs (500GB) as slaves and – after several years of flawless service – I just not got this nagging DWF message to appear.
I did have a power outage a week or so ago while I was on-line but didn’t see an immediate problem then after restarting.
loading...
loading...
[...] opções certamente vai resolver este problema. Para um entendimento mais aprofundado, recomendo a leitura deste artigo (em inglês) que trata o tema de forma bastante [...]
Very informative and helpful. Thanks for sharing this. I’ve yet to observe after doing some of the solutions I’d done if the problem won’t come back again.
loading...
loading...
Solution #1 worked perfectly on my Seagate 1.0TB external drive. Thank you! It also solved a problem where my PC would always hang at the initial boot screen. I used to have to unplug the external drive in order to boot.
Great work!
loading...
loading...
I have a 500gb internal WD hard drive and keep getting the DWF message, i can’t save anything. When i empty my recycle bin and restart my pc then those 3 files are still in my recycle bin. Please help? Will formatting my hard drive work?
loading...
loading...
i once came here and offered my thanx for the solution this guy offered here. he suggested a simple download ( which he had provided the link also) from sys internals…. i had read so many damn articles on this isssue that i was really getting tired, because non fixed my problem. I thought the solution that he put here was working. NO NO NO!
anyway, my dwf problem appeared suddenly and it became progressively worse. it would first start if i copied a picture from my computer to a flash drive. then the popups would get more frequent. i did everything i could: changing values from 0 to 1, or from 1 to 0; disabling write cacheing, updating drivers for usb controlers, etc, etc, etc. NOTHING WORKED! i read some more articles, all dead end.
I decided to reformat the damn hard drive and be done with it. well, it took me two days…many updates, service packs, applications, photoshop, Word 2007 and the even more updates and so on. HOWEVER, PAY ATTENTION TO THIS, when the computer started to copy the content from the factory cd onto the hard drive, three, four times a message popped up on the screen, saying the windows can’t copy such and such a file. they were mainly obscure names that i didn’t think much of. so i clicked on “proceed without the file”. BIG MISTAKE. after about two days of downloading the updates, service packs, etc, the computer was ok for two-three days, but then, BAM!, the delayed write came back. the same X:\$Mft. WTF!
I ran to fry’s in burbank and bought a new 320GB hard drive and started the whole damn thing. HOWEVER, PAY ATTENTION TO THIS, i didn’t get the messages that windows can’t copy such and such files, like the previous time. Anyway, installed everything, updates, service packs, photoshop, Word 2007, etc, and the computer has been working like a charm. NO PROBLEMS at all.
let me tell you something else, i ran chkdisk on the old drive a couple of times, and each time it reported that the disk was ok. WRONG! WRONG! WRONG! actually i think chkdisk is not a reliable tool. I had another failed hard drive on another machine that chekdisk reported it as clean and fine. so don’t trust it.
SO——> the problem was the hard disk and nothing else.
my two tacos
loading...
loading...
[...] UPDATE 2: Latest article: Window Delayed Write Failed – Solutions –> [...]
I installed max128K and do as instructed then my HD is working fine now but I have problem with USB port. It’s keep dropping off and on all the time. If I plug my mouse to USP port or hub, it’s drop off for a second then back on again. Also if I connect 2 HD (xternal) at same time, it kind of not read the 2nd HD or freeze it. Is there any solution to my problem? I’m using XP SP3. Thanks
loading...
loading...
@Nashii: well, if you’ve read the whole article, you should know that the USB port might be the actual problem. Just install another USB port (like a PCI extension card) and avoid using external USB hubs. connect your devices on different ports, on your computer, and do not use a usb hub with multi ports.
Re-read this article in full, with all the pages and if you got questions, get back to me.
Thanks.
loading...
loading...