What error did you receive in the middle of the installation? For Windows 10, make sure the boot options are set to UEFI. What kind of computer is this?
open