GPO to push out local administrators across a domain.
Steps
This how to will walk you through using Restricted groups to put users in the local admin group on all PCs. It will also add them to the Remote Desktop user’s group.
The usefulness in this is keeping as many people out of the domain admin group as possible while allowing the techs to work.
I see this in forums every once in a while but since I am revamping some policies with 2008R2 I thought I would take the time to write down the steps to do this handy little procedure.
I have created these instructions for 2008R2 it should work with 2003 just fine but if you need more details on 2003 check my reference below.
1. |
Define Security GroupFirst you need to define a security group in AD users and computers. In this example I am creating a security group called IT_Admins |
|
---|---|---|
2. |
Create Group Policy.Next you need to create a group policy or use the default Domain Policy (not recommended). |
|
3. |
Edit the policy to contain the IT_Admins groupHere you will add the IT_Admin group to the local administrators policy and put them in the groups you wish them to use. 1. Right click “Local Administrators” Policy. *NOTE: When adding groups, you can add whatever you want, the GPO will match the group on the PC, if you type “Princess” it will match a local group called princess if it exists and put “IT_Admins” in that group. |
|
4. |
TestWait 15 minutes, or log on to a PC and type gpupdate /force and check the local administrators group. You should see IT_Admins in the group now. |
Conclusion
You can add a lot of different groups to power users or different areas on PCs. This allows you to dynamically change who is a member of what group on a PC/Laptop. It is up to you to craft the policy to fit your domain needs.