Quantcast
Channel:
Viewing all articles
Browse latest Browse all 78

Windows 7 Excessive Shutdown Delays

$
0
0

After installing Windows 7 Professional SP1 on my Lenovo X1 Carbon I noticed that the shutdown time was excessively long (approximately 8 minutes).  I wanted to find out specifically what was causing the delayed shutdown and found this article posted on Tech Inferno by a Michael S. Windows 7 Shutdown Optimization.  I have summarized the steps of the article below.

  1. Install the Windows Performance Toolkit bundled in the Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 to troubleshoot the problem.
  2. During the installation of the SDK select Win32 Development Tools, deselect everything else.
  3. After installation launch C:\Program Files\Microsoft SDKs\Windows\v7.0\bin\wpt_x64.msi. 
  4. Create the directory C:\trace.
  5. Type the following command to create a trace file: xbootmgr -trace shutdown -noPrepReboot -traceFlags BASE+DRIVERS+CSWITCH+POWER -resultPath C:\trace
  6. Once the computer reboots open a command prompt and navigate to C:\trace
  7. Type the following command to parse the file: xperf /tti -I shutdown_BASE+DRIVERS+CSWITCH+POWER_1.etl -o shutdown_info.xml -a shutdown
  8. Open the file with a text editor, use F3 (Search) to find ShutdownDuration. The service with the longest time is most likely causing your excessive shutdown time.

Michael’s instructions allowed me to quickly identify the issue, in my case the subscriber duration of GPClient was 223757 milliseconds (almost four minutes).

The problem occurs when I am not connected to the Domain, when I am connected to the Domain shutdown time is 24 seconds.



Viewing all articles
Browse latest Browse all 78

Trending Articles