How can I Compare Local Group Policies between Window Servers

6,740

Use GPResult to export a report (/h) of the resultant set of policies for each server. Load those two reports into a differencing/comparison application or online service of your choice (ie: link, link, etc.) and use it to spot the differences.

From GPRresult /?:

GPRESULT [/S system [/U username [/P [password]]]] [/SCOPE scope] [/USER targetusername] [/R | /V | /Z] [(/X | /H) [/F]]

Description: This command line tool displays the Resultant Set of Policy (RSoP) information for a target user and computer.

Share:
6,740

Related videos on Youtube

WernerCD
Author by

WernerCD

Data Analyst Programmer (Primarily C#)

Updated on September 18, 2022

Comments

  • WernerCD
    WernerCD over 1 year

    I am working on installing a business application. I have it working on an "open" test server. I can't seem to get it working on a "hardened" production server.

    Without worrying about the details of this particular issue too much (Something is causing our IIS session state to reset), I'm confident it sits somewhere in the differences in group policies.

    How do you take Server A Local Group Policies and compare them to Server B Local Group Policies in an efficient manner? Neither server is part of a domain. These two servers happen to be 2012 R2, but if possible I'd like to include newer/older servers.

    Having two RDPs open and going line by line is... tedious. Tedious leads to error prone. Microsoft SCM doesn't seem to be the right path.

    • Ramhound
      Ramhound almost 9 years
      Have you tried exporting the working policy and just import on the test server that isn't working?