How to collect an Event Tracing for Windows (ETW) shutdown trace on Windows
Overview
This article explains how to collect an Event Tracing for Windows (ETW) shutdown on a Windows environment using the Windows Assessment and Deployment Kit (Windows ADK).
Pre-requisite
Download and install the Windows ADK, see Download and install the Windows ADK.
For environments that use older versions of Windows, for example, Windows 7 or Windows 2008 R2, you should use the ADK for Windows 8.1 to create a trace.
Install and configure the ADK tool
To install the ADK tool, perform the following steps:
-
Double-click the adksetup.exe file. When you reach this dialog box, select the following Windows Performance Toolkit checkbox:
Click Install.
-
Launch WPRUI as Administrator. In the Search box, type WPRUI. Right-click, select Run as administrator.
You may be prompted to disable paging executive. Do it and restart. This tells Kernel to keep all those stacks in RAM and do not outpage them.
-
Run WPRUI again, if you had to restart.
-
Make any changes to the fields indicated by the red arrows, and then click Start.
After your computer is restarted, the trace file is located in your AppData folder by default.
You can review the file using the Windows Performance Advisor (WPA) tool.