GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing ss64.com — LGPO command - Windows CMD LGPO.exe (MS Security Compliance Toolkit)Local Group Policy Object utility. Syntax
Apply policy settings:
LGPO.exe command [...]
where "command" is one or more of the following (each of which can be repeated):
/g path Import settings from one or more GPO backups under "path"
/m path\registry.pol Import settings from registry.pol into machine config
/u path\registry.pol Import settings from registry.pol into user config
/s path\GptTmpl.inf Apply security template.
/a[c] path\Audit.csv Apply an advanced auditing settings backup(CSV) file; /ac to clear policy first
With /ac, LGPO.exe clears existing Advanced Auditing settings before
applying the settings from the CSV file, and copies the file to the
local group policy subdirectory so that the settings appear in
the local group policy editor.
/t path\lgpo.txt Apply registry commands from LGPO text.
/e name|guid Enable GP extension for local policy processing; specify a GUID,
or one of these names:
"zone" for IE zone mapping extension
"mitigation" for mitigation options, including font blocking
"audit" for advanced audit policy configuration
/boot Reboot after applying policies
/v Verbose output
/q Quiet output (no headers)
Create a GPO backup from local policy:
LGPO.exe /b path [/n GPO-name]
/b path Create GPO backup in "path"
/n GPO-name Optional GPO display name (use quotes if it contains spaces)
Parse a Registry.pol file to LGPO text (
Capture a backup before you apply the new settings. File locations: %Systemroot%\System32\GroupPolicy\ ExamplesExport a Local Group Policy backup:
Import some previously saved Local Group Policy settings:
“The policy of being too cautious is the greatest risk of all” ~ Jawaharlal Nehru Related commandsLGPO.exe v1.0 - Microsoft Security Guidance blog. Copyright © 1999-2026 SS64.com
Some rights reserved |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |