Re: Net user command to add group to local admin
From: martie. (anonymous_at_discussions.microsoft.com)
Date: 02/26/04
- Next message: martie: "Re: Net user command to add group to local admin"
- Previous message: DavieC: "Re: Net user command to add group to local admin"
- In reply to: DavieC: "Re: Net user command to add group to local admin"
- Next in thread: martie: "Re: Net user command to add group to local admin"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Feb 2004 01:59:40 -0800
Hi Davie,
Ok well I've made some progress, basically i figured
that the command will be as follows
net localgroup "administrators" domain\groupname.
So on a workstation called "xp1" which is part of the
domain called "LabdomainA" i was able to add a group i
created in that domain called "TEST" into
the "Administrators" local built in group of "xp1" via the
net localgroup as,
net localgroup "administrators" LabdomainA\Test /add
& it worked ..the group called "Test" which was created in
the "LabDomainA" is now added into the
Local "administrators" group of workstation
called "XP1" ..sorry if i sound like im repeating myself..
the probleme im having is when i try to add the "Domain
Techs" group from the same domain i get the following error
"There is no such global user or group: LabdomainA\domain
There is no such global user or group: Techs
More help is available by typing Net Helpmsg3783"
however it's not providing me with the adequate info to
get it working ?
any idea were i may be going wrong ?
thank for your reply.
>-----Original Message-----
>What is error message/number do you receive?
>
>DavieC
>
>
>"martie" <anonymous@discussions.microsoft.com> wrote in
message
>news:1cee01c3fc22$e662fb40$a001280a@phx.gbl...
>> Hi everybody,
>>
>> Im trying to create a batch file which will add a
>> Group into my computers "Administrators" local group.
>>
>> The group is called "Domain Techs" & each belong to 3
>> different Domains which can access each other with no
>> problem.
>>
>> I have gone through technet
>> article "http://support.microsoft.com/?kbid=251394"
>> however im not having much luck.
>>
>>
>> In the past I've being able to write a batch file which
>> created a local account & added that account into
>> the "administrators" local account but Im not having
much
>> luck with this excercie......any help would be highly
>> appreciated.
>>
>> thankyou in advance.
>>
>
>
>.
>
- Next message: martie: "Re: Net user command to add group to local admin"
- Previous message: DavieC: "Re: Net user command to add group to local admin"
- In reply to: DavieC: "Re: Net user command to add group to local admin"
- Next in thread: martie: "Re: Net user command to add group to local admin"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|