HighTechTalks DotNet Forums  

WMI Query Permissions?

Dotnet Framework (WMI) microsoft.public.dotnet.framework.wmi


Discuss WMI Query Permissions? in the Dotnet Framework (WMI) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Bradley Plett
 
Posts: n/a

Default WMI Query Permissions? - 10-01-2007 , 07:43 PM






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.

Reply With Quote
  #2  
Old   
Nicolas Noakes
 
Posts: n/a

Default Re: WMI Query Permissions? - 10-18-2007 , 06:18 AM






Quote:
Can I adjust the WMI permissions required to run this (and, if so,
how)?

See here: http://www.eggheadcafe.com/articles/20010614a.asp

Set WMI permissions with :
Control Panel:
Administrative Tools/
Computer Management /
Services and Applications /
WMI Control /
(right click) Properties
[Security tab]
Root
Security

set the permissions required

Nicolas

*** Sent via Developersdex http://www.developersdex.com ***


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.