So many details left out. The most common cause of random restarts is lack of cleaning. I open up the PC and find it too dusty, clogged heatsinks. Can you share details about your cleaning routine and how you make sure your fans work like new?
My lenovo ideacentre will shut off or restart randomly,
DOES ANYONE KNOW WHAT IS WRONG

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic