Click to See Complete Forum and Search --> : accessing server with wmi


Sylvain
10-14-2002, 07:53 AM
hello,
i wrote a script to access a server with wmi
set wmi = getobject("winmgmts://servername")
this only functions as an administrator - althought i need it to be possible for lower level users. tried server operators - it didn't work
any idea??
thanks,
sylvain

Rick Grakowsky
10-15-2002, 04:00 PM
Hi,

I believe that you have to set the impersonationLevel in your Get command. Check ou this MSDN link...
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/setting_the_default_process_security_level_using_v bscript.asp

Hope that helps,
Rick

------------
Sylvain at 10/14/2002 8:53:02 AM


hello,
i wrote a script to access a server with wmi
set wmi = getobject("winmgmts://servername")
this only functions as an administrator - althought i need it to be possible for lower level users. tried server operators - it didn't work
any idea??
thanks,
sylvain