Re: Loginscript is lacking credentials.........
- From: Patrik_L <PatrikL@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 2 Oct 2006 07:54:02 -0700
Hi Paul.
That is ofcourse the way to do it.
I totally forgot about that one.
Thanks a lot.
regards
Patrik
"Paul Bergson" wrote:
You could use the restricted user group gpo setting.
computer configuration \ windows settings \ restricted groups
group = your group to be made local admins
member of = BUILTIN\Administrators
http://www.windowsecurity.com/articles/Using-Restricted-Groups.html
http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/TechRef/156780ef-eb36-4433-b3fe-1b1a15c18f6a.mspx
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sag_scerestrictgroups.mspx
There is absolutely nothing that has to be done on the client side.
Create the gpo in the ou where the Computers reside (NOT the users), go to
computer configuration/windows settings/security settings/restricted groups,
right click on restricted groups and select new group (For the local
computers, this group name should be - administrators) and key in the group
you want auto populated. Select add on the Members of this group and then
add the members you want populated.
--
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:5C573B66-1095-46CC-B787-7AF8D18D8430@xxxxxxxxxxxxxxxx
Hi
In my loginscript, that I execute via GPO, I have code that adds a certain
domain group (admin group) to the local administrators group of the
underlying computer.
Now I have come to realize that, unless the user who is loggin on to the
machine is a member of the local administrators group him/herself, this
does
not work.
Hence, it appears that the login script is executed with the same
permissions as the user logging in!?
I was under the impressions that all GPO's ran with top admin credentials.
If this is not the case, how do I make the script run with admin
credetials ?
Thanks
Patrik
- Follow-Ups:
- Re: Loginscript is lacking credentials.........
- From: Richard Mueller
- Re: Loginscript is lacking credentials.........
- References:
- Re: Loginscript is lacking credentials.........
- From: Paul Bergson
- Re: Loginscript is lacking credentials.........
- Prev by Date: Re: Account lockout
- Next by Date: Re: Loginscript is lacking credentials.........
- Previous by thread: Re: Loginscript is lacking credentials.........
- Next by thread: Re: Loginscript is lacking credentials.........
- Index(es):
Relevant Pages
|