Troubleshooting Group Policy

Through Group Policy, you can apply a wide variety, and number of user configuration settings and computer configuration settings to users and computers in Active Directory. If your Active Directory environment includes a hierarchy with many different organizational unit (OU) levels, with group policies applied at these different levels within the hierarchy, you can most certainly anticipate that you are going to be troubleshooting Group Policy behavior and Group Policy settings. There are going to be situations when the settings of Group Policy are going to be producing an expected result. Group Policy settings are contained in Group Policy Objects (GPOs), which are in turn linked to sites, domains, or OUs in Active Directory. The GPOs linked to sites, domain, and OUs in Active Directory are then applied to user objects and computer objects that are located within these container type objects. GPOs are processed in a synchronous manner. What this means is that the processing of one GPO must be completed before the next GPO is processed. Depending on the manner in which the GPOs are configured and linked, the GPO processing time at computer startup, or user logon could become quite substantial. This typically occurs in large environments when the Group Policy settings have to be conveyed across the network, and over slow WAN links. Group Policy also stops processing certain policies when it detects a slow link connection. While you would need to be familiar with troubleshooting issues specific to Group Policy settings, you would also at times need to troubleshoot network connectivity issues and examine the underlying operating system which Group Policy depends on. These elements could also be affecting the behavior of a GPO. Remember that Group Policy interrelates with other system components as well.

The common Group Policy issues that need to be resolved are listed below:

Just by looking at the common Group Policy issues which could occur, you can see that Administrators have to be familiar with Group Policy troubleshooting techniques. Windows Server 2003 includes a number or tools and utilities which you can use to troubleshoot GPO behavior, software deployment, and security policies.

The tools and utilities which you can use to assist in troubleshooting Group Policy are listed below:

Troubleshooting Group Policy Infrastructure

As mentioned previously, the underlying operating system and network connectivity can influence whether Group Policy settings are applied to users and computers. The system components within the underlying operating system that you should examine when Group Policy fails are listed below:

The tools that you can use to assist in troubleshooting the underlying operating system components which Group Policy depends on are:

Because the processing of GPOs rely on network connectivity between the client workstation and the domain controller(s) that are members of the sites or domains within Active Directory, a loss of network connectivity can result in no Group Policy settings being processed. A few issues that should be addressed when you are experiencing network connectivity problems are listed below:

You can use the tools listed below to verify network connectivity between network clients and Active Directory domain controllers:

Using Resultant Set of Policy (RSOP) to Troubleshoot Group Policy

The Resultant Set Of Policy Wizard and the Gpresult command-line utility can be used to create RSoP queries that would determine the RSoPs for any users and computers which are defined in the RSoP query. The Resultant Set Of Policy feature is new in Windows Server 2003, and can assist in greatly reducing the quantity of time spent on troubleshooting GPOs. Through RSoP, you can query the existing policies which you have linked to a site, domain, or OU; and which are applied to users and computers.

RSoP can generate information on the following Group Policy settings:

Because numerous GPOs are typically applied in Active Directory, you can use the RSoP feature to determine which policies are applied to the user or computer which you are troubleshooting. RSoP also indicates which Group Policy settings have precedence. RSoP can assist in determining whether security templates have been applied correctly. It also points out instances when any settings are overwritten because of conflicting policy settings.

The four types of information which you can view in the RSoP console are:

RSoP has two modes:

How to create and run an RSoP query to troubleshoot existing policy settings for a specified user and computer:

  1. Click Start, Run, and enter mmc in the Run dialog box. Click OK.
  2. Click Add/Remove Snap-in on the File menu.
  3. Click the Standalone tab, and then click Add.
  4. Select Resultant Set of Policy, and click Add. Click Close.
  5. Click OK.
  6. In the MMC, right-click Resultant Set of Policy and select Generate RSoP Data on the shortcut menu.
  7. Click Next on the initial page of the Resultant Set Of Policy Wizard.
  8. Select Logging mode on the Mode Selection page. Click Next.
  9. When the Computer Selection page opens, select to either run the RSoP query on This Computer, or Another Computer.
  10. You can also select the Do not display policy settings for the selected computer in the results | display user policy settings only checkbox. Click Next.
  11. When the User Selection page opens, you can select that the query use the Current User, or you can choose the Select A Specific User option.
  12. You can also select the Do not display policy settings for the selected user in the results | display computer policy settings only checkbox. Click Next.
  13. Verify the parameters that you set for the RSoP query on the Summary Of Selections page. Click Next.
  14. Click Finish on the Completing The Resultant Set Of Policy Data Wizard page.
  15. The RSoP console would display the data which resulted from running the RSoP query.

