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