Why not just use a restricted groups policy.
This will remove any members not specified and add members you specify.
"Yvonne" <Yvonne[ at ]discussions.microsoft.com> wrote in message news:6CEC135C-A913-4E24-9A61-4D885C7BA049[ at ]microsoft.com...
[Quoted Text] >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?
|