OK lets be clear; Does your system "
shutdown" or just "
power off?"
To be honest this isn't an easy problem to fix, All you can do is Check each and every individual component:
If you have a second System this would make the job alot easyer, You need to swap each part to another system,
A system that you KnoW works correctly.
In order this is what Has to be done:
1) Software, (make sure you have the latest
Chipset Drivers for your machine, (even if that means uninstalling the ones you have and Re-installing the latest ones))
2)Check to see if your MoBo is Earthed properly.
3)Check the capacitors, (they don't have to be leaking to cause a problem If they aren't perfectly cylindrical they're not good, look for very slight bulges in the top of them Use a magnifying glass if you have to)
4)Eliminate other possibilities.
I really hope you don't get this far, because if your machine "randomly shuts down" With most of your components missing it means that is either your PSU or Your Motherboard.
Its possible that you have a faulty PSU.
Its possible that your Motherboard is faulty, maybe has a crack in it and with heat it opens up causing it to "short"
Theres a big difference between Shutting down and powering off