# Local Group Policy Object Utility (Windows EXE)

## What

LGPO.exe is Microsoft’s Local Group Policy Object utility. It lets administrators import, export, and apply local Windows Group Policy settings from the command line. This can be useful when deploying security baselines or local policy settings to Windows devices that are not managed through Active Directory Group Policy.

## When/Why

LGPO.exe can help apply required local policy settings to Windows devices so they meet your organization’s security and compliance requirements.  
  
Features:

- Import settings into local group policy from GPO backups or from individual policy component files, including Registry Policy (registry.pol), security templates, and advanced auditing CSV files.
- Export local policy to a GPO backup.
- Parse a Registry Policy (`registry.pol`) file into readable “LGPO text.” The output can be redirected to a file, edited, and imported back into local policy.
- Build a new Registry Policy (registry.pol) file from "LGPO text".
- Enable group policy client-side extensions for local policy processing.

## Before you begin

- Test LGPO changes on a non-production device first.
- Run LGPO.exe with administrator privileges.
- Back up the current local policy before applying new settings.
- Policy changes may affect security, login behavior, Windows Update behavior, browser settings, or other system behavior depending on the imported policy.
- Some changes may require `gpupdate /force`, a sign-out/sign-in, or a reboot.

#### Example: Deploy LGPO.exe with FileWave

