A correctly done USB install drive will boot to either Legacy or UEFI. If your system is set to only boot one or the other, you will have to use the Boot Device Menu or the Bios and set it to boot the way you want.
But just so we are clear, how are you wanting to install the system? The attachment shows a MBR configuration.
The last thing is a Windows install cannot change the configuration of a drive, MBR to GPT or vice versa, unless there are no partitions on it. The attachment shows two partitions, so if you wanted to do a Clean install in UEFI mode, you would need to delete those first.