Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article provides guidance to troubleshoot performance problems that occur when Windows shuts down.
Applies to: All supported versions of Windows Server and Windows Client
Summary
Multiple factors can cause Windows to shut down more slowly than usual. You can use Windows Performance Recorder (WPR) and Windows Performance Analyzer (WPA) to collect and analyze diagnostic data.
Before you begin
The command-line version of WPR is part of Windows, but you have to install WPA and the graphical user interface of WPR (WPRUI) separately. Both tools are part of the Windows Assessment and Deployment Toolkit (Windows ADK). The procedures in this article use WPRUI. You have to install WPRUI on the computer that you're troubleshooting. You don't have to install WPA on the same computer. For information about how to download and install the tools, see Download and install the Windows ADK.
For an overview of the tools and how to use them, see Troubleshoot processes and threads by using WPR and WPA.
Gather data
To record data during a system shutdown, follow these steps:
On the affected computer, select Start, enter Windows Performance Recorder, and then select Windows Performance Recorder in the search results.
Select More options, if it's necessary.
On the Record system information page, locate the profiles list, and then select the profiles that you want to use.
Select the following settings:
Setting Value Performance scenario Shutdown Detail level Verbose Logging mode File Number of iterations 1 Select Start.
In Results Path, enter the filename and path for the recorded data file.
Enter a description of the data file, and then select Save.
When you're prompted to start the shutdown, select OK, and then select Close.
Note
Windows shuts down, and then restarts. After you sign in again, WPR starts compiling and saving the recorded data.
Do one of the following:
- If you installed WPA on the same computer, select Open in WPA. This action starts WPA and loads the recorded file.
- If you installed WPA on a different computer, transfer the saved trace file to the computer on which you installed WPA.
Analyze data
If you didn't open WPA directly from WPR after you saved a recording, follow these steps:
- Select Search, enter Windows Performance Analyzer, and then select Windows Performance Analyzer in the search results.
- Use the WPA File menu to open the trace file that you recorded previously.
Note
To load symbols for analysis, select Trace, and then select Load Symbols. For more information, see Load Symbols or Configure Symbol Paths.
WPA loads thumbnails of the various categories of recorded data in the Graph Explorer. To analyze the data, expand a category, and then drag a thumbnail to the Analysis tab. For more information about how to use WPA, see Troubleshoot processes and threads by using WPR and WPA: Using WPA to analyze data.
For more information about system shutdown processes and options, see System Shutdown.