Re: RSOP Planning Security problem
- From: "Alan Mosley" <me@work>
- Date: Fri, 18 Jul 2008 16:26:29 +0800
why not pass credentuals to the locator.connectServer object?
if you dont want people to open and see credentual econde it with windows
script encoder
"Wake-Up-Jeff" <artvandal8@xxxxxxxxxxx> wrote in message
news:%235%234QNH6IHA.4352@xxxxxxxxxxxxxxxxxxxxxxx
I've been trying to do some RSOP Planning using a non-admin user account
on a domain member workstation.
I am using the following VBScript code:
strComputer = "DC1"
Set locator = CreateObject("WbemScripting.SWbemLocator")
Set connection = locator.ConnectServer (strComputer, "root\rsop", null,
null, null, null, 0, null)
(for the ConnectServer parameters, see
http://msdn.microsoft.com/en-us/library/aa393720(VS.85).aspx)
When I logon to the workstation as an administrator - no problem executing
the script.
When I use a non-admin account, I get an error 80070005 access denied
message executing line 3.
I have used the wmimgmt.msc mmc to set permissions on Root\RSOP for
"Authenticated Users" to the same as "Administrators" for "this namespace
and subnamespaces".
I have also granted "Authenticated Users" permission for "RSOP Planning"
and "RSOP Logging" on the OU which contains the workstation account.
What permissions am I missing???
.
- Follow-Ups:
- Re: RSOP Planning Security problem
- From: Wake-Up-Jeff
- Re: RSOP Planning Security problem
- References:
- RSOP Planning Security problem
- From: Wake-Up-Jeff
- RSOP Planning Security problem
- Prev by Date: Re: Manipulating group policies on XP
- Next by Date: Re: Manipulating group policies on XP
- Previous by thread: RSOP Planning Security problem
- Next by thread: Re: RSOP Planning Security problem
- Index(es):