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
  • OSConfig.ps1
  • Relocate OSConfig
  • Log Environment Variables
  • Increase Screen Buffer Size
  • Execute Child-Items

Was this helpful?

  1. Docs

Customize

This section will detail the Components of OSConfig and how they Customize the OS . . .

OSConfig.ps1

This is the Main script that kicks everything off in the following steps

Relocate OSConfig

If OSConfig.ps1 is not executed from C:\ProgramData\OSConfig\*, it will be coped there automatically

Log Environment Variables

Environment Variables will be logged and saved in the OSConfig Transcript

Increase Screen Buffer Size

When running OSConfig in the OOBE Phase, there are no defaults set for PowerShell Console. A default will be added to allow for extended scrolling

Execute Child-Items

The Main part of OSConfig.ps1 is to search for all subdirectories and to execute all PowerShell scripts that exist in the root of the subdirectories. These can be anything you want . . . the choice is up to you. I have included some of the customizations that I run to help you get a head start.

PreviousMDT New PC TSNextAlpha

Last updated 5 years ago

Was this helpful?