Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


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

Posted on 2004-04-21
Medium Priority
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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

IceRaven earned 1500 total points
ID: 10877070
Hi tommyh,

Does your server have the latest service pack?


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.


Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.


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.

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

610 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