ContentWinPEADK

  • Requires files in C:\OSDBuilder\Content\ADK

  • Requires Windows ADK

Install and Copy ADK

Before adding ADK Optional Components to your OSBuildTask, you need to add the ADK files to OSDBuilder. You will need to complete an installation of ADK and the WinPE Addon. Once that is complete, copy all the files, typically located in C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit

Add ADK Files to OSDBuilder

The ADK files need to be copied into their corresponding ADK Directory in OSDBuilder.

In my example, I am adding ADK for Windows 10 1903, so I will add them to the Windows 10 1903 directory

ADK Cleanup

If you do not plan on supporting multiple languages, you can remove these languages from the WinPE_OCs directories. You can also remove the arm and arm64 directories as they are not supported by OSDBuilder. Finally, remove the languages you don't need from x86, or remove the x86 directory entirely if you don't use that

You can also remove some international fonts if you don't plan on using them as they are just taking up space

This is what it looks like if you plan on only using en-US

New-OSBuildTask

Now you can add ContentWinPEADK to your OSBuild Task using the following command

New-OSBuildTask -TaskName SeguraOSD -ContentWinPEADK

You will be prompted to select WinPE OC's for WinPE | WinRE | WinSE. I find it easiest to focus on just WinPE.wim first. You can repeat this command multiple times until you get your selection just the way you want it

Use the following link for more information on which WinPE OC's you should use

Good to Know

Make sure you select the language OC's, and be aware that adding too many ADK Packages to WinRE will make the WinRE.wim quite large, and it may not fit in your Recovery Partition

Task JSON

You can easily edit your OSBuild Task and copy the selected OC's from WinPEADKPE to WinPEADKRE and WinPEADKSE

These are the ones that I select

"WinPEADKPE": [
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-WMI.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-HTA.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-RNDIS.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-PPPoE.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-NetFx.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-Dot3Svc.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-Scripting.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-WDS-Tools.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-StorageWMI.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-PowerShell.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-PlatformId.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-DismCmdlets.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-SecureStartup.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-WMI_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-EnhancedStorage.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-HTA_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-PPPoE_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-SecureBootCmdlets.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-NetFx_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-GamingPeripherals.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-RNDIS_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-Dot3Svc_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-WDS-Tools_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-Scripting_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-StorageWMI_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-PowerShell_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-DismCmdlets_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-SecureStartup_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-EnhancedStorage_en-us.cab"
],
"WinPEADKRE": [
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-WMI.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-HTA.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-RNDIS.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-PPPoE.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-NetFx.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-Dot3Svc.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-Scripting.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-WDS-Tools.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-StorageWMI.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-PowerShell.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-PlatformId.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-DismCmdlets.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-SecureStartup.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-WMI_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-EnhancedStorage.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-HTA_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-PPPoE_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-SecureBootCmdlets.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-NetFx_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-GamingPeripherals.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-RNDIS_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-Dot3Svc_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-WDS-Tools_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-Scripting_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-StorageWMI_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-PowerShell_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-DismCmdlets_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-SecureStartup_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-EnhancedStorage_en-us.cab"
],
"WinPEADKSE": [
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-WMI.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-HTA.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-RNDIS.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-PPPoE.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-NetFx.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-Dot3Svc.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-Scripting.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-WDS-Tools.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-StorageWMI.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-PowerShell.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-PlatformId.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-DismCmdlets.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-SecureStartup.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-WMI_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-EnhancedStorage.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-HTA_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-PPPoE_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-SecureBootCmdlets.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-NetFx_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\WinPE-GamingPeripherals.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-RNDIS_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-Dot3Svc_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-WDS-Tools_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-Scripting_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-StorageWMI_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-PowerShell_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-DismCmdlets_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-SecureStartup_en-us.cab",
"ADK\\Windows 10 1903\\Windows Preinstallation Environment\\amd64\\WinPE_OCs\\en-us\\WinPE-EnhancedStorage_en-us.cab"
],