Need something like "BootVis" but for long lasting "shutdown" analysis

C

Camille Petersen

My shutdown lasts very long (approx 4-5 Minutes). I would appreciate to have something
like BootVis tool but for the "shutdown" operation. As you know BootVis analyzes the
boot process. However my problem is the shutdown process.

On what issue is Windows waiting so long during the shutdown?

Is it a driver?
Is it a network connection?
Is it an exit task of a program?
Is it a service stop operation.

Does someone have a hint or a tool for such a analysis ?

Camille
 
C

Carey Frisch [MVP]

User Profile Hive Cleanup Service
http://www.microsoft.com/downloads/...6d-8912-4e18-b570-42470e2f3582&displaylang=en

What's User Profile Hive Cleanup Service (UPHClean)?
http://www.windowsitpro.com/Articles/Print.cfm?ArticleID=42257

--
Carey Frisch
Microsoft MVP
Windows - Shell/User
Microsoft Community Newsgroups
news://msnews.microsoft.com/

---------------------------------------------------------------------------­----------------

:

| My shutdown lasts very long (approx 4-5 Minutes). I would appreciate to have something
| like BootVis tool but for the "shutdown" operation. As you know BootVis analyzes the
| boot process. However my problem is the shutdown process.
|
| On what issue is Windows waiting so long during the shutdown?
|
| Is it a driver?
| Is it a network connection?
| Is it an exit task of a program?
| Is it a service stop operation.
|
| Does someone have a hint or a tool for such a analysis ?
|
| Camille
 
M

MAP

Camille said:
My shutdown lasts very long (approx 4-5 Minutes). I would appreciate
to have something like BootVis tool but for the "shutdown" operation.
As you know BootVis analyzes the boot process. However my problem is
the shutdown process.

On what issue is Windows waiting so long during the shutdown?

Is it a driver?
Is it a network connection?
Is it an exit task of a program?
Is it a service stop operation.

Does someone have a hint or a tool for such a analysis ?

Camille

Give this a try.
http://www.microsoft.com/downloads/details.aspx?familyid=1b286e6d-8912-4e18-
b570-42470e2f3582&displaylang=en


Also do you know if you have "clear pagefile at shutdown" enabled? It is
worth a look to see.
The following is from kellys-korner.com


When this option is enabled, it causes the system pagefile to be cleared
upon clean shutdown. This takes considerable time of the Operating System to
flush-out the pagefile, thus causing the slow shutdown. You may disable
ClearPageFileAtShutdown option to improve shutdown times. But the
pagefile.sys will be intact and accessible via other Operating System, in
case or dual or multi-boot.
Start Registry Editor [Regedit.exe] and navigate to the following key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management]

Set ClearPageFileAtShutdown value to 0
Or, using Group Policy Editor [for Windows XP Professional]
Click Start, Run and type "Secpol.msc"
Click Local Policies | Security Options
In the right-pane, set Shutdown: Clear virtual memory pagefile to Disabled

However, this setting is not the only cause for slow shutdowns.
Non-responsive programs and Services also contribute to slow shutdowns.
Lowering the WaitToKillServiceTimeOut may help may help as well.

The WaitToKillServiceTimeout value name in the registry allows you to
specify a length of time that the service control manager must wait for
services to complete the shut-down request. Open Registry Editor and
navigate to:
HKEY_LOCAL_MACHINE
\SYSTEM
\CurrentControlSet
\Control
\WaitToKillServiceTimeout
Backup your registry first, as explained here. Then, reduce the Service
timeout value (default being 20000ms) to your preference.

Similarly, set the AutoEndTasks to 1 in the following registry key:
HKEY_CURRENT_USER
\Control Panel
\Desktop
AutoEndTasks value determines whether user processes end automatically when
the user either logs off or shuts down Windows 2000/XP.
By doing the above [previous two steps], we're forcibly killing a
non-responsive application or service. On the other hand, troubleshooting
the application may also be necessary
 
D

DL

This assumes your pc has been scanned for viri and malaware.
Maybe look here
http://support.microsoft.com/default.aspx?scid=kb;en-us;315409&sd=tech
Presumably when in safe mode shutdown is quick?
If so download msconfig http://www.perfectdrivers.com/howto/msconfig.html
This app is supplied with winxp, and if you know someone with winxp you can
copy the file.
Then disabable all startups and test
If Ok re enable a batch at a time and retest
If still no change, in Services, hide all MS services, disable the rest and
re test.
If Ok re enable a batch at a time and retest.
Should you be able to determin what is causing the hang check for updates
from that manu.
PS When testing if you have an allways on internet connection you might want
to disconnect this during the test.
 
J

Jim Howes

Camille said:
My shutdown lasts very long (approx 4-5 Minutes). I would appreciate to have something
like BootVis tool but for the "shutdown" operation. As you know BootVis analyzes the
boot process. However my problem is the shutdown process.

On what issue is Windows waiting so long during the shutdown?

Have you looked in the event log?

A number of shutdown problems are caused by software holding open handles to the
user registry. EventID 1000 (Win2K) and 1524 or 1517 on XP/2k3 is typically
logged in this situation. The UPHClean service may improve shutdown times in
that situation.

McAfee VirusScan 8.0 is one known cause of this problem in Win2k SP4.
 
M

Malke

Camille said:
My shutdown lasts very long (approx 4-5 Minutes). I would appreciate
to have something like BootVis tool but for the "shutdown" operation.
As you know BootVis analyzes the boot process. However my problem is
the shutdown process.

On what issue is Windows waiting so long during the shutdown?

Is it a driver?
Is it a network connection?
Is it an exit task of a program?
Is it a service stop operation.

Go through this shutdown troubleshooter:
http://www.aumha.org/win5/a/shtdwnxp.htm

Malke
 
G

George Hester

Do the task manager before you try to shut down and see if there is a
process which shoots up taking CPU usage. The other thing to try is stop
all the services you can stop and shut down. If it goes at normal speed
when you get back to the desktop shut all the services down but one than you
did before. Try to shutdown. See if you can zero in on the Service which
is causing the problem I bet it is a Service.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top