It is difficult to assess your problem unless you state the following:
1) Exact model number or product number.
2) Original OS that was installed at time of purchase.
3) Was it in this restart loop again and again? That is normal for an OS repair.
This system is feedback driven thru Solution and Kudo flags. It's the only means of knowing if you have been served. Please click Accept as Solution, if your problem is solved. To say THANK YOU, press the "thumbs up symbol" to render a KUDO. You can render both Solution and KUDO..
HP Envy 8 5010 Tablet (2) HP DV7t i7 3160QM 2.3Ghz 8GB Printer -- HP OfficeJet Pro 8620 Legal Custom Asus Z97D, I7-4790k, 16GB RAM, WIN10 Pro 64bit, ZOTAC GTX1080 AMP Extreme 3 fan 8GB RAM, 500GB SSD, Asus PB287 4k monitor, Rosewill Blackhawk case and 750W OCZ PSU.