Local Admin & Group Policy Question

E

email4matt

I wanted to make Domain Admins a local administrator of all machines
through Group Policy (I think this happens by default when a machine is
added to the domain, but some users remove it). I found that it can be
done with "Restricted Groups". The policy seems to work ... but ... it
appears to overwrite what's already in the local administrators group.
For us, this is a problem. On some servers or PCs, we have added
individuals to this group, and they need to remain there. Is there any
way to have the Group Policy ADD to the local administrators group, as
opposed to replacing what's there? Thank you!
 
J

Jerold Schulman

I wanted to make Domain Admins a local administrator of all machines
through Group Policy (I think this happens by default when a machine is
added to the domain, but some users remove it). I found that it can be
done with "Restricted Groups". The policy seems to work ... but ... it
appears to overwrite what's already in the local administrators group.
For us, this is a problem. On some servers or PCs, we have added
individuals to this group, and they need to remain there. Is there any
way to have the Group Policy ADD to the local administrators group, as
opposed to replacing what's there? Thank you!

NOT with Group Policy Restricted Groups.

You could use a Startup script on each workstation:

@echo off
net localgroup Administrators "NetBIOSDomainName\Domain Admins" /ADD

But since your users are local admins (how else could they remove Domain Admins?)
they can remove it eacxh time.

You can also use the Task Scheduler and script a batch on each computer, all from your desktop,
or,
or,
or,
....



Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 
E

email4matt

I realize they could remove it, that's why my preference was to use
Group Policy if possible. That way, they could remove it, but it would
always be put back by the policy. Thanks for the info. I guess since
I can't do it through GP, I'll add a line to my login script. Thanks!
 
M

Mark Heitbrink [MVP]

Hi,

Jerold said:
NOT with Group Policy Restricted Groups.

It is. You can add your wanted group to the existing one
without replacing it.

In the restricted group you add first your wanted group
and make them "This group is member of" Administrators

If you do it the other way, add the Administrators to the
restricted group and make them "Member of this group"
(your desired group) it will work replacing.
But since your users are local admins (how else could they
emove Domain Admins?)they can remove it eacxh time.

Thats in fact a problem, but every 16 hour the security policy
will be applied via "force" and will correct that.

Some time later, the local admins should get tired, to edit
this setting every morning ... :)

Mark
 
E

email4matt

Mark,

Thank you so much!!! That did the trick. I really appreciate your
help, picture and all!!!!
 

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