Search code examples
windowswmiuser-accountslocalsystem

Is it possible to query WMI as Local System?


Is it possible to query WMI as the Local System account? I tried to test this out by creating a Local System instance of Internet Explorer, and running WMI Tools from it. I got an error saying that:

The core WMI components build number could not be determined

This works fine when I run it from my normal user account. I'm new to WMI, so is there a fundamental reason why this would not be possible?


Solution

  • creating a Local System instance of Internet Explorer

    I think I am going to have nightmares for weeks.

    Anyway, we have code that runs in a service under Local System that queries WMI and it works just fine.