ral1sh
56 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.
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!
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!
ral1sh
56 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