LogoLogo
OSDeploy.comTwitterGitHubPowerShell Gallery
  • Overview
  • Release Notes
    • 2019 Archive
  • OSDeploy Home
  • Module
    • Functions
      • Get-DownOSDBuilder
      • Get-OSBuilds
      • Get-OSDBuilder
      • Get-OSMedia
      • Get-PEBuilds
      • Import-OSMedia
      • Initialize-OSDBuilder
      • New-OSBuild
      • New-OSBuildMultiLang
      • New-OSBuildTask
      • New-OSDBuilderContentPack
      • New-OSDBuilderISO
      • New-OSDBuilderUSB
      • New-OSDBuilderVHD
      • New-OSDBuildPack
      • New-PEBuild
      • New-PEBuildTask
      • Show-OSDBuilderInfo
      • Update-OSMedia
    • GitHub
    • PowerShell Gallery
  • Docs
    • Basics
      • Requirements
      • Installation
      • Get-OSDBuilder
        • Get-OSDBuilder -Update
    • OSImport
      • Import-OSMedia
      • Import-OSMedia Automation
      • Import-OSMedia -Update
      • Import-OSMedia -BuildNetFX
      • Download FeatureUpdates
    • OSMedia
      • Get-OSMedia
      • Download OSMediaUpdates
      • Download OneDrive
      • Update-OSMedia
        • Updates Parameter
        • SkipComponentCleanup Parameter
    • Download Updates
    • Media Functions
      • OS Information
      • Create an ISO
      • Create a USB
      • Create a VHD
    • ContentPacks
      • Content
        • Media
        • OSCapability
        • OSDrivers PEDrivers
        • OSExtraFiles PEExtraFiles
        • OSPackages
        • OSPoshMods PEPoshMods
        • OSRegistry PERegistry
        • OSScripts PEScripts
        • OSStartLayout
        • PEADK
        • PEDaRT
      • MultiLang Content
        • OSLanguagePacks
        • OSLanguageFeatures
        • OSLocalExperiencePacks
        • PEADKLang
      • New-OSBuildTask
      • New-OSBuild
      • Recipes
        • MultiLang FOD NetFX3
        • Multilang FOD RSAT
        • Frogger
    • OSBuild
      • New-OSBuildTask
        • Basic Parameters
          • CustomName
          • EnableNetFX3
          • EnableFeature
          • DisableFeature
          • RemoveAppx
          • RemoveCapability
          • RemovePackage
          • WinPEAutoExtraFiles
        • Content Parameters
          • ContentDrivers
          • ContentExtraFiles
          • ContentPackages
          • ContentScripts
          • ContentStartLayout
          • ContentUnattend
        • WinPE Content Parameters
          • ContentWinPEADK
          • ContentWinPEDaRT
          • ContentWinPEDrivers
          • ContentWinPEExtraFiles
          • ContentWinPEScripts
        • Manual Editing
        • SaveAs
        • Templates
        • Language Parameters
      • New-OSBuild
        • OSBuild Validate
        • OSBuild Download
        • OSBuild Execute
      • Content Directory
        • ADK
        • DaRT
        • Drivers
          • Intel Wireless
          • Intel Bluetooth
          • Intel Ethernet
        • ExtraFiles
        • IsoExtract
        • Mount (Managed)
        • OneDrive
        • OSDUpdate (Managed)
        • Packages
        • Scripts
        • StartLayout
        • Unattend
          • Windows System Image Manager
    • Advanced
      • Settings
        • Redirecting Paths
        • Disable Global Settings
        • Citrix PVS Target Device
        • Automatic Downloads
        • Import-OSMedia
        • Update-OSMedia
      • OSMedia Baseline
      • MultiLang Baseline
        • Clean Start
        • Add Primary Operating System
        • ContentPack Configuration
        • New-OSBuild
        • New-OSBuild PE
    • Legacy Operating Systems
      • Windows 7 SP1
        • Build and Capture
      • Windows Server 2012 R2
    • Windows MultiLang
      • Requirements
      • OSMedia
      • OSBuild Task
      • OSBuild Task WinPE
      • OSBuild
      • OSBuild Test
      • OSBuild MultiLang
      • OSBuild MultiLang Test
    • Support
      • Review the Logs
  • External Links
    • Addons
      • OSDBuilder Import Tool (Andrew Jimenez)
    • WebCast
      • Offline WaaS Servicing (Modern Deployment)
    • Training
      • Arthur
      • DeploymentMX (2018)
      • Brian Gonzales
      • Ben Whitmore
      • Manel Rodero
      • DeploymentMX (2019)
