Re: What permission(s) am I missing?



Thanks for the quick reply, Marty! I should have mentioned in the original
message that I did try using "objWMIService.Security_.impersonationLevel =
3" by itself as well as using it along with
"objWMIService.Security_.authenticationLevel = 3".

I think you are correct that the permissions on the remote machine have
been altered. What I am trying to figure out is what permissions have been
altered and where they are located. I have looked at everything I can think
of without success.

I am able to successfully schedule a task using 'Win32_ScheduledJob'
without a problem.

"Marty List" <usenet@xxxxxxxxxxxx> wrote in message
news:%23W8qH2qlFHA.3656@xxxxxxxxxxxxxxxxxxxxxxx
>
> After reading this page, try adding the line
> "objWMIServices.Security_.ImpersonationLevel = 3":
>
http://msdn.microsoft.com/library/en-us/wmisdk/wmi/connecting_to_wmi_on_a_remote_computer.asp
>
> More info:
>
http://msdn.microsoft.com/library/en-us/wmisdk/wmi/creating_a_wmi_script.asp
>
http://msdn.microsoft.com/library/en-us/wmisdk/wmi/creating_processes_remotely.asp
>
> For the most part it doesn't matter which OS you're running the script on,
what
> matters more is the OS on the remote computer and whether or not someone
has
> changed the permissions from the defaults on the remote computer.
>
>
> "James Whitlow" <jwhitlow@xxxxxxxxxx> wrote in message
> news:eRh72jqlFHA.3568@xxxxxxxxxxxxxxxxxxxxxxx
> > 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: What permission(s) am I missing?
    ... For the most part it doesn't matter which OS you're running the script on, ... changed the permissions from the defaults on the remote computer. ... > computer administrator account and the results are the same. ... > Administrators group missing and where can I change it? ...
    (microsoft.public.scripting.vbscript)
  • Re: Use the "Managed By" field in AD to set as local Admin
    ... I think the way must be in the logon script. ... Administrators group, you can run it repeatedly until there is no message ... "Domain Admins" should be a member of the local Administrators group on ... Dim strComputerDN, strComputer, strManagerDN ...
    (microsoft.public.windows.server.active_directory)
  • Re: Use the "Managed By" field in AD to set as local Admin
    ... I think the way must be in the logon script. ... Administrators group, you can run it repeatedly until there is no message ... "Domain Admins" should be a member of the local Administrators group on ... Dim strComputerDN, strComputer, strManagerDN ...
    (microsoft.public.windows.server.active_directory)
  • Re: Return value of whenever sqlerror
    ... I am executing a unic script whihc in turn executes an Oracle stored ... I am failing the stored proc and using whenever sqlerror in the ... unix script to trap success. ... of my unix directory on failure and on success the PL/SQL procedure ...
    (comp.databases.oracle.server)
  • Re: Finding users in local admin groups
    ... > Here is a vbscript that you can run against a remote computer that moves ... > *local* users except 'Administrator) from the Administrators group to the ... You should also add to the script logging to a file of the ... > you moved on what computers. ...
    (microsoft.public.win2000.security)