Shutdown Timing Problem
Daniel Rudy
07-10-2005, 01:38 AM
Hello,
When WinXP Pro restarts, sometimes it runs chkdsk like the system wasn't
shutdown properly even though it was. I think this has to do with the
harddrive not having enough time to write the data out in it's cache before
the machine is powered off. Is there a way to hold the system power on for
a few more seconds before the power is turned off? A registry tweak maybe?
Thanks.
--
Daniel Rudy
Rick \Nutcase\ Rogers
07-10-2005, 01:38 AM
Hi,
Why do you believe the delay write cache is the problem? Do you get a
message to that effect? Have you tried disabling it to see if it stops?
Try running chkntfs /d from a cmd prompt to clear the dirty bit that causes
chkdsk to run.
--
Best of Luck,
Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Associate Expert - WindowsXP Expert Zone
www.microsoft.com/windowsxp/expertzone
Windows help - www.rickrogers.org
"Daniel Rudy" <nospam@nospam.net> wrote in message
news:%23qhslS2fFHA.4024@TK2MSFTNGP10.phx.gbl...
> Hello,
>
> When WinXP Pro restarts, sometimes it runs chkdsk like the system wasn't
> shutdown properly even though it was. I think this has to do with the
> harddrive not having enough time to write the data out in it's cache
> before the machine is powered off. Is there a way to hold the system
> power on for a few more seconds before the power is turned off? A
> registry tweak maybe?
>
> Thanks.
>
> --
> Daniel Rudy
>
S.Sengupta
07-10-2005, 01:38 AM
If the dirty bit is set when the computer restarts, chkdsk runs to
verify the consistency of the volume.Run chkdsk to fix the problem.
see below:-
http://tinyurl.com/2obcd
http://tinyurl.com/3zbaa
regards,
ssg MS-MVP
Daniel Rudy wrote:
> Hello,
>
> When WinXP Pro restarts, sometimes it runs chkdsk like the system wasn't
> shutdown properly even though it was. I think this has to do with the
> harddrive not having enough time to write the data out in it's cache before
> the machine is powered off. Is there a way to hold the system power on for
> a few more seconds before the power is turned off? A registry tweak maybe?
>
> Thanks.
>
Treeman
07-10-2005, 01:38 AM
Daniel,
You can turn off "Enable write caching on Disk." in Control Panel,
System, Device Manager, (select your hard drive) right click to
properties, left click on properties, select the Policies tab and
uncheck the box.
This is the fix for the infamous "Delayed Write," error message for
external drives. It might be worth a shot.
Anyone else care to help out?
Best,
Treeman
--
Treeman
------------------------------------------------------------------------
Treeman's Profile: http://www.msusenet.com/member.php?userid=1260
View this thread: http://www.msusenet.com/t-1870582267
Daniel Rudy
07-10-2005, 01:38 AM
Well all that is nice and interesting, but how can one clear the dirty bit
when the machine is shutting down? If I disable disk write caching, then
the system will take a major performance hit, so that's not an option. I
remember that Win98 had this exact same problem and the fix was a new driver
that looks at a registry option to pause the shutdown to give the drive time
to write the data to the disk. As to how I know this is the problem, it's
quite simple: Fast, new HD, shutdown normally with no errors, and the next
time the system restarts it runs chkdsk. It does the exact same thing that
Win98 did before Microsoft fixed the problem. Oh, and this is not a
removable drive, it's mounted inside the case and connected to an IDE port.
--
Daniel Rudy
"Rick "Nutcase" Rogers" <rick@mvps.org> wrote in message
news:uCNBz22fFHA.2372@TK2MSFTNGP14.phx.gbl...
> Hi,
>
> Why do you believe the delay write cache is the problem? Do you get a
> message to that effect? Have you tried disabling it to see if it stops?
>
> Try running chkntfs /d from a cmd prompt to clear the dirty bit that
> causes chkdsk to run.
>
> --
> Best of Luck,
>
> Rick Rogers, aka "Nutcase" - Microsoft MVP
> http://mvp.support.microsoft.com/
> Associate Expert - WindowsXP Expert Zone
> www.microsoft.com/windowsxp/expertzone
> Windows help - www.rickrogers.org
>
> "Daniel Rudy" <nospam@nospam.net> wrote in message
> news:%23qhslS2fFHA.4024@TK2MSFTNGP10.phx.gbl...
>> Hello,
>>
>> When WinXP Pro restarts, sometimes it runs chkdsk like the system wasn't
>> shutdown properly even though it was. I think this has to do with the
>> harddrive not having enough time to write the data out in it's cache
>> before the machine is powered off. Is there a way to hold the system
>> power on for a few more seconds before the power is turned off? A
>> registry tweak maybe?
>>
>> Thanks.
>>
>> --
>> Daniel Rudy
>>
>
>
"Treeman" <Treeman.1rklol@no-mx.msusenet.com> wrote in message
news:Treeman.1rklol@no-mx.msusenet.com...
>
> Daniel,
> You can turn off "Enable write caching on Disk." in Control Panel,
> System, Device Manager, (select your hard drive) right click to
> properties, left click on properties, select the Policies tab and
> uncheck the box.
> This is the fix for the infamous "Delayed Write," error message for
> external drives. It might be worth a shot.
> Anyone else care to help out?
> Best,
> Treeman
>
>
> --
> Treeman
>
>
> ------------------------------------------------------------------------
> Treeman's Profile: http://www.msusenet.com/member.php?userid=1260
> View this thread: http://www.msusenet.com/t-1870582267
>
"S.Sengupta" <ssengupta_@msn.com> wrote in message
news:ujCjD$2fFHA.2484@TK2MSFTNGP15.phx.gbl...
> If the dirty bit is set when the computer restarts, chkdsk runs to verify
> the consistency of the volume.Run chkdsk to fix the problem.
> see below:-
> http://tinyurl.com/2obcd
> http://tinyurl.com/3zbaa
>
> regards,
> ssg MS-MVP
>
>
> Daniel Rudy wrote:
>
>> Hello,
>>
>> When WinXP Pro restarts, sometimes it runs chkdsk like the system wasn't
>> shutdown properly even though it was. I think this has to do with the
>> harddrive not having enough time to write the data out in it's cache
>> before the machine is powered off. Is there a way to hold the system
>> power on for a few more seconds before the power is turned off? A
>> registry tweak maybe?
>>
>> Thanks.
>>
Rick \Nutcase\ Rogers
07-10-2005, 01:38 AM
Hi,
Disable the delay write cache to verify it is indeed the problem.
--
Best of Luck,
Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Associate Expert - WindowsXP Expert Zone
www.microsoft.com/windowsxp/expertzone
Windows help - www.rickrogers.org
"Daniel Rudy" <nospam@nospam.net> wrote in message
news:exl59K3fFHA.352@TK2MSFTNGP09.phx.gbl...
> Well all that is nice and interesting, but how can one clear the dirty bit
> when the machine is shutting down? If I disable disk write caching, then
> the system will take a major performance hit, so that's not an option. I
> remember that Win98 had this exact same problem and the fix was a new
> driver that looks at a registry option to pause the shutdown to give the
> drive time to write the data to the disk. As to how I know this is the
> problem, it's quite simple: Fast, new HD, shutdown normally with no
> errors, and the next time the system restarts it runs chkdsk. It does the
> exact same thing that Win98 did before Microsoft fixed the problem. Oh,
> and this is not a removable drive, it's mounted inside the case and
> connected to an IDE port.
>
> --
> Daniel Rudy
>
> "Rick "Nutcase" Rogers" <rick@mvps.org> wrote in message
> news:uCNBz22fFHA.2372@TK2MSFTNGP14.phx.gbl...
>> Hi,
>>
>> Why do you believe the delay write cache is the problem? Do you get a
>> message to that effect? Have you tried disabling it to see if it stops?
>>
>> Try running chkntfs /d from a cmd prompt to clear the dirty bit that
>> causes chkdsk to run.
>>
>> --
>> Best of Luck,
>>
>> Rick Rogers, aka "Nutcase" - Microsoft MVP
>> http://mvp.support.microsoft.com/
>> Associate Expert - WindowsXP Expert Zone
>> www.microsoft.com/windowsxp/expertzone
>> Windows help - www.rickrogers.org
>>
>> "Daniel Rudy" <nospam@nospam.net> wrote in message
>> news:%23qhslS2fFHA.4024@TK2MSFTNGP10.phx.gbl...
>>> Hello,
>>>
>>> When WinXP Pro restarts, sometimes it runs chkdsk like the system wasn't
>>> shutdown properly even though it was. I think this has to do with the
>>> harddrive not having enough time to write the data out in it's cache
>>> before the machine is powered off. Is there a way to hold the system
>>> power on for a few more seconds before the power is turned off? A
>>> registry tweak maybe?
>>>
>>> Thanks.
>>>
>>> --
>>> Daniel Rudy
>>>
>>
>>
>
> "Treeman" <Treeman.1rklol@no-mx.msusenet.com> wrote in message
> news:Treeman.1rklol@no-mx.msusenet.com...
>>
>> Daniel,
>> You can turn off "Enable write caching on Disk." in Control Panel,
>> System, Device Manager, (select your hard drive) right click to
>> properties, left click on properties, select the Policies tab and
>> uncheck the box.
>> This is the fix for the infamous "Delayed Write," error message for
>> external drives. It might be worth a shot.
>> Anyone else care to help out?
>> Best,
>> Treeman
>>
>>
>> --
>> Treeman
>>
>>
>> ------------------------------------------------------------------------
>> Treeman's Profile: http://www.msusenet.com/member.php?userid=1260
>> View this thread: http://www.msusenet.com/t-1870582267
>>
>
> "S.Sengupta" <ssengupta_@msn.com> wrote in message
> news:ujCjD$2fFHA.2484@TK2MSFTNGP15.phx.gbl...
>> If the dirty bit is set when the computer restarts, chkdsk runs to verify
>> the consistency of the volume.Run chkdsk to fix the problem.
>> see below:-
>> http://tinyurl.com/2obcd
>> http://tinyurl.com/3zbaa
>>
>> regards,
>> ssg MS-MVP
>>
>>
>> Daniel Rudy wrote:
>>
>>> Hello,
>>>
>>> When WinXP Pro restarts, sometimes it runs chkdsk like the system wasn't
>>> shutdown properly even though it was. I think this has to do with the
>>> harddrive not having enough time to write the data out in it's cache
>>> before the machine is powered off. Is there a way to hold the system
>>> power on for a few more seconds before the power is turned off? A
>>> registry tweak maybe?
>>>
>>> Thanks.
>>>
>
>
Robert Gething
07-10-2005, 01:38 AM
Daniel Rudy wrote:
> Hello,
>
> When WinXP Pro restarts, sometimes it runs chkdsk like the system wasn't
> shutdown properly even though it was. I think this has to do with the
> harddrive not having enough time to write the data out in it's cache before
> the machine is powered off. Is there a way to hold the system power on for
> a few more seconds before the power is turned off? A registry tweak maybe?
>
> Thanks.
>
Yes, theres a registry key you can edit to extend the shutdn timeout.
cant find what it is @ the mo but if you start, run, regedit and search
for WaitToKillApp. You can miximise the time to 4000 using this registry
entry.
frodo@theshire.org
07-10-2005, 01:42 AM
this might be an ACPI issue, is your bios up to date? The system may be
powering down too quickly.
Daniel Rudy
07-10-2005, 01:43 AM
This is a 2002 laptop that is having this problem. I have the latest BIOS
in the machine dated 2003. There are no further updates.
--
Daniel Rudy
<frodo@theshire.org> wrote in message
news:11clhjjotie7482@corp.supernews.com...
> this might be an ACPI issue, is your bios up to date? The system may be
> powering down too quickly.
>
Daniel Rudy
07-10-2005, 01:43 AM
Ok, I went looking for the setting and I couldn't find it. Where is it at?
I'm running WinXP Pro SP2.
--
Daniel Rudy
"Rick "Nutcase" Rogers" <rick@mvps.org> wrote in message
news:e66wuQ3fFHA.3656@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> Disable the delay write cache to verify it is indeed the problem.
>
> --
> Best of Luck,
>
Daniel Rudy
07-10-2005, 01:43 AM
"Robert Gething" <virusking1052733@aol.com> wrote in message
news:OkXMJy7fFHA.3436@tk2msftngp13.phx.gbl...
> Daniel Rudy wrote:
>> Hello,
>>
>> When WinXP Pro restarts, sometimes it runs chkdsk like the system wasn't
>> shutdown properly even though it was. I think this has to do with the
>> harddrive not having enough time to write the data out in it's cache
>> before the machine is powered off. Is there a way to hold the system
>> power on for a few more seconds before the power is turned off? A
>> registry tweak maybe?
>>
>> Thanks.
>>
> Yes, theres a registry key you can edit to extend the shutdn timeout. cant
> find what it is @ the mo but if you start, run, regedit and search for
> WaitToKillApp. You can miximise the time to 4000 using this registry
> entry.
It's not that one. There's another one that was at
HKLM\Software\Microsoft\Windows\CurrentVersion. Something about IDE
shutdown timeout or something...
--
Daniel Rudy
Rick \Nutcase\ Rogers
07-10-2005, 01:43 AM
Hi,
Properties of the drive in Device Manager (Control Panel/System/Hardware
tab). It will be on the policies tab.
--
Best of Luck,
Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Associate Expert - WindowsXP Expert Zone
www.microsoft.com/windowsxp/expertzone
Windows help - www.rickrogers.org
"Daniel Rudy" <nospam@nospam.net> wrote in message
news:%23UFBd%23ZgFHA.1044@tk2msftngp13.phx.gbl...
> Ok, I went looking for the setting and I couldn't find it. Where is it
> at? I'm running WinXP Pro SP2.
>
> --
> Daniel Rudy
>
> "Rick "Nutcase" Rogers" <rick@mvps.org> wrote in message
> news:e66wuQ3fFHA.3656@TK2MSFTNGP09.phx.gbl...
>> Hi,
>>
>> Disable the delay write cache to verify it is indeed the problem.
>>
>> --
>> Best of Luck,
>>
>
>
Shutdown Timing Problem