Re: Loginscript is lacking credentials.........
- From: Patrik_L <PatrikL@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 3 Oct 2006 23:16:01 -0700
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
- Follow-Ups:
- Re: Loginscript is lacking credentials.........
- From: Paul Williams [MVP]
- Re: Loginscript is lacking credentials.........
- From: Paul Bergson
- Re: Loginscript is lacking credentials.........
- 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.........
- Prev by Date: Re: Removing domain tree from forest
- Next by Date: scwcmd transform /p:"C:\Windows\Security\msscw\Policies\
- Previous by thread: Re: Loginscript is lacking credentials.........
- Next by thread: Re: Loginscript is lacking credentials.........
- Index(es):
Relevant Pages
|