LogoLogo
OSDeploy.comTwitterGitHub
  • Overview
  • OSDeploy Home
  • Download
    • Release Notes
    • GitHub
    • LGPO
    • OSDeploy PowerShell Module
  • Docs
    • Deployment
      • ConfigMgr New PC TS Package
      • ConfigMgr New PC TS Unattend.xml
      • ConfigMgr New PC TS Provisioning Package
      • MDT New PC TS
    • Customize
      • Alpha
      • Apps
      • Background
      • LocalPolicy
        • ImportGPO
        • ImportTXT
        • LGPO
        • Import-GPO.ps1
      • RegistryXML
      • Scripts
      • Start
      • Theme
      • Zeta
    • Group Policies
      • Best Practices
        • Edit Local Policy with Reg Keys
      • Active Directory GPO
      • Build a Domain Controller
      • Update ADMX Templates
      • Local vs Domain Policies
      • Import OSDeploy GPOs
      • Edit OSDeploy Branding GPO
    • Provisioning Packages
      • PowerShell Script to PPKG
      • OSConfig to PPKG
    • Registry
      • Group Policy Preferences
      • GPP Registry.xml
      • RegistryXML Files
      • Convert REG to RegistryXML
      • Apply RegistryXML Files
    • How To
      • Theme Customization
Powered by GitBook
On this page
  • Backup-Registry.ps1
  • Remove-AppLockerPolicies.ps1
  • Remove-LocalPolicies.ps1

Was this helpful?

  1. Docs
  2. Customize

Alpha

PreviousCustomizeNextApps

Last updated 5 years ago

Was this helpful?

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

Backup-Registry.ps1

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

Remove-AppLockerPolicies.ps1

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

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