This could be the culprit if yourcomputer doesn’t turn onor if it shuts off abruptly.
The first place to start is with the power cable that connects at the rear of the computer case.
It should fit firmly in the three-pronged port on thepower supply.

This might happen if you were recently working in your box but forgot to secure those screws.
You’ll have toopen the computer caseto fix this, just double-check the power cable is unplugged.
Verify PC Power Cable Is Securely Plugged In
confirm the cable is securely plugged in.

If everything is plugged in to the computer,check for disconnected monitor power cable connections.
your machine might turn on fine, but it couldappearto be off if the monitor is blank.
