Power cables often wiggle loose from PC cases over time or sometimes after being moved around. Checking every point where electricity is delivered to the computer system is usually a first step when a computer isn't receiving power.
The first place to start is with the power cable that connects at the rear of the computer case. The power cable should fit firmly in the three-pronged port on the power supply.




