Question PC reboots randomly while gaming

Jul 12, 2019
Greetings, I have been having random computer reboots on my custom built PC for a while now. The PC restarts without showing any type of blue screen or error. In the Event Viewer, the Event ID 6008 is displayed at the time of the reboot, if that is of any help. I have taken close notice on the thermals of the system and have not noticed any abnormality. I have also run various diagnostic programs such as MemTest, and have encountered no hardware issues whatsoever. Additionally, the system is plugged into a UPS, and the reboots occur whether it is plugged into it or simply plugged directly into the socket. These factors leave me to conclude that the issue is software related. Even though the reboots may occur at any moment, they are most frequent while and just after gaming, actually I think they never have occured without a game being in the backround which is odd; temps are low (45C for the CPU & 63C for the GPU, these numbers were taken while stressing both components for over an hour), and voltage is stable. When I was stressing the system it never crashed; it appears to only be triggered by actual games, any game, even Hearthstone. The system has been examined by a technician, who did not detect any hardware issues, as I suspected. I have updated the BIOS, as well as disabled XMP, and have tried all those power management tricks tha seem to work for a lot of folks, like setting the minimum processor state to 5%, and still nothing has changed, also, as far as I know of, all drivers are up to date, even though this is kind of out of my league, I have always hated drivers. The issue has plagued the PC since day 1, so I can´t seem to pinpoint the source of the problem. Minor note, I do not have Windows activated. Thank you in advance.
Windows 10 Home 64 bit (unactivated)
MSI Z370 PC Pro Motherboard
Seasonic M12II Evo Edition 620W Full Modular PSU
Noctua ND-D14 CPU cooler
M.2 2280 Samsung 970 Evo 250GB NVMe SSD
G.SKILL Ripjaws V 16GB (2x8GB) DDR4-3000MHz CL15 RAM
Core i7-8700K CPU
3.5" Western Digital Blue 1TB HDD
Asus ROG Strix GeForce GTX 1070 Ti GPU