My PC reboots randomly while i'm using it and i don't know the cause. i know its not a heat related issue because i monitored temps via Msi afterburner i have tried reinstalling windows, rebooting the cmos and checking for viruses with avast and malwarebytes. Also when it switches off at random times the power button stops working and it boots up again at random times . here are a few screen shots of the errors in event viewer:
https://gyazo.com/fceb7866e6bfc1cb2998e4ce8cc584b2
https://gyazo.com/7cc74284c2b1ea6805e0c73416d9683c
https://gyazo.com/fceb7866e6bfc1cb2998e4ce8cc584b2
https://gyazo.com/7cc74284c2b1ea6805e0c73416d9683c