| 用途 | 手动触发组策略刷新 |
|---|---|
| 语法 | gpupdate [/force] [/target:user|computer] [/boot|/logoff] |
| 默认节奏 | 后台每 90 分钟±随机偏移刷新一次 |
常用示例
常用示例
gpupdate
gpupdate /force
gpupdate /target:computer /force“刷新成功”只代表策略取回,是否生效还要 gpresult 核对;部分策略需重启/重新登录。
改完策略让客户端立即拉取:gpupdate /force 全量刷新,/target 可只刷用户或计算机部分。
| 用途 | 手动触发组策略刷新 |
|---|---|
| 语法 | gpupdate [/force] [/target:user|computer] [/boot|/logoff] |
| 默认节奏 | 后台每 90 分钟±随机偏移刷新一次 |
gpupdate
gpupdate /force
gpupdate /target:computer /force