Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


September 2006

Troubleshooting Group Policy

You've got to know where to look
RSS
Subscribe to Windows IT Pro | See More Active Directory (AD) Articles Here | Reprints
Or get the Monthly Online Pass—only $5.95 a month!

Group Policy is a complicated piece of technology with lots of moving parts that work together to make it do its thing. Typically, problems with Group Policy arise while you're testing a particular policy. More rarely, problems show up that are unrelated to each other and it isn't obvious that Group Policy is involved in all of them. No matter what the reason, when something goes wrong in Group Policy, you often have to look in several places to find the solution.

The key to successful Group Policy troubleshooting is knowing where to look. Because Group Policy processing consists of two phases, you have two main areas in which to start looking for problems. In the first phase, core processing, Windows queries Active Directory (AD) to figure out which Group Policy Object (GPO) applies to the current computer or user, which policy areas (e.g., administrative templates, software installation) need to be processed, and whether the GPO has changed since that computer or user last processed it. Core processing requires the cooperation of several pieces of your infrastructure, including DNS, AD, File Replication Services (FRS), and your network. If any piece goes bad during core processing, all Group Policy processing will typically cease.

The second phase of processing involves client-side extensions, such as security settings, administrative templates, and folder redirection. Client-side extensions implement policies by processing and applying the settings in the GPOs that were found during core processing. Typically, when a problem occurs during client-side extension processing, that problem is confined to a single client-side extension--or even to a single GPO processed by a client-side extension--and other Group Policy processing continues as expected. Client-side extension problems are more difficult to troubleshoot because each extension that implements a GPO performs its tasks in a slightly different way and generates varying degrees of logging.

Logging of both phases of processing is often vital to successful troubleshooting. The log files can often illuminate problems that aren't obvious at first glance. If a Resultant Set of Policy (RSoP) report and a check of infrastructure components don't show the way to a solution, logging can sometimes reveal error messages that point to the exact problem.

There's no single place you can go to enable all available Group Policy logging. You can enable individual logs manually by using the underlying registry values. Web Table 1 lists the logs available for Group Policy and the accompanying registry values. Alternatively, you can use a free shortcut tool I've created—an Administrative Template (.adm) file called gpolog.adm—to enable any or all Group Policy-related logs. You can download gpolog.adm at http://www.gpoguy.com/tools.htm. Regardless of whether a problem occurs during core processing or client-side-extension processing, following the steps I provide here will help you troubleshoot the problem.

Step 1: Review the most recent processing cycle.
The first step in determining why a workstation or server is having Group Policy processing problems is to find out what happened during the last Group Policy processing cycle. To do so, you need Group Policy Management Console (GPMC) for Windows Server 2003 or Windows XP or the gpresult.exe command-line utility that comes with Windows 2000.

GPMC provides the Group Policy Results Wizard, which you can use to query your Windows 2003 and XP systems to get a report of what happened for a given user on that system during the most recent processing cycle. You can use gpresult.exe to get the same data from the command line that the Group Policy Results Wizard provides. However, if you have Windows 2000 machines and are using the version of gpresult.exe that comes in the Microsoft Windows 2000 Resource Kit, you'll get only a subset of the data that Windows 2003 and XP provide. That's because Win2K doesn't have the RSoP that was added to later versions of the OS.

To run the Group Policy Results Wizard, start GPMC, right-click the Group Policy Results node, and run the wizard. The wizard will ask whether you want to gather results from the local computer or a remote computer.

After you specify the computer, you can choose a user account that has logged on to that computer, if you want to gather user-specific policy settings. The wizard then goes to the computer you've selected, uses Windows Management Instrumentation (WMI) to gather the most recent Group Policy processing data, and reports the results in GPMC's results pane.

From a troubleshooting perspective, the most interesting parts of these results are contained on the Summary and Policy Events tabs. The Summary tab provides an overview of the computer and user-specific policy processing actions during the most recent processing cycle. To find out whether any part of either core or client-side–extension processing failed, you can look at the Component Status section on the Summary tab. A status of "Failed" for Group Policy Infrastructure components indicates a problem with core processing. A status of "Failed" for a client-side extension, such as Folder Redirection, indicates a problem with client-side–extension processing, as Figure 1 shows.

The Policy Events tab gives you additional useful troubleshooting information. The events shown on this tab offer a filtered view of the Application event log for the computer that the Group Policy Results Wizard queried. The view is filtered to show only Group Policy-related events, from which you can often glean useful information about what's working and what isn't. For example, suppose your logon script isn't running but the Summary tab's Component Status for the Scripts client-side extension indicates success. If you were to look in the Policy Events tab, you might see an error related to script processing such as the one shown in Figure 2, which tells you that the script file can't be found. This problem could be due to either a missing script file on the server or a permissions problem. In either case, you have a lead you can use to track down the cause of the problem. After you've used the information in the Summary and Policy Events tabs to narrow the problem, you can dig deeper.

   Previous  [1]  2  Next 


Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...

VMware and the Future of Virtualization

What's next for virtualization and business IT? Windows IT Pro senior editor Jeff James speaks with VMware President and CEO Diane Greene on the future of virtualization technology. ...

Common .pst File Questions

Sue Mosher addresses some of the inevitable questions that Outlook users eventually ask about Personal Folders (.pst) files. ...


Related Articles GPExpert Troubleshooting Pak 1.0

Active Directory (AD) Whitepapers An Introduction to Windows Server 2008 Server Manager

Get More from Active Directory—Easily Audit Changes, and Secure and Restore Objects

User Provisioning: Get the Most Bang for your IT Buck

Related Events Check out our list of Free Email Newsletters!

Active Directory (AD) eBooks Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

A Guide to Group Policy

Windows 2003: Active Directory Administration Essentials

Related Active Directory (AD) Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Critical Challenges of ESI & Email Retention
Are you storing too much electronic information? Get expert legal advice and better understanding of what you are required to do as an IT professional.

Become a fan of Windows IT Pro on Facebook!
Join us on Facebook and be a fan of Windows IT Pro!

Sustainable Compliance: Are You Having a Resource Crisis?
Read this white paper to examine trends in compliance and security management and review approaches to reducing the cost and operational burden of compliance.

Rev Up Your IT Know-How with Our Recharged Magazine!
The improved Windows IT Pro provides trusted IT content with an enhanced new look and functionality! Get comprehensive coverage of industry topics, expert advice, and real-world solutions—PLUS access to over 10,000 articles online. Order today!

Get It All with Windows IT Pro VIP
Stock your IT toolbox with every solution ever printed in Windows IT Pro and SQL Server Magazine plus bonus Web-exclusive content on hot topics. Subscribe to receive the VIP CD and a subscription to your choice of Windows IT Pro or SQL Server Magazine!



Order Your Fundamentals CD Today!
Gain an introduction to Exchange, learn server security requirements, and understand how unified communications can play a role in your messaging strategies with this free Exchange CD.
Windows IT Pro Home Register About Us Affiliates / Licensing Media Kit Contact Us/Customer Service  
SQL Connected Home IT Library SuperSite FAQ Wininfo News
Europe Edition Office & SharePoint Pro Windows Dev Pro Windows Excavator 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing