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
  • Create an OSConfig Package for the PPKG File
  • Task Sequence Partition Steps
  • Package Run Command Line
  • Deployment
  • Complete

Was this helpful?

  1. Docs
  2. Deployment

ConfigMgr New PC TS Provisioning Package

PreviousConfigMgr New PC TS Unattend.xmlNextMDT New PC TS

Last updated 5 years ago

Was this helpful?

To use OSConfig in a Provisioning Package, the following changes to the Task Sequence need to be made

  • OSConfig.ppkg must be created as a Package (no Program)

  • Windows Partition Drive Letter must be saved as a Task Sequence Variable

Create an OSConfig Package for the PPKG File

Create a new Package with Source Files to the root of your OSConfig PPKG content. The package will contain only the PPKG file, nothing else. Do not create a Program. Distribute Content to your Distribution Points

Task Sequence Partition Steps

Edit your Partition Disk steps to ensure that the Windows Partition Drive Letter is assigned a Variable. This is typically OSDisk. Repeat this process for both BIOS and UEFI Windows Partitions

Package Run Command Line

Inset a Run Command Line step with your OSConfig PPKG Package to inject the PPKG to the Offline Windows Image (in WinPE). Use the following Command Line

dism /Image=%OSDisk%\ /Add-ProvisioningPackage /PackagePath:"OSConfig.ppkg"

Deployment

OSConfig.ps1 will execute silently during the OOBE Phase, but the child scripts will not

For fully silent operation during OOBE, you can edit OSConfig.ps1 file to make everything run hidden

Complete

When complete, everything should have applied properly. You can check the PPKG LOG file or the OSConfig Log files to determine if there were any issues.

The Support Group is from the Domain GPO

​