This is very frustrating !!
Please try these steps to troubleshoot windows PC that keeps Rebooting !!
- Boot PC in safe mode
- Disable automatic restart
- Uninstall latest updates or check for faulty Windows update
- Check for hardware failure
- Be aware of malware attack
- Check for corrupted driver
- Clean dust in the CPU (overheating)