# LocalPolicy

LocalPolicy is the bridge to bringing your Group Policy Objects into Local Policy. Currently Group Policy and Registry Group Policy Preferences are applied using OSConfig and the Import-GPO.ps1

LGPO.exe is required for LocalPolicy to apply. This is not included in the OSConfig download

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LLDoqFi9T_2uoCWYrVi%2F-LLDosyYa57bd4FsSJX0%2F2018-08-31_2-11-57.png?alt=media\&token=9384cc6a-cb90-45fa-99c6-9883bf799cf7)

## ImportGPO <a href="#importgpo" id="importgpo"></a>

GPO Backups or GPO copies from Sysvol placed in this directory will be applied to Local Policy using Import-GPO.ps1

## ImportTXT <a href="#importtxt" id="importtxt"></a>

LGPO Text files placed in this directory will be processed by LGPO.exe using Import-TXT.ps1

## LGPO <a href="#lgpo" id="lgpo"></a>

Directory containing LGPO.exe as detailed on this link

## Import-GPO.ps1 <a href="#import-gpo-ps1" id="import-gpo-ps1"></a>

Script to process GPO files contained in the ImportGPO directory

## Import-TXT.ps1 <a href="#import-txt-ps1" id="import-txt-ps1"></a>

Script to process LGPO Text files contained in the ImportTXT directory

​

​

​


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://osconfig.osdeploy.com/docs/untitled-1/localpolicy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