Powered by GitBook
On this page
  • New OSDBuilder Home
  • Import-OSMedia -Update
  • Move ContentPacks
  • New-OSBuildTask
  • New-OSBuild
  • Get-OSMedia -GridView

Was this helpful?

  1. Docs
  2. Advanced

OSMedia Baseline

MMSJazz Edition or Newer

PreviousUpdate-OSMediaNextMultiLang Baseline

Last updated 5 years ago

Was this helpful?

If you have worked with ContentPacks and have your Appx configuration all sorted out, you can create an OSMedia Baseline. The purpose of the Baseline is to have a good starting point for your future images. OSMedia is the typical rebase, but if you are always adding things like ADK Packages, removing Appx Packages, adding RSAT, or even MultiLang, then you should consider doing this

Don't include any Dynamic content, like Drivers, or updating OneDrive. Keep it to things that will not change, like Packages. And ... unless you have bought me a beer, don't ask me for support on this as it is way outside of the normal process

New OSDBuilder Home

You want to start with a clean OSDBuilder Home. These are the commands that I used

OSDBuilder -SetHome D:\OSDBuilder\Baseline

Import-OSMedia -Update

Import a clean image and have it fully patched using the Update parameter. This is the Command that I used

Import-OSMedia -EditionId Enterprise -Update

Move ContentPacks

While my OSMedia is getting created, it's time to move my ContentPacks from my default OSDBuilder Home to my OSDBuilder Baseline. These are the ContentPacks that I have selected

New-OSBuildTask

Now it's time to create a Baseline Task. I typically just remove Appx

Don't enable NetFX 3.5 as this will prevent you from being able to Optimize your WIM. Save that for a real OSBuild. Additionally there may be other Optional Features that you enable or disable that will have Pending actions, so keep your changes minimal

New-OSBuildTask -TaskName "Win10 1909 x64 Baseline" -RemoveAppx

Here is a snippet of the Appx Packages I removed

"RemoveAppxProvisionedPackage":  [
	 "Microsoft.Messaging_2019.125.32.0_neutral_~_8wekyb3d8bbwe",
	 "Microsoft.MicrosoftOfficeHub_18.1901.1141.0_neutral_~_8wekyb3d8bbwe",
	 "Microsoft.MicrosoftSolitaireCollection_4.2.11280.0_neutral_~_8wekyb3d8bbwe",
	 "Microsoft.OneConnect_5.1902.361.0_neutral_~_8wekyb3d8bbwe",
	 "Microsoft.People_2019.123.2346.0_neutral_~_8wekyb3d8bbwe",
	 "Microsoft.SkypeApp_14.35.152.0_neutral_~_kzf8qxf38zg5c",
	 "microsoft.windowscommunicationsapps_16005.11029.20108.0_neutral_~_8wekyb3d8bbwe",
	 "Microsoft.WindowsFeedbackHub_2019.226.2324.0_neutral_~_8wekyb3d8bbwe",
	 "Microsoft.Xbox.TCUI_1.23.28002.0_neutral_~_8wekyb3d8bbwe",
	 "Microsoft.XboxApp_48.48.7001.0_neutral_~_8wekyb3d8bbwe",
	 "Microsoft.XboxGameOverlay_1.32.17005.0_neutral_~_8wekyb3d8bbwe",
	 "Microsoft.XboxGamingOverlay_2.26.14003.0_neutral_~_8wekyb3d8bbwe",
	 "Microsoft.XboxIdentityProvider_12.50.6001.0_neutral_~_8wekyb3d8bbwe",
	 "Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe",
	 "Microsoft.YourPhone_2018.1128.231.0_neutral_~_8wekyb3d8bbwe",
	 "Microsoft.ZuneMusic_2019.18111.17311.0_neutral_~_8wekyb3d8bbwe",
	 "Microsoft.ZuneVideo_2019.18111.17311.0_neutral_~_8wekyb3d8bbwe"
 ]

New-OSBuild

Now its time to create your OSBuild

New-OSBuild -Execute -CreateISO -HideCleanupProgress

When complete, give it a good Rename so you can identify the Baseline and copy it to your production OSDBuilder Home. In the OSImport directory, you will probably now have a duplicate (the original, and the Baseline)

Get-OSMedia -GridView

Its a good idea at this point to remove any previously created OSMedia (not OSImport) that was not created with the Baseline, as well as editing any TASKS that you have created with references to Appx or ADK