MSFN Forum: [Help] Very Slow Windows XP Shutdown - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Help] Very Slow Windows XP Shutdown Rate Topic: -----

#1 User is offline   Perfectionist 

  • Group: Members
  • Posts: 4
  • Joined: 04-January 06

  Posted 07 February 2006 - 05:52 AM

Hello there, people!
So there's my problem: recently my PC started shutting down very slowly - takes about four minutes. I really don't know what coaused the problem and how to fix it so here's your place - help me!
My OS is Windows XP SP2, Licenced Edition
My Hardware: Pentium 4 3.2GHrz, 1GB RAM (2x512 Kingston), 128MB ATI Radeon 9600 XT/TVD, Asus Extended motherboard.
This problem occurs to me for the first time, pleace help me :}


#2 User is offline   TravisO 

  • Trouble Starter
  • PipPip
  • Group: Members
  • Posts: 284
  • Joined: 16-December 04

Posted 07 February 2006 - 08:37 AM

There's a registry setting that determines how much time Windows gives a service to quit when a shutdown is requested and obviously if you have a couple services acting up, this can seem very long.

Registry Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
Modify/Create the Value Name [WaitToKillServiceTimeout] according to the Value Data listed below.
Data Type: REG_SZ [String Value] // Value Name: WaitToKillServiceTimeout
Value Data: [Default = 20,000 (expressed in milliseconds) Modify to preference.]
Exit Registry and Reboot

I prefer to use 6000 for the value (that's 6 seconds). Keep in mind that doesn't mean 6 secs per service in order, this means all at the same time. On slower machines you want this value higher. Considering that buffer flushing takes upto 5secs, I highly insist you don't use a value less than 6 secs.

Original url (I couldn't find my notes so I pasted from here):
http://www.theeldergeek.com/increase_shutd...es_to_close.htm

This post has been edited by travisowens: 07 February 2006 - 08:41 AM


#3 User is offline   Zxian 

  • Scroll up - see the Google bar?
  • Group: Super Moderator
  • Posts: 5,066
  • Joined: 30-September 04
  • OS:none specified
  • Country: Country Flag

Posted 07 February 2006 - 02:20 PM

Also, look at installing User Hive Profile Cleanup from Microsoft. It might help with slow shutdown times.

#4 User is offline   jftuga 

  • Member
  • PipPip
  • Group: Members
  • Posts: 283
  • Joined: 27-October 05

Posted 07 February 2006 - 02:47 PM

View PostZxian, on Feb 7 2006, 03:20 PM, said:

Also, look at installing User Hive Profile Cleanup from Microsoft. It might help with slow shutdown times.


I agree! This service really makes logoffs very fast.
http://www.microsoft.com/downloads/details...&displaylang=en

-John

#5 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,001
  • Joined: 09-September 01
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 07 February 2006 - 04:44 PM

Note that UPHClean really isn't meant for long-term use - it merely masks a problem driver or process holding the registry open, and it can cause corruption in (albeit rare) instances. You should use UPHClean to DETERMINE what is causing the registry to be held open, not as a fix in and of itself. That's why it logs what it had to kill to get the machine shut down - so you can fix it :).

#6 User is offline   jftuga 

  • Member
  • PipPip
  • Group: Members
  • Posts: 283
  • Joined: 27-October 05

Posted 07 February 2006 - 08:27 PM

View Postcluberti, on Feb 7 2006, 05:44 PM, said:

Note that UPHClean really isn't meant for long-term use - it merely masks a problem driver or process holding the registry open, and it can cause corruption in (albeit rare) instances. You should use UPHClean to DETERMINE what is causing the registry to be held open, not as a fix in and of itself. That's why it logs what it had to kill to get the machine shut down - so you can fix it :).


OK, I can see your point of view. In our case we were running Symantec AV 10.0 which caused logging off to take close to 3 minutes. Our users were less than happy. We were able to install uphclean via msi & group policy. It was truly awesome. Once installed, log offs were instant. SAV 10.0.1 fixed the slow log off problems.

-John

#7 User is offline   RJARRRPCGP 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,154
  • Joined: 13-April 05

Posted 07 February 2006 - 08:53 PM

View Postcluberti, on Feb 7 2006, 05:44 PM, said:

Note that UPHClean really isn't meant for long-term use - it merely masks a problem driver or process holding the registry open, and it can cause corruption in (albeit rare) instances. You should use UPHClean to DETERMINE what is causing the registry to be held open, not as a fix in and of itself. That's why it logs what it had to kill to get the machine shut down - so you can fix it :).


But it's probably better than holding down the power button or pressing the reset button, because as long as Windows was shut down by using the shutdown menu option or the shutdown[/code] command at the command prompt, file system changes will be fully written to the HDD, AFAIK.

Power outages and Windows crashes are the problems that are the most likely to cause Windows corruption.

With the exception that on some PCs, even when shut down properly have HDD corruption. That's because the fact that not all data in the hardware HDD cache was written to the platter!

#8 User is offline   LLXX 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Banned
  • Posts: 3,399
  • Joined: 04-December 05

Posted 07 February 2006 - 11:48 PM

Also related, clear out the dllcache and prefetch folders once in a while (once a month is sufficient, or maybe once a week on a heavily used system).

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy