Greetings

I'm having issues with executing WMI queries.. Sometimes they will work fine,
other times (same queries) they will give 'Access Denied' exceptions.

It appears to be conditional as to what is run first. I believe I've read
they there's an issue in that the security context is taken from the first
access to the resource so something.

I'd like to know if this is the case and if there's a way around it so it
will run all the time. (Oh I'm logged in as an administrator, and I'm only
trying to run in on the local machine too).

Garry Mc