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 ConfigMgr Package
  • Task Sequence Run Command Line
  • Complete

Was this helpful?

  1. Docs
  2. Deployment

ConfigMgr New PC TS Package

PreviousDeploymentNextConfigMgr New PC TS Unattend.xml

Last updated 5 years ago

Was this helpful?

The easiest method of applying OSConfig to a New PC is directly from a Package and a Run Command Line. This method is not recommended for testing as the OSConfig progress is not displayed.

The following steps are required

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

Create an ConfigMgr Package

Create a new Package with Source Files to the root of your OSConfig content. Do not create a Program. Distribute Content to your Distribution Points

Task Sequence Run Command Line

Add a Run Command Line step after the "Setup Windows and Configuration Manager" step. Use the following Command Line:

PowerShell.exe -ExecutionPolicy Bypass -File .\OSConfig.ps1

Make sure that you disable 64-bit file system redirection and that you run from your OSConfig package.

Complete

If everything worked fine, your Operating System should show all your customizations

The Support Group is from the Domain GPO

​