dism /Mount-Image /ImageFile:"C:\WinPE_11_Build\media\sources\boot.wim" /index:1 /MountDir:"C:\WinPE_11_Build\mount" Now inject your driver folder (recursively):
dism /Image:"C:\WinPE_11_Build\mount" /Add-Driver /Driver:"D:\WinPE_Drivers\Storage" /Recurse /ForceUnsigned (Use /ForceUnsigned only for test environments. Production should use signed drivers.) winpe 11 install
But here is the problem most guides get wrong: They treat "WinPE 11 install" as a single, simple download. In reality, a successful WinPE 11 installation involves three distinct phases: building the environment, injecting drivers, and creating bootable media. simple download. In reality
@echo off echo Formatting System Drive... diskpart /s X:\scripts\diskpart.txt echo Applying Windows 11 Image... dism /Apply-Image /ImageFile:D:\sources\install.wim /Index:1 /ApplyDir:C:\ echo Applying Drivers... dism /Image:C:\ /Add-Driver /Driver:D:\Drivers /Recurse echo Booting to OOBE... C:\Windows\System32\bcdboot C:\Windows /s S: wpeutil reboot winpe 11 install