Computer not staying on for more than 2 seconds

Small Lenovo thinkcentre m93. No idea what's wrong with it. Press the power button, lights come on for 2 seconds then it automatically powers down. When I remove the ram module, I get an obvious beep code, but the machine stays on without posting. Can someone help please. Desperately trying to get this fixed.
 
Back
Top