WMI: What permission(s) am I missing?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I have tried the example from this link:

http://groups.msn.com/windowsscript/wmi.msnw?action=view_list&row=11&viewtype=2

I receive a 'returnValue' of 3 (Insufficient privilege). I can remove the
username and password parameters and run the script under either a domain
account that is a member of the local administrators group or the local
computer administrator account and the results are the same. If I run the
script under the SYSTEM account, I get a 'returnValue' of 0 and the process
successfully launches.

I am running the script on Windows XP Pro SP1. What permission(s) is the
Administrators group missing and where can I change it?


.



Relevant Pages

  • Re: Membership...
    ... Administrators group in some computers contrain members with deleted domain ... account such as this: ... >> REMOTELY using vb script. ... >> following script can remove the member of the Administrators group if the ...
    (microsoft.public.scripting.vbscript)
  • Re: Built In Admin account vs Created one
    ... The built in administrator account is a member ... of the local administrators group and that is where it gets its power. ...
    (microsoft.public.win2000.security)
  • Re: need to modify local group membership via VBscript
    ... The script I posted was orginally used to add another domain group ... It only worked if Domain Admins was ... can add domain groups to the local Administrators group. ... how to add a domain group to local administrators account: ...
    (microsoft.public.windows.server.scripting)
  • Re: need to modify local group membership via VBscript
    ... Admin run the script on all NT computers. ... script can add domain groups to the local Administrators group. ... how to add a domain group to local administrators account: ...
    (microsoft.public.windows.server.scripting)
  • Re: Windows 2003 and WMI question
    ... > I have a script that utilize wmi to get the local Administrators group name ... > The script works fine with Windows 2000/XP. ... However, the WMI call failed ... ' Well Known SID of the local Administrators group ...
    (microsoft.public.scripting.vbscript)