Re: xp is *NOT* flushing disk cache before shutdown

From: Shutdown (anonymous_at_discussions.microsoft.com)
Date: 04/03/04


Date: Fri, 2 Apr 2004 18:30:56 -0800

No, it doesn't help.

The problem isn't that tasks aren't shutting down, it's
just that, for whatever reason, XP doesn't seem to be
waiting long enough for the disk I/O to finish before
shutting the power off.

XP is (or should!) shutting everything down, and saving my
current settings. Then it pauses to wait for the disk I/O
to finish before turning the power off.

But for some reason, it isn't finished by the time XP
decides it has waited long enough.

XP hard codes the delay time and if that's not enough,
you're screwed.

Thanks for the effort though.

>-----Original Message-----
>Hi,
>
>See if this helps:
>
>This edit automatically ends tasks and timeouts that
prevent programs from
>shutting down and clears the Paging File on Exit.
>
>Auto End Tasks to Enable a Proper Shutdown (Line 76)
>http://www.kellys-korner-xp.com/xp_tweaks.htm
>
>--
>All the Best,
>Kelly
>
>Microsoft-MVP Windows® XP
>
>Troubleshooting Windows XP
>http://www.kellys-korner-xp.com
>
>Taskbar Repair Tool Plus!
>http://www.kellys-korner-xp.com/taskbarplus!.htm
>
>
>"Shutdown" <anonymous@discussions.microsoft.com> wrote in
message
>news:1740501c41864$f9554dd0$a401280a@phx.gbl...
>> What patch etc. do I need so that XP-pro sp1 will delay
>> shutdown until the drive completely writes everything.
>>
>> I've noticed many times that during shutdown, it gets to
>> the shutdown screen and there's a long pause by XP
>> (presumably the delay to allow the disk caches to
flush),
>> then a lot of frantic disk head movement and then the
>> drives shut down the instant that's done, or perhaps
even
>> before it's down.
>>
>> And occasionally when I boot up later, it says it didn't
>> shutdown properly and checks my drive. Proof that XP
>> isn't waiting for the drive to flush its cache.
>>
>> And sometimes it wont boot at all. I have to boot in
safe
>> mode, then shutdown, and then when it starts up it works
>> okay.
>>
>> I know W98, W98se and Wme used to need a patch to delay
>> shutdown until their cache & and the hard drive cache
was
>> flushed.
>>
>> XP shouldn't need that.
>>
>> But apparently it does.
>>
>> Is there a patch? Is there a registry entry I can
modify
>> to increase the shutdown flush delay?
>>
>> Is there any way I can manually force everything to
flush
>> before I shutdown XP?
>>
>> I asked this question in here a few days ago and didn't
>> get an answer, so I figured I should repost.
>>
>
>
>.
>



Relevant Pages

  • Re: delay shutdown until HD writes files?
    ... > shutdown until the drive completely writes everything. ... > and then the drives shut down the instant that's down, ... > isn't waiting for the drive to flush its cache. ...
    (microsoft.public.windowsxp.general)
  • Re: xp is *NOT* flushing disk cache before shutdown
    ... Auto End Tasks to Enable a Proper Shutdown ... > drives shut down the instant that's done, ... > isn't waiting for the drive to flush its cache. ...
    (microsoft.public.windowsxp.general)
  • Re: Windows XP prof. Stuck on Shut down
    ... > Rich Barry wrote: ... >> Andrea, check at Kelly's http://www.kellys-korner-xp.com/xp.htm ... >>>'windows is shutting down' screen. ... you might also want to go through this excellent shutdown ...
    (microsoft.public.windowsxp.general)
  • Re: OT: Yet Another Unhappy Customer for Vista
    ... sorts of nasty stuff. ... BOTH file system types get checked on bad shutdowns, ... It is hard to design a file system that can handle being shutdown while ... Older drives could ...
    (sci.electronics.design)
  • Re: Shutdown and System Restore Problems
    ... still not function except in Safe Mode. ... As far as the shutdown problem goes, ... System Restore. ... There is not much point having it enabled on data drives, ...
    (microsoft.public.windowsxp.general)