If it says "Legacy," your system is running in BIOS compatibility mode (CSM).
Use Rufus (free tool). Do not just copy the ISO. windows 8.1 uefi or legacy
Restart your PC and enter BIOS (usually F2, Del, or Esc during boot). Adjust these settings: If it says "Legacy," your system is running