This is probably slightly off-topic, but here goes. I have a PC running Rocky Linux. Now I need to create a Windows 10 installation on a sandbox PC for testing purposes. So I downloaded the installation ISO from microsoft.com. It weighs about 5.5 GB. How can I create a bootable USB key from this ISO, preferably using simple command line tools (gdisk, mount, mkfs, etc.)? There’s lots of information about this on the Internet, but what I’ve found until now doesn’t work.
Once I bought a Windows USB. On my machine it did refuse to boot in EFI mode. Noticed only by lucky accident that its installer had booted in legacy mode. Back then I had an USB that was booting CentOS 7 in both legacy and EFI modes. The difference was in case of names in the EFI paths. Noting that I somehow created a bootable USB, where I had copied files from the dysfunctional MS USB, but with fixed bootloader’s case.
I wonder is you have an USB that does boot, you mount the Windows ISO, and copy files over … could that do the trick? This is just a guess and there must be better methods out there.