Hi

i need a script to add a domain group to the local admin group

cheers

ste

Re: Adding to group by BrianEdwardo

BrianEdwardo
Wed May 26 21:06:08 CDT 2004

use local.exe and global.exe from the 2k resource kit, much easier than
trying to script it.


--
BRIAN EDWARDO
"steven" <stebeard@onetel.com> wrote in message
news:uHUyXN2QEHA.1312@TK2MSFTNGP12.phx.gbl...
> Hi
>
> i need a script to add a domain group to the local admin group
>
> cheers
>
> ste
>
>



Re: Adding to group by Ray

Ray
Wed May 26 22:16:20 CDT 2004

Shell script, not vbs:

net localgroup administrators DOMAINNAME\groupname /ADD

Be sure to enclose group names in quotes if there are spaces, i.e.
NET LOCALGROUP Administrators "DOMAINNAME\Helpdesk Support" /ADD

Ray at home

p.s. Note that the user or context under which this is run will need admin
rights on the local machine.

"steven" <stebeard@onetel.com> wrote in message
news:uHUyXN2QEHA.1312@TK2MSFTNGP12.phx.gbl...
> Hi
>
> i need a script to add a domain group to the local admin group
>
> cheers
>
> ste
>
>



Re: Adding to group by Steven

Steven
Thu May 27 12:23:20 CDT 2004

Thanks ray just what i needed


"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
message news:O6Eg9h5QEHA.3012@tk2msftngp13.phx.gbl...
> Shell script, not vbs:
>
> net localgroup administrators DOMAINNAME\groupname /ADD
>
> Be sure to enclose group names in quotes if there are spaces, i.e.
> NET LOCALGROUP Administrators "DOMAINNAME\Helpdesk Support" /ADD
>
> Ray at home
>
> p.s. Note that the user or context under which this is run will need
admin
> rights on the local machine.
>
> "steven" <stebeard@onetel.com> wrote in message
> news:uHUyXN2QEHA.1312@TK2MSFTNGP12.phx.gbl...
> > Hi
> >
> > i need a script to add a domain group to the local admin group
> >
> > cheers
> >
> > ste
> >
> >
>
>



Re: Adding to group by Steven

Steven
Thu May 27 12:23:43 CDT 2004

thanks i will look into this

ste
"BrianEdwardo" <brianedwardo@mail.uophx.edu> wrote in message
news:%23Laku84QEHA.628@TK2MSFTNGP11.phx.gbl...
> use local.exe and global.exe from the 2k resource kit, much easier than
> trying to script it.
>
>
> --
> BRIAN EDWARDO
> "steven" <stebeard@onetel.com> wrote in message
> news:uHUyXN2QEHA.1312@TK2MSFTNGP12.phx.gbl...
> > Hi
> >
> > i need a script to add a domain group to the local admin group
> >
> > cheers
> >
> > ste
> >
> >
>
>