Why Does My Computer Shut Down Unexpectedly?

Hardware failure and viruses are the primary reasons a computer shuts down unexpectedly. If you're not familiar with computer hardware, consult with an expert before troubleshooting the problem yourself. Most computers purchased at retailers offer some form of protection or repair guarantee if the problem starts during the warranty period.