Home All Groups Group Topic Archive Search About

Remove members from local administrators group

Author
26 Apr 2007 8:50 PM
Yvonne
I need to use a group policy to remove users from the local administrators
group and only add domain admins. I am trying to use net localgroup
administrators.
What can I use as a variable for the domain users. Is there a script for this?

Author
26 Apr 2007 9:20 PM
Jeremy
Why not just use a restricted groups policy.

This will remove any members not specified and add members you specify.

Show quoteHide quote
"Yvonne" <Yvo***@discussions.microsoft.com> wrote in message
news:6CEC135C-A913-4E24-9A61-4D885C7BA049@microsoft.com...
>I need to use a group policy to remove users from the local administrators
> group and only add domain admins. I am trying to use net localgroup
> administrators.
> What can I use as a variable for the domain users. Is there a script for
> this?