Re: PdhCollectQueryData won't collect data on WXP after SP2
From: Pavel Lebedinsky (m_pll)
Date: 02/17/05
- Next message: Randy Scarborough: "Re: PdhCollectQueryData won't collect data on WXP after SP2"
- Previous message: William DePalo [MVP VC++]: "Re: Queryserviceconfig weird error code"
- In reply to: Randy Scarborough: "PdhCollectQueryData won't collect data on WXP after SP2"
- Next in thread: Randy Scarborough: "Re: PdhCollectQueryData won't collect data on WXP after SP2"
- Reply: Randy Scarborough: "Re: PdhCollectQueryData won't collect data on WXP after SP2"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 16 Feb 2005 16:18:26 -0800
Does it work if the scheduled task is using an account that
is a local administrstor?
Can you get valid data if you use typeperf or logman?
"Randy Scarborough" wrote:
>I am running Windows XP Home and have a server application that is started
> by Scheduled Tasks when the system starts up (not when a user logs on).
> This app uses PdhCollectQueryData to monitor the RAS networks througput.
>
> On XP with SP1 this ran fine, collecting data and logging it. On XP with
> SP2 the data collected always has the value zero.
>
> If I log on to the userid that created the Scheduled Task that starts the
> application, and then run the server app, the data is collected normally.
> But it is not collected when the app is started by Scheduled Tasks at
> system
> logon.
>
> Any idea what has changed, or how I can get this data?
- Next message: Randy Scarborough: "Re: PdhCollectQueryData won't collect data on WXP after SP2"
- Previous message: William DePalo [MVP VC++]: "Re: Queryserviceconfig weird error code"
- In reply to: Randy Scarborough: "PdhCollectQueryData won't collect data on WXP after SP2"
- Next in thread: Randy Scarborough: "Re: PdhCollectQueryData won't collect data on WXP after SP2"
- Reply: Randy Scarborough: "Re: PdhCollectQueryData won't collect data on WXP after SP2"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|