select disk ?
create partition primary
select partition 1
format fs=ntfs quick label="Windows Setup"
Make it boot Windows 10 Installer
Copy over Windows 10 files
Use 7-zip to extract the contents of the .iso to the USB drive
Update Bootcode on the USB Drive
Replace ? with the drive letter of your USB Drive
C:\> & bootsect.exe /nt60 ?:
Target volumes will be updated with BOOTMGR compatible bootcode.
Successfully updated NTFS filesystem bootcode.
Bootcode was successfully updated on all targeted volumes.
Optional: Show an icon for your USB drive
You can configure an icon to display for your USB Drive to show in Windows Explorer, which can help easily identifying the drive.
Find an .ico file you’d like to use, or create one yourself.
Rename the file e.g. autorun.ico
In the root of the USB drive, create a new text file called autorun.inf and add the contents: