23

I need a comprehensive and complex set of performance counters in windows performance monitor. At this point every time that I use performance monitor, I have to add the counters, one by one. Is there any way to save the counter set and load it at the later use? Thank you,

  • 1
    RichardM's solution works, should be marked as answer – Leon van der Walt Nov 12 '14 at 11:57
42

A colleague figured out how to achieve this. Instead of launching Performance Monitor directly:

  1. Launch the Microsoft Management Console (mmc.exe)
  2. File -> Add/Remove Snap-ins
  3. Select Performance Monitor, select Add >, select OK.
  4. Add your desired Counters as usual
  5. File -> Save As...

The resulting .msc file will allow you to restore the Performance Monitor with your saved Counters!

  • Yes, it works. Thank you very much. As simple as it looks, this is such a tricky and helpful solution. Thank you @RichardM – Allan Xu Nov 12 '14 at 23:13
  • 3
    Also, if you forget about this method until after you've opened perfmon (like me): don't worry -- you can quickly migrate from an existing window. Select all counters, select 'copy properties' and then in the new window (launched from MMC) select 'paste counter list'. – Dan Esparza Dec 30 '16 at 16:10
  • 2
    Don't ever change, Microsoft, you crazy bastards. – Warren P Feb 7 '18 at 7:25
  • Paste counter list is not working for me though. – Warren P Feb 7 '18 at 7:25
  • 2
    This is the best answer, esp for Windows 10. I was unable to copy/paste the counters in Win10 (it did work in Win7). While you can open the saved HTM file with IE, that method no longer works in Win10 (counters were all zero, didn't collect data). I ended up following the instructions above and recreating my counters. – ripvlan Sep 17 '18 at 18:53
0

If you are using Performance Monitor, it does let you save and later load a set of counters. Right-click on the graph for "Save Settings As", which will prompt you to enter an HTML file name. Yep, HTML.

To later load this file you will have to drag 'n drop the file onto the graph. I could not find a menu option for loading the file.

Edit: this has only been tested under Windows 7.

  • 2
    I have tried to drag-and-drop the saved configuration (*.html) onto the Performance Monitor graph in Windows 10 (64bit), and nothing happens. Dragging the configuration onto the Performance Monitor graph hosted by the Microsoft Management Console (MMC) doesn't work either. – Pressacco May 26 '17 at 13:58
  • Agree - fails for me. – user3546411 Feb 16 '18 at 21:28
  • 1
    I was unable to open the HTML file using the suggested method under Win10. You can right-click and Open With Internet Explorer, but the counters all show as Zeros and won't collect data. I also tried copy/paste counters between the IE window and another Perfmon window without success.. The Accepted Answer appears to be the only solution under Windows 10. For what it's worth - I used to open the HTM file on Win7 with success, so this appears to be a breaking change in Windows 10. – ripvlan Sep 17 '18 at 18:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.