If your PC randomly turns off or keeps shutting off spontaneously, you should scan your system as soon as possible—such symptoms are indicative of a malware infection. Here is your first aid kit: Windows Defender. Microsoft Windows Defender is a built-in security solution that can banish unwelcome guests from your computer.. Here are some tips to resolve the PC turns off randomly not overheating issue: Ensure the power cord is securely plugged into both the power outlet and the computer. Verify that the power switch on the power supply unit (PSU) is set to the ON position.
Any failing hardware component in your computer could cause your computer to unexpectedly turn off without warning. If you have recently added any new hardware, remove it from the computer to make sure it's not causing the problem. If you have not recently installed any new hardware into the computer, the next best solution is to systematically remove non-essential hardware.. To check why the computer shutdown with Command Prompt, use these steps: Open Start. Search for Command Prompt and click the top result to open the app.