Why it matters about what this PC is is because if it's 10 years old there are parts that can cause such an issue like the CMOS battery. Even if it's a year old I always pop in a new one since it's cheap and I don't want to be chasing that ghost issue.
Hi, I have had this issue with my computer, one day it just randomly turned off, and now when I try to boot it up it turns on for about 0.5 seconds then it goes dead. This only happens if I unplug and plug my power cord.
ps: I have gotten power surge errors when I boot up for a while before it completely shut down .
Do anybody know whats wrong? maybe the psu?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic