Winpe 11 Install - Portable

To install WinPE 11, you generally need the Windows Assessment and Deployment Kit (ADK) and the separate WinPE Add-on.

dism /Unmount-Image /MountDir:"C:\WinPE_11_Build\mount" /commit

Now inject your driver folder (recursively): winpe 11 install

  • Download "Windows ADK for Windows 11" and the "Windows PE add-on for the ADK" from Microsoft.
  • Install ADK components: Deployment Tools and Windows Preinstallation Environment (WinPE).
  • Install the WinPE add-on after ADK is installed.

: If you are using WinPE to launch a Windows 11 installation, the image must include the WinPE-SecureStartup To install WinPE 11, you generally need the

Step 3: Apply Windows 11 image

Insert the second USB with Windows 11 files.
In WinPE, it might get a new letter – find it with: Now inject your driver folder (recursively):

  • Create a mount folder and mount the image:
    md C:\WinPE_amd64\mount
    dism /Mount-Image /ImageFile:C:\WinPE_amd64\media\sources\boot.wim /Index:1 /MountDir:C:\WinPE_amd64\mount
    
  • Add packages (example: PowerShell, WinPE-Storage, WinPE-WMI, network):
    dism /Add-Package /Image:C:\WinPE_amd64\mount /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-PowerShell.cab"
    dism /Add-Package /Image:C:\WinPE_amd64\mount /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-WMI.cab"
    dism /Add-Package /Image:C:\WinPE_amd64\mount /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-NetFx.cab"
    
  • Add drivers:
    dism /Add-Driver /Image:C:\WinPE_amd64\mount /Driver:C:\Drivers\driver.inf
    
  • Copy custom tools/scripts to image:
    xcopy C:\MyTools C:\WinPE_amd64\mount\Windows\System32\ /E /H
    
  • Set WinPE to launch a custom command or script by editing startnet.cmd:
    notepad C:\WinPE_amd64\mount\Windows\System32\startnet.cmd
    
    Example startnet.cmd content:
    wpeinit
    rem Launch custom GUI or script
    X:\Windows\System32\wpeinit
    X:\Windows\System32\MyScript.cmd