If you have a really slow SD card or USB drive, we recommend creating a 15 GB VHDX using Disk Management and applying the image to it instead. The storage in your PC will most likely be faster.
In the opened window, type the following command and read the info below before hitting enter:
DISM.exe /capture-ffu /imagefile=X:\WindowsOnRaspberry.ffu /capturedrive=\\.\PhysicalDriveY /name:WoR-FFU
X:\WindowsOnRaspberry.ffu is the destination path of the FFU image. Change it to your own location.
PhysicalDriveY is the drive that you wish to generate the FFU image from. Change
Y with the disk number of the drive.
WoR-FFU is the signature required by WoR, followed by some additional parameters, delimited by colons (
GPTparameters specify the partition scheme used for installing the image (step 1). Only one must be specified!
Compactparameter specifies that the image can fit on an 8 GB device (Compression was used). This is required if you want to apply the FFU image to a drive that has less than 14 GB of available space.
ARM32parameters indicate the architecture of the installed image. This can be omitted if an ARM64 image was used.
DISM.exe /capture-ffu /imagefile=D:\Build19041Compact.ffu /capturedrive=\\.\PhysicalDrive2 /name:WoR-FFU:GPT:Compact
The command above tells the tool to create a FFU image at
disk 2, and that the GPT partition scheme and LZX compression have been used when installing the ARM64 WIM image.
The version of DISM that comes bundled with Windows may fail to capture a FFU image with Error code: 50. If that happens, you'll have to download and use the DISM version from Windows ADK: https://docs.microsoft.com/en-us/windows-hardware/get-started/adk-install