Friday, 15 May 2020

Windows performance recorder

Summary
Windows performance recorder is a good tool to help us diagnose computer problems.  It is relatively easy to install and run and runs in win 7, 8, & 10

Details

In order to diagnose your problem you will need to download and install the below.  We suggest you create a restore point before running the trace.  It is safe in the vast majority of situations but it cant hurt to have one.

To run WPR you need to:


Install the WPT (Windows Performance Toolkit) by downloading ADK from here

http://www.microsoft.com/en-US/download/details.aspx?id=39982

If you are running windows 10 you should use the newer version found here

There is no need to install anything but the windows performance toolkit.  That is  about 100Mb.  You do not need to install the entire ADK (or SDK)

1. Run ADKSetup.exe.
2. Click Install, specify the location where you want to install the Windows ADK features, and then click Next.
3. Select the Windows ADK features that you want to install (windows performance toolkit), and then click Install.


Help with installation (if needed) is here


When you have downloaded and installed it, open an elevated command prompt and type the following 

WPRUI.exe (which is the windows performance recorder) You should see this

Image

Unless your problem involves sleep, shutdown, waking, or reboot check off the following boxes

Image

There are various options.  Choose the one that applies to your situation

Image

If you want to reduce the size of the file you can choose "Light" instead of verbose

Image

Please run the trace when you are experiencing the problem

When you are ready or are experiencing the problem Click Start


Let it run for 30 secs  and save the file (it will show you where it is being saved and what the file is called)

It will generate a large file and the longer you run it the larger it will be ZIPPING the file reduce the size by a factor of 10 so a 10 Gig Etl=1 Gig zipped file  Please dont upload an ETL file that is larger that 4 Gb unzipped.  If your is bigger run a shorter trace


Zip the file and upload to us on Onedrive (or any file sharing service) and give us a link to it in your next post. It will be faster for you to upload and for us to download.  Be sure to upload the file that ends in "ETL" not the smaller folders that end in PDB!!!

If your problem involves sleep, hibernation, shutdown, or reboot you will need to configure WPR differently.  For example for a reboot issue configure it like this (this will reboot your computer as soon as you click start so close your work)

Image

For shutdown issues configure it like this

Image

ONCE YOU HAVE RUN THE TRACE UPLOAD IT TO ONEDRIVE OR ANY OTHER FILE SHARING SERVICE AND PUT A LINK TO IT IN YOUR NEXT POST.

There are some special situations where you need to configure WPR differently.  These are only necessary if they apply to you

To correctly capture event stacks on 64-bit systems that are running Windows® 7, disablepagingexecutive should be set to On, and the system must be rebooted before you start performance recording. For 32-bit systems that are running Windows 7 and for all systems that are running Windows 8, you can operate performance recording without setting disablepagingexecutive to On.  To do this type wpr -disablepagingexecutive <on/off> in an elevated command prompt


No comments:

Post a Comment