Performance extension DLL not working in W2K8 unless in session 0



I have a performance extension DLL that provides performance counters to
Perfmon for a service I've developed. It has been working fine for several
releases on WinXP and W2K3. However, I'm having problems with it on W2K8
that "feels" security-related.

On W2K8, PerfMon seems to only be able to retrieve performance counter data
if I'm RDP'ed in with the /Admin switch (which means session 0, I think).
When directly connected to the machine or RDP'ing without /Admin, I can add
my performance counters to PerfMon but I never see any data (i.e. the data
values are always 0). I can be simultaneously running PerfMon in 2 sessions
(both logged in as the same Administrator user) and see performance data in
an RDP /Admin session but not see it in the other session. It's as if there
is something magical with session 0.

Can anyone shed some light on what might be going on here?

Also, if this is not the appropriate newsgroup to ask this question, please
point me to the correct newsgroup to post this question.

Thanks.

-- Greg
=====================
Greg Williams
Software Engineer
IBM Internet Security Systems
.



Relevant Pages

  • RE: SyncToy not running - throws System.InvalidOperationException
    ... looks like I have corrupted performance counters ... perfmon has no objects. ... > enables SyncToy to run. ... >> What I have also noticed is that I am also unable to get any stats from ...
    (microsoft.public.windowsxp.photos)
  • Re: [patch 8/8] Add abilty to enable/disable nmi watchdog from sysfs
    ... some performance counters on the fly. ... Right now we don't care about perfmon at all because it's not in mainline ... I think the NMI watchdog will fail if the register is already allocated. ... oprofile should check and allocate when it fills in the register. ...
    (Linux-Kernel)
  • Re: missing processor object in perfmon
    ... I'm using performance counters, perfmon, and don't have a page file. ... > The PerfMon has a dependency on the presence of pagefile. ... >> I try get the processor load with the PDH library. ...
    (microsoft.public.windowsxp.embedded)
  • Performance counter: The average values always take the no activity sampling interval into account?
    ... I was checking my performance counters recorded on my server, ... Disk Bytes/Transfer ... Actually I am expecting 300 instead of 150, why the perfmon takes the ...
    (microsoft.public.windows.server.general)
  • Re: perfmon2 merge news
    ... e.g. core perfmon could be something simple like just support ... Perfmon can be used with an *unpatched* kernel using loadable modules? ... monitoring session is exactly the same as for a per-thread session. ...
    (Linux-Kernel)