Windows tip: Working with GPLogView

By Mitch Tulloch  Add a new comment

In my previous tip titled How to troubleshoot Group Policy issues, we looked at a systematic procedure for troubleshooting Group Policy processing issues in Windows Vista and later. This procedure involved using a command-line tool called GPLogView, which is free for download from the Microsoft Download Center. Here are a few more tips for using this tool.

As indicated previously, you can use the following command to filter the Group Policy Operational log for all events having the specified activity ID and display these events in the order in which they occurred:

gplogview –a <activity ID>

Doing this allows you to see all the steps that occurred during a particular Group Policy processing cycle so you can try and pinpoint what caused the processing cycle to fail.

By adding the –o switch, you can save the output of the above command to a text file as follows:

gplogview –a <activity ID> –o output.txt

Then you can view this output by typing notepad output.txt to open the text file using Notepad.

Alternatively, you can save the command output to an HTML file by adding the –h switch like this:

gplogview –a <activity ID> –h –o result.html

Then you can type result.html to open the saved Web page in Internet Explorer as shown in the accompanying Figure 1.

Another alternative is to save the command output as XML, which provides even more details concerning each event. To do this, use the –x switch like this:

gplogview –a <activity ID> –x –o steps.xml

Typing steps.xml then opens up the saved XML file in Internet Explorer as shown in Figure 2.

For details concerning GPLogView syntax, type gplogview /? at a command prompt. You can also read more about this tool on the Group Policy Team Blog. Finally, don't forget you must run GPLogView within an admin-level command window.

Got comments concerning this tip? Want to share a tip of your own with ITworld readers? Email me.

AttachmentSize
ITW 2008 12 tip 3 fig 1.PNG47.97 KB
ITW 2008 12 tip 3 fig 2.PNG51.12 KB

    Add a comment

    Post a comment using one of these accounts
    Or join now
    At least 6 characters

    Note: Comment will appear soon after you have activated your account.
    Obscene/spam comments will be removed and accounts suspended.
    The information you submit is subject to our Privacy Policy and Terms of Service.

    ITworld LIVE

    WindowsWhite Papers & Webcasts

    White Paper

    Microsoft Volume Licensing Reference Guide

    This guide provides an overview of the key features of Microsoft Volume Licensing programs. The information is presented by organizational type and size-two of the most important keys to determining your best Volume Licensing option.

    White Paper

    HP Software Licensing & Management Solutions for Microsoft

    See how HP Software Licensing & Management Solutions (SLMS) can help you identify the best Microsoft licensing program for your needs, get the most from your licensing agreement, and maximize your Microsoft software investment.

    White Paper

    Microsoft Open Value Program Guide

    In this overview, see how Microsoft Open Value provides a flexible, affordable way for small to midsize organizations (i.e. those with five or more desktop PCs) to use and manage all their Microsoft licensed products under a single agreement.

    White Paper

    Microsoft Volume Licensing Comparison - Enterprise

    With this quick-reference document, you can easily compare the available Microsoft Volume Licensing programs for enterprise organizations with 250+ devices, and tailor a program to help save costs, manage multiple licenses, and keep software up-to-date.

    White Paper

    Microsoft Enterprise Agreement Program Brief

    This white paper provides an in-depth look into how the Microsoft Enterprise Agreement Program provides with flexibility to choose among on-premises software and cloud services to best suit your user needs, and helps you optimize your technology spend as business priorities change.

    See more White Papers | Webcasts

    Ask a question

    Ask a Question