Author Topic: Tip: Troubleshoot Group Policy with GPLogView  (Read 2976 times)

0 Members and 1 Guest are viewing this topic.

Tip: Troubleshoot Group Policy with GPLogView
« on: February 17, 2009, 05:17:54 PM »

Offline Webmaster

  • Nick Computer Services
  • Administrator
  • Full Member
  • *
  • Posts: 168
  • Karma: +999/-0
  • Gender: Male
  • Love Me Love My Services
    • Computer Service

GPLogView.exe is a command-line troubleshooting tool that you can use to dump Group Policy–related events logged in the System Event Log channel and the Group Policy Operational Event Log channel. GPLogView.exe works only on Windows Vista; it is not included with Windows Vista but GPLogView.exe is available as a free download. The command-line options for this tool are:

-? Shows this usage message.
-o [output file name] Output filename required for text, xml, or html; not valid if -m is specified.
-n Do not output the activity ID.
-p Dump the process ID and thread ID associated with each event.
-a [activity id guid] Shows only events matching the given activity ID.
-m Runs the tool in monitor mode displaying events in real time.
-x Dumps the event in XML; the only other options allowed with this option are –m and -a but not both together.
-h Dumps the events in HTML format; -m or -x option not allowed, and -a and -n are allowed, but not both together. Also must specify -o option.
-q [Query file name] Uses the query specified by query file.
-l [Publisher name] If -q is specified, the publisher name must be specified.


The following examples illustrate the use of this tool:
GPLogView.exe -o GPEvents.txt
GPLogView.exe -n -o GPEvents.txt
GPLogView.exe -a ea276341-d646-43e0-866c-e7cc35aecc0a -o GPEvents.txt
GPLogView.exe -p -o GPEvents.txt
GPLogView.exe -x -o GPEvents.xml
GPLogView.exe -x -m
GPLogView.exe -x -a ea276341-d646-43e0-866c-e7cc35aecc0a -o GPEvents.xml
GPLogView.exe -h -o GPEvents.html
GPLogView.exe -h -a ea276341-d646-43e0-866c-e7cc35aecc0a -o GPEvents.html
GPLogView.exe -h -q somequeryFile.txt -l Microsoft-Windows-GroupPolicy -oGPEvents.html


 
Share this topic...
In a forum
(BBCode)
In a site/blog
(HTML)


Related Topics

  Subject / Started by Replies Last post
0 Replies
2502 Views
Last post June 11, 2010, 05:51:56 PM
by Nick
0 Replies
2502 Views
Last post July 02, 2010, 04:32:27 PM
by Nick
0 Replies
2435 Views
Last post July 02, 2010, 06:10:50 PM
by Nick
0 Replies
1413 Views
Last post January 13, 2012, 01:59:37 PM
by Nick
0 Replies
1518 Views
Last post November 12, 2012, 03:51:40 PM
by Nick
0 Replies
1280 Views
Last post November 11, 2013, 01:15:18 PM
by Nick
0 Replies
1503 Views
Last post July 01, 2014, 06:20:01 PM
by Nick
0 Replies
1210 Views
Last post January 08, 2016, 11:23:49 AM
by penguin4
0 Replies
821 Views
Last post October 17, 2016, 01:17:03 AM
by panda42
0 Replies
739 Views
Last post October 17, 2016, 09:57:30 AM
by panda42