I just asked that question of the list last month and this seemed to be the
consensus easiest way to accomplish it.

Thanks to everyone !

use this in a script:



 net localgroup "Administrators" {domain\group here} /add

To add a group such as "ExchangeAdmins" in the "IT" domain to the
local
admins group:

NET LOCALGROUP "Administrators" IT\ExchangeAdmins /add

----- Original Message ----- 
From: "Narkinsky, Brian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 15, 2003 10:33 AM
Subject: [ActiveDir] Add junior admin to Local workstations admin group



I need to add two users to the local administrators group of every machine
in
an OU.

I've looked at restricted groups GPO but, this doesn't really seem to do
what
I want.  I don't need to restrict just add.

I am also looking at writing a script to run at boot ,but again not sure
there isn't an easier way.

Any Ideas?

Brian Narkinsky



List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to