Active Directory & GPO

Review Group Policy Exports with WinMerge

Published November 20, 2026

Close-up of keyboard keys and buttons showing their design.
Photo: Alexander-design / Wikimedia Commons, CC0

When a GPO changes unexpectedly, you need to know what changed, not just that something did. Group Policy reports can be exported as text, and WinMerge can show the difference between two exports line by line.

Export both versions

Use the Group Policy Management Console or PowerShell to produce a report of each version:

Get-GPOReport -Name "Workstation Baseline" -ReportType Xml -Path C:\Temp\baseline-2026-11-01.xml

Export the current version the same way, with a different date in the file name. Use the same report type for both, so that the structure matches.

Compare

  1. Open WinMerge and select both XML files.
  2. Scroll through the differences. Look at the settings that matter most: security options, software deployment, firewall rules and logon scripts.
  3. Note each changed setting with its path, the old value and the new value.

Interpret the result

A changed value is not always a mistake. It might be an approved change that the change record does not mention yet. Compare the diff against your change log before you take any action.

Restore carefully

If the change was wrong, restore from the backup of the GPO rather than editing values back by hand. Then verify the result with gpresult /r on a test computer. The step-by-step method is in Group Policy troubleshooting.

Sources