Bradley Plett
2007-10-01 23:43:21 UTC
I'm fairly new to WMI. I am searching "root\MicrosoftIISv2" with the
following query: "select * from IIsApplicationPoolSetting". This
works like a charm from an administrator account, but I am trying to
run this with an account that does not have full privilege. Can I
adjust the WMI permissions required to run this (and, if so, how)?
Alternatively, if I need to adjust the user's privilege level, what do
I need to add?
What I find a little odd is that users without privilege can run this
without getting an exception - they just get an empty set returned. Of
course, that doesn't really matter to me - I just want to get it
working. :-)
Thanks!
Brad.
following query: "select * from IIsApplicationPoolSetting". This
works like a charm from an administrator account, but I am trying to
run this with an account that does not have full privilege. Can I
adjust the WMI permissions required to run this (and, if so, how)?
Alternatively, if I need to adjust the user's privilege level, what do
I need to add?
What I find a little odd is that users without privilege can run this
without getting an exception - they just get an empty set returned. Of
course, that doesn't really matter to me - I just want to get it
working. :-)
Thanks!
Brad.