Re: Loginscript is lacking credentials.........
- From: "Paul Bergson" <pbergson@xxxxxxxxxxxxxxxxx>
- Date: Wed, 4 Oct 2006 12:19:30 -0500
You used the wrong option use the "This group is a member of option."
See my previous post to you on this, it should explain it.
--
Paul Bergson
MVP - Directory Services
MCT, MCSE, MCSA, Security+, BS CSi
2003, 2000 (Early Achiever), NT
http://www.pbbergs.com
Please no e-mails, any questions should be posted in the NewsGroup
This posting is provided "AS IS" with no warranties, and confers no rights.
"Patrik_L" <PatrikL@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:28E337F0-06DD-4896-81EE-07B2F5B0813E@xxxxxxxxxxxxxxxx
Hi Paul.
What I want to achieve is the following.
We have several organizations involved in our AD.
When a machine is added to the domain, and put in a certain OU, the admins
of that OU should be added to the local administrators group of the
machine
in question.
Since users have a nasty habit of deleting entries in the local admins
group
I want to achieve this (or at least check) everytime the machine starts.
My problem now is this:
When I tried the "Restricted Groups" approach and entering the data in the
"Memebers of this group" field, this overwrites the other members of the
admin group.
When I try the "Startup Script" approach, using exactly the code that you
described in one of your threads, i.e. the:
net localgroup Administrators /add Domain\OU.Admins
The GPO runs fine (according to gpresult) but there has been no changes to
the admin group. When I run the script locally on a client, it works fine,
so
I don't think the script is the problem.
I have placed the GPO handling this script on a CompanyOU level, i.e. this
OU contains other Ou's. Could it be that it has to be applied to the OU
that
directly conatins all the client ?
With regards to using the "Restricted Groups" approach I am not sure what
you mean when mention the "memberOf section". How could I solve my issue
using this one ?
Regards
Patrik
--
--------------------------------
Stockholm, Sweden
"Paul Williams [MVP]" wrote:
I responed to the statement:
"...when you configure the members of the "administrators" group, it will
overwrite the existing membership of the group and replace the members
with
those specified within the GPO."
Which is talking about configuring the member attribute of the
administrators group and doesn't mention the memberOf section of GPO.
Therefore what the original post stated was correct and I confirmed that.
The original statement isn't that easy to use as the OP is using
non-specific terminology. I guess you misunderstood? Or maybe I did,
but
the way I read that is that we are talking about configuring the member
tab
of the local group administrators overwrites the current members of this
group.
--
Paul Williams
Microsoft MVP - Windows Server - Directory Services
http://www.msresource.net | http://forums.msresource.net
.
- References:
- Re: Loginscript is lacking credentials.........
- From: Paul Bergson
- Re: Loginscript is lacking credentials.........
- From: Patrik_L
- Re: Loginscript is lacking credentials.........
- From: Paul Williams [MVP]
- Re: Loginscript is lacking credentials.........
- From: Jorge Silva
- Re: Loginscript is lacking credentials.........
- From: Paul Williams [MVP]
- Re: Loginscript is lacking credentials.........
- From: Patrik_L
- Re: Loginscript is lacking credentials.........
- Prev by Date: Re: tool to query AD
- Next by Date: Computers/Server dis-joining from domain
- Previous by thread: Re: Loginscript is lacking credentials.........
- Next by thread: Re: Loginscript is lacking credentials.........
- Index(es):
Relevant Pages
|
Loading