gpresult

Query Group Policy RSOP Data

Query Group Policy RSOP Data


gpresult

  • C:\Windows\system32\gpresult.exe /?

Output:


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

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

Parameter List:
    /S        system           Specifies the remote system to connect to.

    /U        [domain\]user    Specifies the user context under which the
                               command should run.
                               Can not be used with /X, /H.

    /P        [password]       Specifies the password for the given user
                               context. Prompts for input if omitted.
                               Cannot be used with /X, /H.

    /SCOPE    scope            Specifies whether the user or the
                               computer settings need to be displayed.
                               Valid values: "USER", "COMPUTER".

    /USER     [domain\]user    Specifies the user name for which the
                               RSoP data is to be displayed.

    /X        <filename>       Saves the report in XML format at the
                               location and with the file name specified
                               by the <filename> parameter. (valid in Windows
                               Vista SP1 and later and Windows Server 2008 and later)

    /H        <filename>       Saves the report in HTML format at the
                               location and with the file name specified by
                               the <filename> parameter. (valid in Windows
                               at least Vista SP1 and at least Windows Server 2008)

    /F                         Forces Gpresult to overwrite the file name
                               specified in the /X or /H command.

    /R                         Displays RSoP summary data.

    /V                         Specifies that verbose information should
                               be displayed. Verbose information provides
                               additional detailed settings that have
                               been applied with a precedence of 1.

    /Z                         Specifies that the super-verbose
                               information should be displayed. Super-
                               verbose information provides additional
                               detailed settings that have been applied
                               with a precedence of 1 and higher. This
                               allows you to see if a setting was set in
                               multiple places. See the Group Policy
                               online help topic for more information.

    /?                         Displays this help message.


Examples:
    GPRESULT /R
    GPRESULT /H GPReport.html
    GPRESULT /USER targetusername /V
    GPRESULT /S system /USER targetusername /SCOPE COMPUTER /Z
    GPRESULT /S system /U username /P password /SCOPE USER /V

Return Code: 0


C:\Windows\system32\gpresult.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
FileInfo
File Size227840bytes
Creation Time2022/09/29 13:58:56
LastWrite Time2022/09/29 13:58:56
ProductVersion10.0.19041.906
FileVersion10.0.19041.906 (WinBuild.160101.0800)
HashValue
MD5702b98ff114a37cc0ae57f8810829f2f
SHA1cd288cc2f73c0bcc9d3c63b2214731eeab9b4fd3
SHA224d135dcebccf75341fe4dc1bc9e23433b82db68b961daa37622690abe
SHA256c5389b1d4e2810eaa74bb5dc27acdb9764f2e60441605790708596b6513ba303
SHA384436aad74b4774cfb43980ad5483bb04150c2cd7009ad904f8a741b0ec48086a0c4d1e90ae27a9e1d2ff41a4e9f8fb1a5
SHA512e8b668ddd356fe8f6a5d589cdac16827a8b514ab59987b9221ee79f7d7677d4791b1491615d2b1f160966d10afadd265c8376ee954a139b47ca7cf218a49a864
Built with Hugo
Theme Stack designed by Jimmy