PC keep shutting down and restarting

May 18, 2018
2
0
10
so i just got a copy of Dishonored 2 from a friend but its pirated game. After installed it, I’ve tried to play it and suddenly my pc shut down itself and restarting. I thought it was fine so I tried to play it again and it happened again. And then I decided to uninstall it, after that I tried to play several games. There are some games which are worked perfectly fine, and some games which straight to shutdown and restart. After a couple of months, the problem occurred again after 20 minutes of playing games and now every games I own cannot be played because it will shut down itself and keep restarting. I don’t know what to do, is this problem has anything to do with my PSU or Hard Drive or any other components?

P.S
I already checked the temps of CPU and GPU and it still normal, unplug and plug all the cables, clean the Ram stick with eraser, apply additional CPU thermal paste, but didn’t solve my problem.
 

well i did not know that. But fortunately, i've sold some of my components such as procie and ram (i5 6400 & 1x8 DDR4 Avexir Core White), i will still using the same graphic card, SSD, and 1TB HDD. i'm planning to upgrade my PC. But, is this problem will still happen if i didn't format my harddrive? or it just pure hardware related like the PSU,Ram, or MOBO?
thankyou..