Have you recently dusted out the inside of your tower? I was having similar issues not long ago, my desktop would usually make it about 20mins then power off. I opened it up, used a compressed air duster, cleaned all the connections, and got all the dust build up out. I haven't had a single issue with it since.