Need to script adding a domain group to the local administrators group

B

Babbit

Need to script adding a domain group to the local administrators group.
On a ton of both windows XP machines, and Windows 2000 machines.
I have access to the windows 2000 resource kit.

I was wondering if there was a command, or utility to go about doing this.
Thanks in advance
 
D

David H. Lipman

From: "Babbit" <[email protected]>

| Need to script adding a domain group to the local administrators group.
| On a ton of both windows XP machines, and Windows 2000 machines.
| I have access to the windows 2000 resource kit.
|
| I was wondering if there was a command, or utility to go about doing this.
| Thanks in advance


The best place to ask a question such as this is in;
microsoft.public.windows.server.scripting

Add to the Kix script something to the effect of...

net localgroup administrators "AD_DOM\DOM_GROUP" /add

This should be added to the NT/AD Domain Logon Script. It should be scripted such that
command is executed only onece and not on subsequent logins.
 
B

Babbit

net localgroup administrators "AD_DOM\DOM_GROUP" /add
This should be added to the NT/AD Domain Logon Script. It should be
scripted such that command is executed only onece and not on
subsequent logins.

Net localgroup works perfectly. Thanks a bunch.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top