Reference URL:
https://sourcedaddy.com/windows-7/creating-windows-re-recovery-media.html
To build a Windows RE x64 ISO image that supports both EFI and BIOS firmware, enter the following command:
oscdimg "-bootdata:2#p0,e,betfsboot.com#pEF,e,befisys.bin -u2 -udfver102
-o c:\winrec_x64\ISO c:\winrec_x86\winrec_2X.iso"
Here, -bootdata sets the boot information for EFI and BIOS, and -UDFVer sets the required UDF version. You set C:\Winrec_x64\ISO as the path to the folders for the ISO image, and C:\Winrec_x64\Winrec_2X.iso is the path and file name of the ISO image that will be created. After you create the ISO image, you can burn the ISO image to a DVD using a CD/DVD burning application.