You can isolate if motherboard was causing the problem by installing 2 hardisk only without the mother board. Place jumper wire on dc connector green and black wire.
If problem still the same. Possible cold solder was causing intermittent problem of power supply. You need a magnifying glass to...