How to Enable GPO Loopback Processing

GPO loopback processing is a mechanism that allows user policy to takes effect only on certain computers. Normally, user policy is linked to the user OU and will be applied regardless of which computer the user is signed in. However in this case, user policy is linked to the computer OU and will not takes effect to the user when signed in to computers outside this OU. The user policies applied this way can replace the normal policy or be merged with it. Administrator must know how to enable GPO loopback processing and understand which mode that suits the condition.

How to Enable GPO Loopback Processing

In this scenario, we have a domain asaputra.com running on Windows Server 2012 R2 Domain Controller, with the OU structure configured as in below picture. Users are contained in any one of the region OU under the Global Users. Computers are contained either in Dev or Prod under Workstations OU. There is a requirement for users to receive “Global User Policy” and their respective “Branding Policy” per region when they sign in to any computer except to those in the Dev OU. When user signed in to computer under Dev OU, they should receive the “Dev User Policy” instead.

How to Enable GPO Loopback Processing - 1

The step by step to enable Group Policy loopback processing and analysis for this requirement are as follows:

1. Link the required user policy to computer OU
Make sure that the required user policy has been linked to the computer OU. This way, user policy can be applied to the user only when it is signed in to computer that is the member of this OU. In this scenario, the “Dev User Policy” has been applied to Dev, which is a computer OU.

How to Enable GPO Loopback Processing - 2

2. Decide the computer policy object to use
GPO loopback processing is a computer setting so it can be configured in a computer policy. The computer policy itself should be linked to the computer OU. In this scenario, GPO loopback processing will be enabled on “Dev Computer Policy”, and it has been linked to the Dev computer OU.

How to Enable GPO Loopback Processing - 3

3. Configure GPO loopback processing
The setting is located on Computer Configuration > Policies > Administrative Templates > System > Group Policy > Configure user Group Policy loopback processing mode.

How to Enable GPO Loopback Processing - 4

Double click the setting. Set it as Enabled then select the mode from the dropdown menu.

How to Enable GPO Loopback Processing - 5

As mentioned in the opening, there are two modes for loopback processing:

  • Replace: When selected, user policies linked to computer OU will override the other user policies that linked to the user OU.
  • Merge: When selected, user policies linked to computer OU will be applied along with the other user policies that linked to the user OU. If any conflicting setting between policies, GPO will process them normally based on the link order.

Based on the requirement in this scenario, the best suitable mode is Replace because “Dev User Policy” must be applied instead of the other policies that applied normally via the user OU.

Verification

Before loopback processing was enabled, user receives all the policies that applied to its OU. Use command gpresult /r and gpresult /r /SCOPE COMPUTER to prove it, the result as show in picture below:

How to Enable GPO Loopback Processing - 6

When loopback processing has been enabled, those user policies should be replaced by the “Dev User Policy” that is linked to the computer OU. Like a normal GPO, loopback processing should be applied once the policy refreshed, or we can force it by using command gpupdate /force. The picture below is showing the result after that:

How to Enable GPO Loopback Processing - 7

Based on the result, GPO loopback processing has work successfully. For final verification, the user should still receive its normal user policies when signed to a different computer outside the Dev OU.

How to Enable GPO Loopback Processing - 8

In this way you can enable GPO loopback processing.

The following two tabs change content below.
Arranda Saputra

Arranda Saputra

CCNA, CCDA, VCP6-DCV, MCSA Administering Windows Server 2012
An IT infrastructure practitioner with main specialization in network engineering. Cisco is his first love, but he also enjoyed working on virtualization with VMware and system administration with Windows Server.
Arranda Saputra

Latest posts by Arranda Saputra (see all)