Disabling some performance counters in windows is really easy. You can control performance counters enable and disable from below windows registries
HKLM\SYSTEM\CURRENTCONTROLSET\SERVICES\%SERVICENAME%\PERFORMANCE
%ServiceName% represents any service with a performance counter like PerfDisk,PerfOs etc.
There may be registry keys for “Disable Performance Counters” in any of these locations. If the Key is not available create a Key with DWORD32 Bit and set it value to 1 if you want to disable that performance counter
Once the value is set to 1 for “Disable Performance Counter” the user will get this message as shown below.