1. Download [LGPO.zip](https://kb.filewave.com/attachments/442).
2. Add the required policy files to the same Fileset, such as: 
    - `registry.pol`
    - `GptTmpl.inf`
    - `Audit.csv`
    - `lgpo.txt`
3. Create a Windows script in the Fileset.
4. Use the LGPO command that matches the policy file you are deploying, for example: ```
    LGPO.exe /m "%~dp0registry.pol" /v
    gpupdate /force
    ```
5. Associate the Fileset with a test device first.
6. After validation, deploy to the intended device group.

#### LGPO Policy Example Template

Example Template Fileset:

- [Example LGPO Template.fileset.zip](https://kb.filewave.com/attachments/521)

Use the template variable examples below to apply or remove one Windows local policy value.

You only need to set a few environment variables:

- <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">apply\_policy.ps1</span> applies the policy.
- <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">remove\_policy.ps1</span> removes the policy value.

#### Example Fileset Contents

Example contents: <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">LGPO.exe</span>, <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">apply\_policy.ps1</span>, and <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">remove\_policy.ps1</span>. <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">GeneratedPolicy.txt</span> is created by the script at runtime.

<div class="relative w-full min-w-0 overflow-clip rounded-lg border contain-inline-size bg-token-text-code-block-background border-token-input-background dark my-2" data-theme="dark" id="bkmrk--1"><div class="text-size-chat overflow-auto p-2" dir="ltr">[![ExampleLGPOTemplate.png](https://kb.filewave.com/uploads/images/gallery/2026-05/scaled-1680-/tlN6Ox5CMQyZ9hW1-examplelgpotemplate.png)](https://kb.filewave.com/uploads/images/gallery/2026-05/tlN6Ox5CMQyZ9hW1-examplelgpotemplate.png)</div></div>#### Required Variables

<p class="callout info"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">FW\_POLICY\_TYPE</span> and <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">FW\_POLICY\_DATA</span> are required when applying a policy. They are not required when removing a policy.</p>

<div class="my-4 overflow-x-auto overflow-y-hidden" id="bkmrk-variable-example-not"><table border="1" class="text-size-chat w-full table-auto border-collapse" style="width: 102.143%; border-collapse: collapse; border-style: solid;"><thead class="border-b border-token-border"><tr class="border-b border-token-border last:border-b-0"><th class="max-w-48 min-w-16 p-1 text-left align-top font-semibold whitespace-normal text-token-foreground" style="width: 17.5209%;">**Variable**</th><th class="max-w-48 min-w-16 p-1 text-left align-top font-semibold whitespace-normal text-token-foreground" style="width: 37.5447%;">**Example**</th><th class="max-w-48 min-w-16 p-1 text-left align-top font-semibold whitespace-normal text-token-foreground" style="width: 44.9344%;">**Notes**</th></tr></thead><tbody><tr class="border-b border-token-border last:border-b-0"><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 17.5209%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">FW\_POLICY\_KEY</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 37.5447%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">Software\\Policies\\Microsoft\\Windows\\Installer</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 44.9344%;">Registry policy path. You may also use a full <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">HKLM:\\...</span> path.</td></tr><tr class="border-b border-token-border last:border-b-0"><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 17.5209%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">FW\_POLICY\_VALUE</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 37.5447%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">DisableMSI</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 44.9344%;">Registry value name.</td></tr><tr class="border-b border-token-border last:border-b-0"><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 17.5209%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">FW\_POLICY\_TYPE</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 37.5447%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">DWORD</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 44.9344%;">Required for apply. Common values: <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">DWORD</span>, <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">SZ</span>, <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">QWORD</span>, <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">EXPAND\_SZ</span>, <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">MULTI\_SZ</span>.</td></tr><tr class="border-b border-token-border last:border-b-0"><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 17.5209%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">FW\_POLICY\_DATA</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 37.5447%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">2</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 44.9344%;">Required for apply.</td></tr></tbody></table>

</div>#### Optional Variables

<p class="callout info">For User policies, include <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">LGPO.exe</span> and use LGPO text import. Direct registry fallback is intended for Computer policies because FileWave often runs scripts as LocalSystem.</p>

<div class="my-4 overflow-x-auto overflow-y-hidden" id="bkmrk-variable-default-not"><table border="1" class="text-size-chat w-full table-auto border-collapse" style="width: 100.238%; border-collapse: collapse; border-style: solid;"><thead class="border-b border-token-border"><tr class="border-b border-token-border last:border-b-0"><th class="max-w-48 min-w-16 p-1 text-left align-top font-semibold whitespace-normal text-token-foreground" style="width: 31.0633%;">**Variable**</th><th class="max-w-48 min-w-16 p-1 text-left align-top font-semibold whitespace-normal text-token-foreground" style="width: 20.6691%;">**Default**</th><th class="max-w-48 min-w-16 p-1 text-left align-top font-semibold whitespace-normal text-token-foreground" style="width: 48.2676%;">**Notes**</th></tr></thead><tbody><tr class="border-b border-token-border last:border-b-0"><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 31.0633%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">FW\_POLICY\_SCOPE</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 20.6691%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">Computer</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 48.2676%;">Use <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">Computer</span> for HKLM policy or <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">User</span> for HKCU policy.</td></tr><tr class="border-b border-token-border last:border-b-0"><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 31.0633%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">FW\_LGPO\_EXE</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 20.6691%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">.\\LGPO.exe</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 48.2676%;">Custom path to <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">LGPO.exe</span>.</td></tr><tr class="border-b border-token-border last:border-b-0"><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 31.0633%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">FW\_LGPO\_TEXT\_PATH</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 20.6691%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">.\\GeneratedPolicy.txt</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 48.2676%;">Where the generated LGPO text file is written.</td></tr><tr class="border-b border-token-border last:border-b-0"><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 31.0633%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">FW\_RUN\_GPUPDATE</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 20.6691%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">true</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 48.2676%;">Runs <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">gpupdate.exe /force</span>.</td></tr><tr class="border-b border-token-border last:border-b-0"><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 31.0633%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">FW\_DIRECT\_REGISTRY\_FALLBACK</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 20.6691%;"><span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">true</span></td><td class="max-w-48 min-w-16 p-1 align-top whitespace-normal" style="width: 48.2676%;">Directly writes simple Computer policies if enabled.</td></tr></tbody></table>

</div>#### Example: Disable Windows Installer

```
$env:FW_POLICY_KEY = "Software\Policies\Microsoft\Windows\Installer"
$env:FW_POLICY_VALUE = "DisableMSI"
$env:FW_POLICY_TYPE = "DWORD"
$env:FW_POLICY_DATA = "2"

.\apply_policy.ps1
```

<div class="relative w-full min-w-0 overflow-clip rounded-lg border contain-inline-size bg-token-text-code-block-background border-token-input-background dark my-2" data-theme="dark" id="bkmrk-to-remove-the-same-p"><div class="text-size-chat overflow-auto p-2" dir="ltr">To remove the same policy:</div><div class="text-size-chat overflow-auto p-2" dir="ltr">  
</div></div>```
$env:FW_POLICY_KEY = "Software\Policies\Microsoft\Windows\Installer"
$env:FW_POLICY_VALUE = "DisableMSI"

.\remove_policy.ps1
```

<div class="relative w-full min-w-0 overflow-clip rounded-lg border contain-inline-size bg-token-text-code-block-background border-token-input-background dark my-2" data-theme="dark" id="bkmrk-how"><div class="text-size-chat overflow-auto p-2" dir="ltr"><span style="color: rgb(34, 34, 34); font-family: 'IBM Plex Sans', sans-serif; font-size: 2.2em; font-weight: 400;">How</span></div></div>The attached zip contains <span class="_inlineMarkdown_wo5r6_47 inline-markdown text-size-chat-sm font-mono blend bg-token-text-code-block-background rounded-sm px-1.5 py-0.5 leading-none extension:bg-token-foreground/10 electron:bg-token-list-hover-background/60">LGPO.exe</span>, Microsoft’s Local Group Policy Object utility: [LGPO.zip](https://kb.filewave.com/attachments/442)

<table border="1" id="bkmrk-goal-recommended-com" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><thead><tr><td>**Goal**</td><td>**Recommended Command**</td></tr></thead><tbody><tr><td>Apply LGPO text policy</td><td>LGPO.exe /t path\\lgpo.txt</td></tr><tr><td>Apply a full GPO backup</td><td>LGPO.exe /g path</td></tr><tr><td>Apply machine policy settings</td><td>LGPO.exe /m path\\registry.pol</td></tr><tr><td>Apply user policy settings</td><td>LGPO.exe /u path\\registry.pol</td></tr><tr><td>Apply a security template</td><td>LGPO.exe /s path\\GptTmpl.inf</td></tr><tr><td>Apply advanced audit settings</td><td>LGPO.exe /a path\\Audit.csv</td></tr><tr><td>Export current local policy</td><td>LGPO.exe /b path \[/n GPO-name\]</td></tr><tr><td>Convert Registry.pol to readable text</td><td>LGPO.exe /parse /m path\\registry.pol</td></tr><tr><td>Build Registry.pol from LGPO text</td><td>LGPO.exe /r path\\lgpo.txt /w path\\registry.pol</td></tr></tbody></table>

LGPO.exe has four modes:

1. Import and apply policy settings;
2. Export local policy to a GPO backup;
3. Parse a registry.pol file to "LGPO text" format;
4. Build a registry.pol file from "LGPO text".

To apply policy settings, use one or more of the following LGPO.exe options. Each option can be repeated as needed:

```
/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 advanced auditing settings; /ac to clear policy first
/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)
```

To 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)
```

To parse a Registry.pol file to LGPO text (stdout):

```
LGPO.exe /parse [/q] {/m|/u} path\registry.pol

/m path\registry.pol         parse registry.pol as machine config commands
/u path\registry.pol          parse registry.pol as user config commands
/q                                           quiet output (no headers)
```

To build a Registry.pol file from LGPO text:

```
LGPO.exe /r path\lgpo.txt /w path\registry.pol [/v]

/r path\lgpo.txt              Read input from LGPO text file
/w path\registry.pol     Write new registry.pol file
```

## Validate the policy

After deployment, you can validate the result on the Windows device using one or more of the following:

```
gpupdate /force
gpresult /h C:\Temp\gpresult.html /f
```

<div class="relative w-full mt-4 mb-1" id="bkmrk--2"><div class=""><div class="relative"><div class="h-full min-h-0 min-w-0"><div class="h-full min-h-0 min-w-0"><div class="border border-token-border-light border-radius-3xl corner-superellipse/1.1 rounded-3xl"><div class="h-full w-full border-radius-3xl bg-token-bg-elevated-secondary corner-superellipse/1.1 overflow-clip rounded-3xl lxnfua_clipPathFallback"><div class="relative">  
</div></div></div></div></div></div></div></div>You can also review the relevant local policy settings using the Local Group Policy Editor, where applicable.

## Troubleshooting

- Confirm the script is running as administrator or LocalSystem.
- Confirm paths are correct. When deploying through FileWave, use paths relative to the script location when possible.
- Use `/v` for verbose output during testing.
- Check whether the policy is machine-based or user-based before choosing `/m` or `/u`.
- Reboot the device if the policy requires it.
- Test rollback or backup procedures before broad deployment.

## Related Content

- [Microsoft Download Security Compliance Toolkit and Baselines](https://www.microsoft.com/en-us/download/details.aspx?id=55319)

## Digging Deeper

- [Microsoft Security Compliance Toolkit Documentation](https://learn.microsoft.com/en-us/windows/security/operating-system-security/device-management/windows-security-configuration-framework/security-compliance-toolkit-10)