gpresult

ターゲット ユーザーとコンピューターの RSoP (ポリシーの結果セット) 情報を表示します。

クエリ グループ ポリシー RSOP データ


gpresult

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

Output:


GPRESULT [/S システム [/U ユーザー名 [/P [パスワード]]]] [/SCOPE スコープ]
           [/USER ターゲット ユーザー名] [/R | /V | /Z] [(/X | /H) <ファイル名> [/F]]

説明:
    このコマンド ライン ツールにより、ターゲット ユーザーとコンピューター
    の RSoP (ポリシーの結果セット) 情報を表示します。

パラメーター一覧:
    /S       システム          接続先のリモート システムを指定します。

    /U       [ドメイン\]ユーザー 
                               コマンドを実行するユーザー コンテキスト
                               を指定します。
                               /X、/H と同時に使用することはできません。

    /P       [パスワード]      指定のユーザー コンテキストのパスワードを
                               指定します。省略すると入力が促されます。
                               /X、/H と同時に使用することはできません。

    /SCOPE   スコープ          ユーザーまたはコンピューターの設定を表示
                               するかどうかを指定します。
                               有効な値は "USER""COMPUTER" です。

    /USER    [ドメイン\]ユーザー
                               どのユーザーの RSoP データを表示するか
                               を指定します。

    /X        <ファイル名>     レポートを XML 形式で現在の場所に保存します。
                               ファイル名は <ファイル名> パラメーターで指定
                               します (Windows Vista SP1 以降および Windows
                               Server 2008 以降で有効)。

    /H        <ファイル名>     レポートを HTML 形式で現在の場所に保存します。
                               ファイル名は <ファイル名> パラメーターで指定
                               します (Windows Vista SP1 および Windows
                               Server 2008 以降で有効)。

    /F                         /X または /H コマンドで指定されたファイル名を
                               gpresult で強制的に上書きします。

    /R                         RSoP 要約データを表示します。

    /V                         詳細な情報が表示されるように指定します。
                               これにより、優先順位 1 で適用された設定の
                               より詳細な情報が表示されます。
                              
    /Z                         さらに詳しい情報が表示されるように指定
                               します。これにより、情報には、優先順位 1
                               またはそれより高い優先順位で適用された
                               設定のさらに詳細な情報が表示されます。
                               これにより、複数の場所で設定されたか
                               どうかを確認することができます。
                               詳しくは、グループ ポリシーのオンライン
                               ヘルプ トピックを参照してください。

    /?                         このヘルプを表示します。


:
    GPRESULT /R
    GPRESULT /H GPReport.html
    GPRESULT /USER ターゲット ユーザー名 /V
    GPRESULT /S システム /USER ターゲット ユーザー名 /SCOPE COMPUTER /Z
    GPRESULT /S システム /U ユーザー名 /P パスワード /SCOPE USER /V

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 14:13:49
LastWrite Time2022/09/29 14:13:49
ProductVersion10.0.19041.1889
FileVersion10.0.19041.1889 (WinBuild.160101.0800)
HashValue
MD5702b98ff114a37cc0ae57f8810829f2f
SHA1cd288cc2f73c0bcc9d3c63b2214731eeab9b4fd3
SHA224d135dcebccf75341fe4dc1bc9e23433b82db68b961daa37622690abe
SHA256c5389b1d4e2810eaa74bb5dc27acdb9764f2e60441605790708596b6513ba303
SHA384436aad74b4774cfb43980ad5483bb04150c2cd7009ad904f8a741b0ec48086a0c4d1e90ae27a9e1d2ff41a4e9f8fb1a5
SHA512e8b668ddd356fe8f6a5d589cdac16827a8b514ab59987b9221ee79f7d7677d4791b1491615d2b1f160966d10afadd265c8376ee954a139b47ca7cf218a49a864
Built with Hugo
テーマ StackJimmy によって設計されています。