"Delayed Write Failed : Windows was unable to save all the data for the file" upon user logout

Posted on 2004-04-21
Last Modified: 2011-08-18

Most of the time (about 75%) when my users logout they get the following error when trying to save their profile;
"Application popup: Windows - Delayed Write Failed : Windows was unable to save all the data for the file \\vicky\UserHome\harmanc\Profile\prf41A.tmp. 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.  " (this is the error from the computer system)

and sometimes there is the error that "the semaphore timeout period expired"

This is causing me no end of grief, and I can't seem to isolate it as a network problem.


Tom H
Question by:tommyh

Accepted Solution

IceRaven earned 500 total points
ID: 10877070
Hi tommyh,

Does your server have the latest service pack?;EN-US;321733


Author Comment

ID: 10877572

I located the key specified in those KB articles, but it is the hotfix value already.

Also both machines are automatically udpdated at 9am, so will be current on service packs and critical updates as of today,

Expert Comment

ID: 10880346

Is your server using RAID? The reason I ask is that about a month ago I had a customer that had almostm the same problem. It wasn't on the user profiles, but it was giving the same "Delayed Write Failed" error in the event viewer. I ended up having to recreayed the RAID array and restore from backup the partition that I was having trouble with.



Author Comment

ID: 10882289

Yes. the server does use raid 5 for that volume. It would be an absolute nightmare to try to restore the data as it also contains all the user exchange mailboxes and about 50GB of assorted other files. (In this case the cure would be very much worse than the disease)

I tried moving some of the users home directories to another share, which is on a raid 1+2 (mirrored and striped), but that made no odds. I also deleted a few of the profiles and recreated them empty, which for a while stopped the error occuring, but as the profiles started getting bigger again as the data was put back the error returned with a vengance.

I'm thinking that it is a microsoft error of the type suggested by that KB article, but something that has not been picked up yet.
LVL 18

Expert Comment

ID: 10891549
It looks like a Raid failure. Boot into raid bios and see if one of the disks is down, and if so, replace the disk.
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.


Author Comment

ID: 10943792
After much trial and error I have isolated the problem to the
"HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Lanmanworkstation\Parameters\enablesecuritysignature" entry.

According to microsoft the problem was fixed with windows 2000 server SP4, however my W2K server and all my XP pro workstations have current updates and still had this problem.

I wrote a batch script that sets lanmanworkstation\enablesecuritysignature to value 0 using the reg tool, and run it as a startup script under GPO computer configuration. This eliminated the problem from all the workstations. And as a final confirmation of this, I had cause to reinstall an XP laptop from scratch, this machine immediately had the problem I described above upon logout, but as soon as I rebooted it, and it picked up the GPO and the startup script the problem disappeared.

There is a discussion of the problem here;

Which actually provides a fairly detailed discussion of the issue, and the correct fix. Though I didn't find this article until after much searching and testing, and having already found it myself. But that's just my luck. ;->


Expert Comment

ID: 10948586
Glad your systems are now working!


Author Comment

ID: 10953659

interestingly, I have been monitoring the event logs for the specific error, which is Event ID 50, Source MRxSMB, and it is still occuring on occasion. ie it happened twice today from about 50 logouts, rather than about 100 times a day (each logout generated more than 1 of these errors in the event log)

so its not totally fixed, but these I can possibly put down to more general networking problems. its a shame as I thought I had cracked it.

Expert Comment

ID: 13935991
IF you go to "My Computer" right click "C" drive - "Properties" "Hardware" select Local HDD and "Properties" select "Policies" and remove the tick from "Enable Write caching on the disk"....
I have done this on a few machines and it has not returned. I haven't seen the problem since. I have not had this confirmed 100% so please leave more feedback

Author Comment

ID: 13936140

Some time later after this issue I discovered that there was a duplex setting inconsistency between 2 switches, in the intervening network, which cleared up that problem and some others as well.

I no longer work on those systems, so this one is defnintely closed.

However I would point out that if you are experiencing this problem, then I would make 110% sure that the network is fine. Look for dropped packets and errors on switches. try and find something like that before messing about with the windows networking settings.

There is a tool for testing local network throughput, which I can't remember offhand, if you are not getting something like 80% of the expected max throughput for the network, then I would look to solve that before doing the windows hacks stuff

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
win2k service packs 5 643
Disk size support for operating systems 12 531
Windows 7 7 258
Server 2012R2 Foundation and Server 2000 3 117
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now