Build a Boot Image
Build customized OSDeploy WinPE media from an imported WinRE image or the Windows ADK WinPE image.
Use Build-OSDeployBoot to customize a Windows Preinstallation Environment (WinPE) image, create bootable media and ISO files, and record the build configuration and logs under OSDeploy Core.

Build the Boot Media
Confirm the Requirements
Run the function on a workstation that meets these requirements:
Windows 11 25H2 build 26200 or later
PowerShell 7.6 or later installed from the MSI package
Current OSDeploy module
Configured OSDeploy Core
OSDCloud module version
26.7.25.2or laterAdministrator rights
curl.exeavailable inPATH
The function stops before source selection when Windows, PowerShell, curl.exe, administrator access, OSDCloud, or Windows ADK requirements are not met. The Windows ADK is required even when the build source is an imported WinRE image.
Run the Build
Open an elevated PowerShell 7.6 session and run:
Select an imported WinRE image, shared content, and a wallpaper when prompted. The default workflow uses these settings:
Source image
Selected WinRE image, with Windows ADK WinPE fallback
Architecture
Selected WinRE architecture, or host architecture on fallback
Timezone
Current system timezone
ADK packages
Installed
USB update
Disabled
Existing folder
Add a numeric suffix instead of overwriting
The function validates the environment, writes the configuration to recent-amd64.json or recent-arm64.json, prepares and mounts boot.wim, adds the selected packages and content, saves the image, and creates bootable media named OSDeploy. When compatible Secure Boot files exist in the selected WinRE source, it also creates CA 2023 media. ADK-sourced builds do not create the additional CA 2023 media.
For source selection, profiles, customization, WhatIf, and advanced examples, see Build-OSDeployBoot. For compact syntax and parameter definitions, see the Build-OSDeployBoot command reference.
Last updated
Was this helpful?

