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. 

Note:

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: 

  1. Double-click the adksetup.exe file.  When you reach this dialog box, select the following Windows Performance Toolkit checkbox: 


    collectanEventT_50f5e138-c0a3-4a8e-8266-5fbef2fc8d5d.png

    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.  


    collectanEventT_de29ec67-1c87-463c-b7b3-b229a630a3ee.png

    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.