OSMedia Baseline
MMSJazz Edition or Newer

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
1
OSDBuilder -SetHome D:\OSDBuilder\Baseline
Copied!

Import-OSMedia -Update

Import a clean image and have it fully patched using the Update parameter. This is the Command that I used
1
Import-OSMedia -EditionId Enterprise -Update
Copied!

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
1
New-OSBuildTask -TaskName "Win10 1909 x64 Baseline" -RemoveAppx
Copied!
Here is a snippet of the Appx Packages I removed
1
"RemoveAppxProvisionedPackage": [
2
"Microsoft.Messaging_2019.125.32.0_neutral_~_8wekyb3d8bbwe",
3
"Microsoft.MicrosoftOfficeHub_18.1901.1141.0_neutral_~_8wekyb3d8bbwe",
4
"Microsoft.MicrosoftSolitaireCollection_4.2.11280.0_neutral_~_8wekyb3d8bbwe",
5
"Microsoft.OneConnect_5.1902.361.0_neutral_~_8wekyb3d8bbwe",
6
"Microsoft.People_2019.123.2346.0_neutral_~_8wekyb3d8bbwe",
7
"Microsoft.SkypeApp_14.35.152.0_neutral_~_kzf8qxf38zg5c",
8
"microsoft.windowscommunicationsapps_16005.11029.20108.0_neutral_~_8wekyb3d8bbwe",
9
"Microsoft.WindowsFeedbackHub_2019.226.2324.0_neutral_~_8wekyb3d8bbwe",
10
"Microsoft.Xbox.TCUI_1.23.28002.0_neutral_~_8wekyb3d8bbwe",
11
"Microsoft.XboxApp_48.48.7001.0_neutral_~_8wekyb3d8bbwe",
12
"Microsoft.XboxGameOverlay_1.32.17005.0_neutral_~_8wekyb3d8bbwe",
13
"Microsoft.XboxGamingOverlay_2.26.14003.0_neutral_~_8wekyb3d8bbwe",
14
"Microsoft.XboxIdentityProvider_12.50.6001.0_neutral_~_8wekyb3d8bbwe",
15
"Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe",
16
"Microsoft.YourPhone_2018.1128.231.0_neutral_~_8wekyb3d8bbwe",
17
"Microsoft.ZuneMusic_2019.18111.17311.0_neutral_~_8wekyb3d8bbwe",
18
"Microsoft.ZuneVideo_2019.18111.17311.0_neutral_~_8wekyb3d8bbwe"
19
]
Copied!

New-OSBuild

Now its time to create your OSBuild
1
New-OSBuild -Execute -CreateISO -HideCleanupProgress
Copied!
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
Last modified 2yr ago