To create a bootable media by using a .wim file, you need to convert it to an .iso file first.
To create a PE image (.iso file) from the resulting .wim file:
copype amd64 C:\winpe_x64
For WinPE 3.0, type:
copy c:\AcronisBootablePEMedia.wim c:\winpe_x64\ISO\sources\boot.wim
For WinPE 4.0, WinPE 5.0 or WinPE 10.0, type:
copy "c:\AcronisBootablePEMedia.wim" c:\winpe_x64\media\sources\boot.wim
oscdimg -n –bc:\winpe_x64\etfsboot.com c:\winpe_x64\ISO c:\winpe_x64\winpe_x64.iso
Alternatively, to make the media bootable on both BIOS and UEFI computers, type:
oscdimg -m -o -u2 -udfver102 -bootdata:2#p0,e,bc:\winpe_x64\fwfiles\etfsboot.com#pEF,e,bc:\winpe_x64\fwfiles\efisys.bin c:\winpe_x64\media c:\winpe_x64\winpe_x64.iso