Group Policy Object Processing Order


GPOs are assigned to containers (sites, domains, or OUs). They are then applied to computers and users in those containers. GPOs can contain both computer and user sets of policies. The Computer section of a GPO is applied during boot. The User section of a GPO is applied at user login. User GPO processing can be configured three different ways, as documented below. Which processing order to use is determined by the GPO which is applied to the computer. Example: gpoProcessing

Normal mode

Loopback: Merge mode

Loopback: Replace mode

GPOs assigned to local machine during boot (Computer sections of the policy) Local Machine Policy [LMP] Site GPOs [S2] Domain GPOs [D] OU GPOs [T,B] GPOs assigned to local machine during boot (Computer sections of the policy) Local Machine Policy [LMP] Site GPOs [S2] Domain GPOs [D] OU GPOs [T,B] GPOs assigned to local machine during boot (Computer sections of the policy) Local Machine Policy [LMP] Site GPOs [S2] Domain GPOs [D] OU GPOs [T,B]
GPOs assigned to user during logon (User sections of the policy)Local Machine Policy [LMP] Site GPOs [S1]  Domain GPOs [N]  OU GPOs [U] GPOs assigned to user during logon (User sections of the policy)Local Machine Policy [LMP] Site GPOs [S1,S2]  Domain GPOs [N,D]  OU GPOs [U,T,B] In terms of order of operations, the GPOs would be applied in this order: LMP,S1,N,U,S2,D,T,B GPOs assigned to user during logon (User sections of the policy)Local Machine Policy [LMP] {From Computer location} Site GPOs [S2] Domain GPOs [D] OU GPOs [T,B]  
Detailed Computer Configuration Application Order: Windows NT System Policies, if the computer is a member of a Windows NT 4.0 Domain that uses them, are applied first. Then Windows 2000 GPOs are applied, starting with Local GPO - This is the only one if the computer is in a Windows NT 4.0 Domain. Detailed User Configuration Application Order: Mandatory/Roaming Profile, if present, is applied first. Then Windows NT ntuser.pol is applied if the user is from a Windows NT 4.0 Domain that uses System Policy. Then Windows 2000 GPOs are applied, starting with Local GPO.

Group Policy Loopback Support as described in MS whitepaper:

Group Policy is applied to the user or computer, based upon where the user or computer object is located in the Active Directory. However, in some cases, users may need policy applied to them, based upon the location of the computer object, not the location of the user object. The Group Policy loopback feature gives the administrator the ability to apply Group Policy, based upon the computer that the user is logging onto. To describe the loopback feature, we'll use an example. In this scenario, you have full control over the computers and users in this domain because you have been granted domain administrator rights. The following illustration shows the Streetmarket domain, which is used to work through this example. gpoord1 Figure 8. The Streetmarket domain When users work in their own workstations, they should have Group Policy applied to them according to the policy settings defined, based on the location of the user object. However, when users log on to a computer whose computer object is in the in the Servers OU, they should get user policy settings based on the computer object location, rather than the user object location. Normal user Group Policy processing specifies that computers located in the Servers OU have the GPOs A3, A1, A2, A4, A6 applied (in that order) during computer startup. Users of the Marketing OU have GPOs A3, A1, A2, A5 applied (in that order), regardless of which computer they log on to. In some cases this processing order may not be appropriate, for example, when you do not want applications that have been assigned or published to the users of the Marketing OU to be installed while they are logged on to the computers in the Servers OU. With the Group Policy loopback support feature, you can specify two other ways to retrieve the list of GPOs for any user of the computers in the Servers OU: The loopback feature was implemented in the Group Policy engine[1], not in the GetGPOList function. When the Group Policy engine is about to apply user policy, it looks in the registry for a computer policy, which specifies which mode user policy should be applied in. Then, based upon this policy, it calls GetGPOList, as appropriate. [1] The Group Policy engine is the part of Group Policy that runs in the Winlogon process.