WinPE Usage

OSD Updated May 21, 2023

OSDCloud Sandbox prepares your WinPE environment to run OSDCloud to image your device


You can use OSDCloud Sandbox on any WinPE that has PowerShell Package added from the Microsoft ADK, so this should work on most MDT and CM Boot Images. The following example is using a simple WinPE created with the Microsoft ADK (and PowerShell)

  • Windows 10 or Windows 11 WinPE (ADK, MDT, or CM)

  • Microsoft ADK PowerShell added to WinPE

  • WinPE Drivers for your device (Network and Disk)

  • Internet connection

Boot to WinPE

If you booted to a USB, you can remove it at this time

Invoke Sandbox

In a Command Prompt, type the following command and press enter

powershell iex(irm

If you receive an error, you may have to add the following command line in PowerShell

[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}

Watch and Learn

Within a minute, PowerShell Gallery will be enabled, and OSDCloud requirements (OSD Module and Curl) will be set

Start OSDCloud or OSDCloudGUI

At this point, start PowerShell and run Start-OSDCloud in the new PowerShell window

MDT LiteTouchPE_x64.iso

Here's another example using an MDT LiteTouchPE_x64.iso. I exited the BDD Welcome Wizard to a Command Prompt and used the following commands

powershell iex (irm
start powershell

Last updated