Using Gpresult.exe to Troubleshoot Group Policy

You can use the Gpresult.exe command-line utility available in Windows Server 2003 to create RSoP queries which can collect and report RSoP data or information on users and computers. Gpresult.exe can be used to gather the information listed below which could be useful when you have to troubleshoot Group Policy.

The syntax of the Gpresult command and its parameters are listed below:

gpresult [/s computer [/u domain\user /p password]] [/user username] [/scope {user|computer}] [/v] [/z]

Using Gpupdate.exe to Troubleshoot Group Policy

You can use the Gpupdate.exe command-line utility to perform the following tasks:

The Gpupdate.exe command-line utility is new in Windows Server 2003. It replaces the Secedit, refresh policy command which was used in Windows 2000.

The syntax of the Gpupdate command and its parameters are listed below:

Gpupdate [/Target:{Computer | User}] [/Force] [/Wait:<value>] [/Logoff] [/Boot] [/Sync]

Using the Group Policy Management Console (GPMC) to Troubleshoot Group Policy

The Group Policy Management Console (GPMC) incorporates numerous Group Policy operations into one management console, and therefore enables you to manage Group Policy settings within your environment from one location. The GPMC can be used to examine all sites, domains, OUs and GPOs within your enterprise. The GPMC consists of an MMC, a set of automated scripts which can be run from the command line, and a set of batch files. The scripts included in the Group Policy Management Console (GPMC) can be used to list and view the following GPO information:

Because of the information which you can view using the GPMC, it can be of assistance when you need to troubleshoot GPO behaviour. It allows you to examine the settings of a specific GPO, and is can also be used to determine how your GPOs are linked to sites, domains, and OUs. To access the GPMC, click Start, Administrative Tasks, and then click Group Policy Management. The Group Policy Results report collects information on a computer and user, to list the policy settings which are enabled. To create a Group Policy Results report, right-click Group Policy Results, and select Group Policy Results Wizard on the shortcut menu. This launches the Group Policy Results Wizard, which guides you through various pages to set parameters for the information that should be displayed in the Group Policy Results report.

Troubleshooting Policy Inheritance

To successfully troubleshoot policy inheritance issues, you need to thoroughly understand how policy inheritance affects the application of Group Policy settings within GPOs. You also need to understand how enabling the Block Policy Inheritance option and No Override option affect policy inheritance. Inheritance signifies that Group Policy settings which affect user configuration and computer configuration are the resultant set of policies inherited from parent containers. Policies are usually passed down from a parent container to its associated child containers. When the policy setting for a parent OU is set to Enabled or Disabled; and the child OU does not have the same policy setting configured, the child OUs inherits the policy setting of its parent OU. The exception being that a Group Policy setting defined for a child OU overrides the same setting which it inherited from its parent OU.

Group policy settings are processed in the order specified below:

  1. Local GPO: Because the local GPO is applied first, it means that policies defined at the local computer have the least priority.
  2. Site GPO: Site GPOs are GPOs which are linked to sites. The order of the different site GPOs are determined and defined by the Administrator.
  3. Domain GPOs: Domain GPOs are applied next. GPOs linked to a domain have precedence over site GPOs and local GPOs.
  4. OU GPOs linked to the OU highest in the Active Directory hierarchy are applied before any other OUs. OU GPOs linked to the OU closest to the user or computer is then applied. When the OU that contains the user or computer has a GPO linked to it; that GPO is applied last.

Block Policy Inheritance can be explicitly specified for a site, domain or OU; and is not applied to any GPOs or GPO links. When enabled for a site, domain or OU; it prevents any Group Policy settings from passing down from higher up in the tree, to the particular site, domain or OU for which it is enabled. The only exception is that any GPO links which have the No Override settings enabled are not blocked, but are applied. When the No Override setting is enabled for a GPO which is linked to a site, domain or OU, no Group Policy settings contained in the particular GPO is overridden by other GPOs. Because of the hierarchical manner in which GPOs are applied, and there happens to be more than one GPO which has the No Override setting enabled, the GPO highest in the tree has precedence.

A few techniques for troubleshooting Group Policy inheritance are listed below:

Techniques for Troubleshooting Software Deployed through Group Policy

A few common software deployment issues and the strategies that can be used to resolve these issues are discussed below:

Techniques for Troubleshooting Folder Redirection and Offline Files

A few folder redirection and Offline Files specific issues, and the strategies that can be used to resolve these issues are discussed below:



Top 5 Free Networking Tools

Bookmark Troubleshooting Group Policy

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.