Is usually some other issue like a failed drive or badly corrupted. Try your Linux system but formatting a drive can trip up an OS install. I use the old method of leaving space unpartitioned for the OS install to do its thing.
I downloaded windows 10, figured it was alright with the settings I changed, but it ported all of my old files so I decided to use the option in the setting to restart the computer to factory windows 10. I did this I could start fresh without all my garbage files I don't want to individually delete.
I went to dinner while the process was happening, when I got back I realized it was loading still. I ended up going to bed and read some articles on my laptop about a windows 10 update causing issues. So I got up and went to my computer, sure enough its in a boot loop. Constantly rebooting and coming up with an error like "Failed to find boot device" or something. I'll start it up again to see exactly what it says.
Anyways I figure my best bet is to boot up my linux drive, and format the windows 10 drive to add extra storage for linux. Although I could just re-download windows 7. Should I even bother with windows 10 again, I really don't know.