大网数据广告活动
性能与资源

System shutdown is slow

· 52CE 我爱测

Provides guidance to troubleshoot performance problems that occur when Windows shuts down.

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:

  1. On the affected computer, select Start, enter Windows Performance Recorder, and then select Windows Performance Recorder in the search results.

  2. Select More options, if it's necessary.

  3. On the Record system information page, locate the profiles list, and then select the profiles that you want to use.

  4. Select the following settings:

    Setting Value
    Performance scenario Shutdown
    Detail level Verbose
    Logging mode File
    Number of iterations 1

    :::image type="content" source="media/troubleshooting-system-shutdown-is-slow-scenario/wprui-settings-record-shutdown-perf.png" alt-text="Screenshot that shows the Record system information page of W.P.R., showing the appropriate options selected for recording a shutdown scenario.":::

  5. Select Start.

  6. In Results Path, enter the filename and path for the recorded data file.

    :::image type="content" source="media/troubleshooting-system-shutdown-is-slow-scenario/wprui-saveas-shutdown-perf.png" alt-text="Screenshot that shows the Save as page of W.P.R.":::

  7. Enter a description of the data file, and then select Save.

  8. 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.

  9. 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:

  1. Select Search, enter Windows Performance Analyzer, and then select Windows Performance Analyzer in the search results.
  2. 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.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors (upstream author metadata: kaushika-msft). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。