Would be kinda handy if you have rcmd installed on all servers and put
them in the text list - without having to wait for startup scripts.

FOR /F "skip=1 usebackq delims==" %% IN (filename) DO rcmd \\%%1 "net
localgroup administrators blabla /add"

Thank you and have a splendid day!
 
Kind Regards,
 
Freddy Hartono
Windows Administrator (ADSM/NT Security)
Spherion Technology Group, Singapore
For Agilent Technologies
E-mail: [EMAIL PROTECTED]
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Medeiros, Jose
Sent: Wednesday, April 06, 2005 8:29 AM
To: [email protected]
Subject: RE: [ActiveDir] Script to add a group to the local
administrator's group?

Sounds easy enough, now how can I have this run and update 500 servers
without having to logon to each one or add it as a logon script?

Thanks in advance for your help!

Senior System Engineer
ADP National Accounts, ProBusiness Division
Jose Medeiros


-------------------------------------------------------
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, April 05, 2005 5:19 PM
To: [email protected]
Subject: Re: [ActiveDir] Script to add a group to the local
administrator's group?


Hi Jose

net localgroup administrators "grupnametoadd" /add

Only 11 words!

Regards;

James R. Day
Active Directory Core Team
Office of the Chief Information Officer
National Park Service
(202) 354-1464 (direct)
(202) 371-1549 (fax)
[EMAIL PROTECTED]


 

                      "Medeiros, Jose"

                      <[EMAIL PROTECTED]        To:
<[email protected]>

                      com>                           cc:       (bcc:
James Day/Contractor/NPS)                                               
                      Sent by:                       Subject:
[ActiveDir] Script to add a group to the local administrator's group?

                      [EMAIL PROTECTED]

                      tivedir.org

 

 

                      04/05/2005 04:28 PM MST

                      Please respond to

                      ActiveDir

 





Greetings,

I am new to the list, so please forgive me if this has been posted in
the
past.

Does anyone have a Script to add a domain group to the local
administrator's group on member servers or workstations?

Sincerely,

Jose Medeiros
408-449-6621 Cell



List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to