Why does my screen go black?

Hi,I just got my old computer wiped yesterday after it's been in the garage for 2 years because it had a pretty bad virus it, but after I got on for like 10-20 minutes It just shut down for no reason. I remember it use to do that before it got really bad and I had to put it away but it can't be the virus since I wiped the computer...........any suggestions?
 
As I understand what you have said you did a complete format of the hard drive and then reinstalled the OS and all the motherboard chipset drivers. Yes?

Have you carried out all the checks as suggested here:

https://www.techspot.com/vb/topic51365.html

Please also provide the operating system and the make and model number of the PC.
 
Back