Would you like to learn how to use a group policy to add local administrators to the domain computers? In this tutorial, we are going to show you how to create a group policy to add a group of users as local administrators.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10
• Windows 7

Hardware List:

The following section presents the list of equipment used to create this Windows tutorial.

Every piece of hardware listed above can be found at Amazon website.

Tutorial – Creating the GPO to add local administrators

On the domain controller, create a group of users.

Windows group - LOCAL-ADMINS

Members of this group will be configured as administrators of every computer in the domain.

GPO - manage local administrators

On the domain controller, open the group policy management tool.

Windows 2012 - Group Policy Management

Create a new group policy.

Windows 2012 - Group Policy Objects

Enter a name for the new group policy.

GPO - Add local administrators

In our example, the new GPO was named: LOCAL ADMINISTRATORS.

On the Group Policy Management screen, expand the folder named Group Policy Objects.

Right-click your new Group Policy Object and select the Edit option.

GPO - Configure local administrators

On the group policy editor screen, expand the Computer configuration folder and locate the following item.

Copy to Clipboard

Right-click on restricted groups and select the option to add a group.

GPO Restricted groups

Enter the desired group name.

GPO - Local admins

On the bottom part of the screen, click on the Add button.

Enter the local administrator group name.

GPO - local administrator

In our example, members os the Active Directory group named LOCAL-ADMINS will be automatically configured as members of the local administrator group.

To save the group policy configuration, you need to close the Group Policy editor.

Congratulations! You have finished the GPO creation.

Tutorial – Applying the GPO to configure local administrators

On the Group policy management screen, you need to right-click the Organizational Unit desired and select the option to link an existent GPO.

Windows-2012-Applocker application

In our example, we are going to link the group policy named LOCAL ADMINISTRATORS to the root of the domain.

Group policy object - Local adminstrators

After applying the GPO you need to wait for 10 or 20 minutes.

During this time the GPO will be replicated to other domain controllers.

To test the configuration, verify the members of the local administrator group on a remote computer.

GPO - Adding local administrator

In our example, the group named LOCAL-ADMINS is a member of the local administrators group.