Question Why does my pc shut off randomly and not turn back on for a while?

leo.bravi02

Reputable
Dec 30, 2018
1
0
4,510
so my pc has been randomly shutting down and having difficulties turning on. for about a week. A couple of days ago i swapped my graphics card out for one out of my brother's computer and the shutdowns stopped happening but the other problem still remains.
The computer won't start now every once in a while it turns on but when i shut it off again it won't turn back on for about 5-6 hours. During that time if i try to turn the computer on it makes a small click and all my fans move for about half a second then everything stops and it won't turn back on if i press the power button again it doesn't even spin the fans again i have to manually remove the power cable from the PSU and re-plug it in for it to even spin the fans.

I have tried many things including:
Running a check on the memory
Disconnecting and reconnecting literally every cable on my motherboard
Checked for disk fragmentation
Swapped graphics cards (3 times)
Removed the network card.
Ran virus scan on multiple paid and free antiviruses.

I honestly have no clue what it might be and I'm stressing.