本地组策略对象(LGPO)工具
简介
备份/还原本地策略组
# 备份本地策略组
LGPO.exe /b path [/n GPO-name]
path 导出路径(全路径)
# 还原本地策略组
LGPO.exe /g path将 Registry.pol 解析为 LGPO text
LGPO.exe /parse [/q] {/m|/u|/ua|/un|/u:username} path\registry.pol
/q 安静输出
/m 计算机配置
/u 系统范围的用户配置
/ua 管理员用户配置
/un 非管理员用户配置
/u:username 指定用户配置从 LGPO text 构建 Registry.pol
从 pol 导入 Registry 设置
从 LGPO text 导入 Registry 设置
导入 Security 模板
最后更新于