Microsoft 365, AD and Windows · #39

Online gpresult Comparison

Compares the GPO results of a working and a broken device (or two users) by GUID.

  • Data is processed in your browser and not sent to a server
  • Export: CSV

Tool

gpresult /x output. Data does not leave your browser.

What does this tool do?

The answer to 'this setting applies on one computer but not the other' is usually in the gpresult report: the GPO was security-filtered, rejected by a WMI filter or never linked. The tool matches two gpresult /x XMLs by GPO identity and shows differences in application state with the reason.

How to use it

  1. On both devices run gpresult /scope computer /x a.xml from an elevated prompt (/scope user for users, or both).
  2. Paste the XML contents into the two fields and press Calculate.

Fields

Device A gpresult XML
gpresult /x output. Data does not leave your browser.
Device B gpresult XML

Worked example

InputValue
Device A gpresult XML
<Rsop><ComputerResults><Name>CONTOSO\PC-0042$</Name><GPO><Name>Default Domain Policy</Name><Path><Identifier>{31B2F340-016D-11D2-945F-00C04FB984F9}</Identifier></Path><Enabled>true</Enabled><IsValid>true</IsValid><FilterAllowed>true</FilterAllowed><AccessDenied>false</AccessDenied></GPO><GPO><Name>PC - BitLocker</Name><Path><Identifier>{A1B2C3D4-0000-1111-2222-333344445555}</Identifier></Path><Enabled>true</Enabled><IsValid>true</IsValid><FilterAllowed>true</FilterAllowed><AccessDenied>false</AccessDenied></GPO></ComputerResults><UserResults><Name>CONTOSO\ayilmaz</Name><GPO><Name>U - Sürücü Eşleme</Name><Path><Identifier>{B1B2C3D4-0000-1111-2222-333344445555}</Identifier></Path><Enabled>true</Enabled><IsValid>true</IsValid><FilterAllowed>true</FilterAllowed><AccessDenied>false</AccessDenied></GPO></UserResults></Rsop>
Device B gpresult XML
<Rsop><ComputerResults><Name>CONTOSO\PC-0043$</Name><GPO><Name>Default Domain Policy</Name><Path><Identifier>{31B2F340-016D-11D2-945F-00C04FB984F9}</Identifier></Path><Enabled>true</Enabled><IsValid>true</IsValid><FilterAllowed>true</FilterAllowed><AccessDenied>false</AccessDenied></GPO><GPO><Name>PC - BitLocker v2</Name><Path><Identifier>{A1B2C3D4-0000-1111-2222-333344445555}</Identifier></Path><Enabled>true</Enabled><IsValid>true</IsValid><FilterAllowed>false</FilterAllowed><AccessDenied>false</AccessDenied></GPO></ComputerResults><UserResults><Name>CONTOSO\akaya</Name><GPO><Name>U - Sürücü Eşleme</Name><Path><Identifier>{B1B2C3D4-0000-1111-2222-333344445555}</Identifier></Path><Enabled>true</Enabled><IsValid>true</IsValid><FilterAllowed>true</FilterAllowed><AccessDenied>false</AccessDenied></GPO></UserResults></Rsop>

Expected result: The BitLocker GPO (same GUID) applies on A but is security-filtered on B, and its name changed. Default Domain Policy and the user GPO are identical.

The PC-0043 computer account does not appear to be in the group used for the BitLocker GPO's security filtering. A computer group membership change takes effect after a restart.

Method and assumptions

GPO elements under ComputerResults and UserResults are read from each XML; identity is the Path/Identifier GUID. Applied = Enabled true, IsValid true, FilterAllowed true and AccessDenied false.

Both sides are compared per scope and GUID: GPOs on one side only, changed application state and name-only changes are listed separately.

Using the result and troubleshooting

'Filtered' means security or WMI filter; 'access denied' means missing read/apply permission. Check the Scope tab and Delegation permissions in GPMC.

Limits and common mistakes

  • Individual settings (registry, security settings) are not compared; it works at GPO level.
  • Fields not recognized in the report are not interpreted; missing fields do not prevent 'applied'.

Frequently asked questions

Why does a GPO with the same GUID have a different name?

It was renamed and the reports were taken at different times. As long as the GUID matches it is the same GPO.

Related tools and service

Related service: Server and Cloud Management

Systems online tools · See all online tools