Our office computer recently had this problem.. It's a Dell, and kept just shutting off, & keeps shutting off quicker and quicker the more we tried to turn it back on.
Our tech says it's likely the CPU fan having gone out, thus shutting down as a safety feature (from overheating). Anyone else heard of this type of symptom/diagnosis??