In the command window, you must first decide on the architecture. Most modern PCs use amd64 (64-bit). For older tablets or embedded systems, you might need x86.
Run the following command to create a working copy of WinPE on your local drive (e.g., C:\WinPE_11): winpe 11 install
copype amd64 C:\WinPE_11
This command copies the base WinPE boot files, the media folder (which becomes your USB), and the fwfiles (for UEFI booting). In the command window, you must first decide
exit
Remove both USBs when prompted. The PC will boot into the Windows 11 setup (OOBE). This command copies the base WinPE boot files,
Run these commands one by one:
copype amd64 C:\WinPE_amd64
This creates a folder with WinPE files (for 64-bit).
(Use x86 if needed for old PCs, but Windows 11 requires 64-bit.)