gpupdate

グループ ポリシーの複数の設定を最新の情報に更新します。

MicrosoftR グループ ポリシー更新ユーティリティ


gpupdate

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

Output:

説明: グループ ポリシーの複数の設定を最新の情報に更新します。

構文:  Gpupdate [/Target:{Computer | User}] [/Force] [/Wait:<>]
     [/Logoff] [/Boot] [/Sync]

パラメーター:

値                          説明
/Target:{Computer | User}   ユーザーのみまたはコンピューターのみの
                            ポリシー設定を更新するかを指定します。
                            既定では、どちらのポリシー設定も更新
                            されます。

/Force                      すべてのポリシー設定を適用し直します。
                            既定では、設定が変更されたポリシーの
                            みが適用し直されます。

/Wait:{値}                  ポリシー処理の完了を待つ時間 (秒) を
                            設定します。既定は 600 秒です。
                            '0' は完了を待たないことを意味します。
                            '-1' は完了するまで待つことを意味します。
                            指定された時間が経過すると、コマンド
                            プロンプトが返されますが、ポリシーの
                            処理は続行されます。

/Logoff                     グループ ポリシーの設定の更新完了後にログ
                            オフします。これは、バックグラウンド更新
                            サイクルではポリシーを処理しないが、ユーザー
                            のログオン時にポリシーを処理するクライアント
                            側の拡張に必要です。例としては、ユーザーを
                            ターゲットとした "ソフトウェアのインストール"
"フォルダー リダイレクト" があげられます。
                            ログオフを必要とする拡張が呼び出されない
                            場合は、このオプションは影響しません。

/Boot                      グループ ポリシー設定の適用後にコンピューター
                            を再起動します。これは、バックグラウンド更新
                            サイクルではポリシーを処理しないが、コン
                            ピュータの起動時にポリシーを処理するクラ
                            イアント側の拡張に必要です。例としては、
                            コンピューターをターゲットとした "ソフトウェ
                            アのインストール" があげられます。再起動を
                            必要とする拡張が呼び出されない場合は、この
                            オプションは影響しません。

/Sync                       次のフォアグラウンド ポリシー アプリケー
                            ションを同時に実行します。フォアグラウンド
                            ポリシー アプリケーションはコンピューターの
                            起動時およびユーザーのログオン時に実行され
                            ます。/Target パラメーターを使うと、これを
                            ユーザー、コンピューター、または両方に指定する
                            ことができます。指定された場合 /Force および
                            /Wait パラメーターは無視されます。
Description:  Updates multiple Group Policy settings.

Syntax:  Gpupdate [/Target:{Computer | User}] [/Force] [/Wait:<value>]
     [/Logoff] [/Boot] [/Sync]

Parameters:

Value                      Description
/Target:{Computer | User}  Specifies that only User or only Computer
                            policy settings are updated. By default,
                            both User and Computer policy settings are
                            updated.

/Force                     Reapplies all policy settings. By default,
                            only policy settings that have changed are
                            applied.

/Wait:{value}              Sets the number of seconds to wait for policy
                            processing to finish. The default is 600
                            seconds. The value '0' means not to wait.
                            The value '-1' means to wait indefinitely.
                            When the time limit is exceeded, the command
                            prompt returns, but policy processing
                            continues.

/Logoff                    Causes a logoff after the Group Policy settings
                            have been updated. This is required for
                            those Group Policy client-side extensions
                            that do not process policy on a background
                            update cycle but do process policy when a
                            user logs on. Examples include user-targeted
                            Software Installation and Folder Redirection.
                            This option has no effect if there are no
                            extensions called that require a logoff.

/Boot                      Causes a computer restart after the Group Policy settings
                            are applied. This is required for those
                            Group Policy client-side extensions that do
                            not process policy on a background update cycle
                            but do process policy at computer startup.
                            Examples include computer-targeted Software
                            Installation. This option has no effect if
                            there are no extensions called that require
                            a restart.

/Sync                      Causes the next foreground policy application to
                            be done synchronously. Foreground policy
                            applications occur at computer start up and user
                            logon. You can specify this for the user,
                            computer or both using the /Target parameter.
                            The /Force and /Wait parameters will be ignored
                            if specified.

Return Code: 4294967295


C:\Windows\system32\gpupdate.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
FileInfo
File Size30720bytes
Creation Time2022/07/08 08:50:28
LastWrite Time2022/07/08 08:50:28
ProductVersion10.0.19041.1889
FileVersion10.0.19041.1889 (WinBuild.160101.0800)
HashValue
MD5118729dd62b9422d21afe5cebd564f8a
SHA10638fc81ac1545d9a324460de4ca6ae234c2a005
SHA224b8ab7e2c8d5f684ecb96098b2e25db08ffa2c25e838ede49f5b8c5b1
SHA256b76ce2bba63bd2949fa6e36fba963379b9d682f7642cd3782d9818fcd30a3e00
SHA384992097edd8ac6f4224f2176a17cc7df6093627a9e8191df87885d091a664e039b61682e3c7939b2b44d293e55b925b36
SHA5127ca53ecdaf4f72948370e74224544db5c3106b829b329c912b77d41e0969b521276135d13a652da8fed326dbb8b6238207bc66b764c03c11b9bb46b5c30dadee
Built with Hugo
テーマ StackJimmy によって設計されています。