# 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
