deploy dism /apply-image /imagefile:install.wim /index:1 /applydir:B:\ add boot entry bcdboot I:\Windows /s A: /f UEFI set boot parameters bcdedit /store A:\EFI\Microsoft\Boot\bcd /set {default} testsigning on bcdedit /store A:\EFI\Microsoft\Boot\bcd /set {default} nointegritychecks on bcdedit /store A:\EFI\Microsoft\Boot\bcd /set {default} recoveryenabled No adding drivers dism /image:B:\ /add-driver /driver:C:\drivers\ /recurse /forceunsigned clone bcd entry bcdedit /store B:\EFI\Microsoft\Boot\bcd /copy {default} /d "Clean-19041" diskpart > list disk > select disk N > select partiton 1 > remove letter=D: > broken - set id=C12A7328-F81F-11D2-BA4B-00A0C93EC93B > exit (adjust N and D: to match your setup; N should be the number of your SD card in the "list disk" output) Transfer the SD card to the Pi, and boot. NOTE: The included UEFI is Andrei's June 17 build. It's preconfigured with the correct settings for GPT boot. If you want to use a different version, replace RPI_EFI.fd before the diskpart step, as after that, you will no longer have access to the ESP unless you reset its GUID to EBD0A0A2-B9E5-4433-87C0-68B6B72699C7. free - set id=EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 not needed dism /mount-image /imagefile:install.wim /Index:1 /MountDiB:m dism /image:m /add-driver /driveB:drivers /recurse /forceunsigned dism /unmount-wim /mountdiB:m /commit winpatch usage "C:\Users\Marcin\Downloads\winpatch.exe" B:\Windows\System32\drivers\USBXHCI.SYS 910063E8370000EA 910063E8360000EA 3700010AD5033F9F 3600010AD5033F9F "C:\Users\Marcin\Downloads\winpatch.exe" U:\Windows\System32\drivers\USBXHCI.SYS EA000037E8630091 EA000036E8630091 0A010037E8430091 0A010036E8430091 ram limit bcdedit /store B:\EFI\Microsoft\Boot\bcd /set {default} truncatememory 0x40000000 ram size 1GB = 0x40000000 or 1073741824 2GB = or 2147483648 test bcdedit /store A:\EFI\Microsoft\Boot\bcd /set {default} IncreaseUserVA 3072 remove 1gb ram limit bcdedit /store B:\EFI\Microsoft\Boot\bcd /deletevalue {default} truncatememory run cmd as admin ?:\EFI\Microsoft\Boot\BCD /set {default} truncatememory 1073741824 ?=drive letter for boot partition. Use WoR BPMU from 📦-downloads to mount boot partition first.