If you have an OEM computer with UEFI firmware embedded Windows 8/8.1/10 product key, the Windows setup should automatically detect product key from UEFI firmware and you will be taken straight to the License Agreement screen.
When installing Windows 10, the Windows setup uses the following priority logic for product keys:
1. The edition configuration (EI.cfg) file or the product ID (PID.txt) file.
2. Product key in the UEFI firmware.
3. Product key entry screen.
If a key is supplied, the key is attempted to be use with the image that are available on the media being installed. If there is no product key supplied in the step 1 and step 2, you will get the product key prompt during setup.
Or if you want to choose which one will be installed (see screenshot below), if you have an OEM computer with UEFI firmware embedded Windows 8/8.1/10 product key.
Copy the EI.CFG file to the SOURCES folder on the USB flash drive.
Before creating the "ei.cfg" file make sure its not "ei.cfg.txt", it must be "ei.cfg".
How to Create a Bootable USB Flash Drive to Install Windows 10.
USB Flash Drive - Create to Install Windows 10 - Windows 10 Forums
"Option One: Use Media Creation Tool to create Bootable Windows 10 USB for Legacy BIOS and UEFI"
For example, you want to create a 120000 MB (~120 GB) partition (see screenshots below).
Whatâ€™s the Best Antivirus for Windows 10? (Is Windows Defender Good Enough?)
What's new in Windows Defender for Windows 10 Anniversary Update | Windows Central