Title

Message

Confirm

Advanced option to disable certain performance counters?

ral1sh
53 discussion posts
I'm not familiar enough with the Windows performance counters API to know if this is possible, but it'd be useful to have an advanced setting which could set an allowlist and/or blocklist for performance counters.

The reason for this request is when TrayStatus loads it results in several warning and error events being logged to the Application event log. For at least some (all?) of these events it appears that there's no issue with the performance counters themselves, but due to TrayStatus trying to open counters which are privileged (e.g. Lsa, Server). As such, they always fail and an event is logged.
Aug 15, 2021  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Interesting! It may just be that we're enumerating all of the available performance counter categories when it starts up to build the list for the custom counters, but we'll put this on the list and see if there's anything we can do.

Thanks!
Aug 16, 2021  • #2
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hello,

We took a look into this, but unfortunately there isn't anything we can do here.

Sorry I couldn't be of more help, and thank you for your patience!
Nov 12, 2021  • #3
ral1sh
53 discussion posts
All good, thanks for looking into it Owen. I had a feeling that might be the case as I couldn't see any facility to exclude or filter performance counters in the Windows API docs. Might be worth documenting somewhere if you have a suitable place, for other people who see this issue and wonder what's going on, but it may be so edge-case to not even be worth that.

Thanks again!
Nov 12, 2021 (modified Nov 12, 2021)  • #4
Was this helpful?  (1)  (-)