Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

Sign in to follow this  
GrofLuigi

How to disable (selectively) V2 Performance counters?

Recommended Posts

GrofLuigi    11

Is there something like Exctrlst.exe for V2 Performance counters?

Or a command line tool to: 1. List them 2. Disable them?

GL

Share this post


Link to post
Share on other sites
GrofLuigi    11

I've found something for .Net Performance Counters:

UnlodCtr.exe /m:C:\Windows\Microsoft.NET\Framework\v4.0.30319\ServiceModelPerformanceCounters.manUnlodCtr.exe /m:C:\Windows\Microsoft.NET\Framework\v4.0.30319\WorkflowServiceHostPerformanceCounters.manUnlodCtr.exe /m:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\ServiceModelPerformanceCounters.manUnlodCtr.exe /m:C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WorkflowServiceHostPerformanceCounters.man

I will try it when I make a full backup of my OS.

I need to find a way to enumerate others. I've tried searching in other .man files in %windir%, but there are too many of them. I think I can unlodctr them referenced by guids in [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\_V2Providers], that's another thing to try.

In the meantime I deleted the whole key (made a backup, of course) and it seems fine so far. (Well, that escalated quickly :))

The reason I want to get rid of these software performance counters (as opposed to hardware perf counters built in the CPU for example) is, well... Performance. :) The mere act of measuring performance uses some performance. I don't want it and I don't need it. I want to use my OS for doing something (productive or not, that's debatable), not for taking surveys.

Any other ideas are still welcome.

GL

Edited by GrofLuigi

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×