# Alpha

Since OSConfig process subdirectories Alphabetically, the Alpha directory was created to run these scripts first

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LLDmMyB19Gj7fR3Z6ui%2F-LLDjdypdIA2NTL8d1PG%2F2018-08-31_1-49-10.png?alt=media\&token=abab33c6-d51c-40bd-a771-1c5e8c48a33e)

## Backup-Registry.ps1 <a href="#backup-registry-ps1" id="backup-registry-ps1"></a>

This PowerShell script will export the registry into reg files. These files are saved in %ProgramData%\OSDeploy\RegistryBackup\\%DateTime%

While these files are not necessary, they do provide a snapshot of the system before OSConfig does its damage. Additionally you can use this script to create a snapshot anytime, or even use it as a Before/After to see what changes are made when configuring a setting

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LDKRxGiKLYjW1gana2O%2F-LLDmMyB19Gj7fR3Z6ui%2F-LLDkk__9GwCKkxEeT6_%2F2018-08-31_1-53-17.png?alt=media\&token=feeca836-7eca-4c5d-a93f-fa0da2cdecd9)

## Remove-AppLockerPolicies.ps1 <a href="#remove-applockerpolicies-ps1" id="remove-applockerpolicies-ps1"></a>

Deletes %SystemRoot%\System32\AppLocker. This prevents any AppLocker configuration from disturbing OS Upgrades. These should be reapplied from a Domain GPO without issue

## Remove-LocalPolicies.ps1 <a href="#remove-localpolicies-ps1" id="remove-localpolicies-ps1"></a>

Deletes %SystemRoot%\System32\GroupPolicy. This clears out Local Policies that may impact OS Upgrades


---

# 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/alpha.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.
