Re: What permission(s) am I missing?
- From: "James Whitlow" <jwhitlow@xxxxxxxxxx>
- Date: Mon, 1 Aug 2005 11:02:00 -0500
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?
> >
> >
>
>
.
- Follow-Ups:
- Re: What permission(s) am I missing?
- From: Marty List
- Re: What permission(s) am I missing?
- References:
- WMI: What permission(s) am I missing?
- From: James Whitlow
- Re: What permission(s) am I missing?
- From: Marty List
- WMI: What permission(s) am I missing?
- Prev by Date: Re: migrating printers
- Next by Date: Re: Modify shortcut but set specific icon
- Previous by thread: Re: What permission(s) am I missing?
- Next by thread: Re: What permission(s) am I missing?
- Index(es):
Relevant Pages
|