How to Fix a Windows PC that Randomly Shuts Off

Authored by: Support.com Tech Pro Team

1. Introduction

We've gotten used to using our computers daily for the most mundane tasks: checking e-mails, checking the news or the weather, playing games, listening to music or watching movies. Sometimes we may experience our computer to abruptly shut off while performing any of these tasks and it can be frustrating if it's happening repeatedly.

This guide will take you through some troubleshooting steps that may help fix this issue. The steps are listed in order, so start with the first one, see if that helps, and then continue with the next one if it doesn't.

What You'll Need:

  • No extra tools or supplies are needed.

-->

Before You Begin:

Extra instructions.

  • hyperlink

-->

Turned off PC.

2. Check the PC's Power Connection

Make sure the PC is powered up properly by checking the electrical connections.

  1. Make sure you are using a working electrical outlet. You can test another electric device, such as a lamp, with the same outlet. Bypass any power strips for troubleshooting purposes.
Lamp outline.
  1. Make sure the power connections to and from the PC are proper. Choose the type of PC you have below.
  2. Laptop PC
  3. A laptop PC has an external power supply and connects like below:
  4. One connector (1) plugs into the computer
  5. The other connector (2) plugs into an electrical outlet
  6. And sometimes, a third (3) connector plugs into the power supply itself
Laptop PC power supply with annotated connectors.
  1. Examine all cables and connectors for visible damage. If they are damaged, they may need to be replaced.
  2. Make sure all connectors are firmly plugged in.
  3. Desktop PC
  4. A desktop PC has an internal power supply included in the case.
  5. The power cable looks like below. Examine the cable and connectors for visible damage. If you find any damage, the cable may need to be replaced.
Desktop PC power cable.
  1. Make sure one end of the cable is firmly plugged into an electrical outlet.
  2. Make sure the other end is firmly plugged into the power socket on the rear side of the PC case.
Backside of a desktop PC with power connector highlighted.
  1. Some power supplies have an I/O switch. Ensure this is set to the on position. If the I (1) is pressed in, it means the power supply is turned on. If the O (2) is pressed in, the power supply is turned off.
Power supply IO switch.
  1. All-In-One PC
  2. An All-In-One PC has an external power supply just like a laptop PC has:
  3. One connector (1) plugs into the computer
  4. The other connector (2) plugs into an electrical outlet
  5. And sometimes, a third (3) connector plugs into the power supply itself
All-In-One Desktop PC power supply with annotated connectors.
  1. Examine all cables and connectors for visible damage. If they are damaged, they may need to be replaced.
  2. Make sure all connectors are firmly plugged in.

3. Check the Computer's Ventilation

Computers heat up while they're running and their internal parts need to be cooled down and kept at a certain temperature to perform optimally. If the computer overheats it may result in it shutting down to prevent damage to its components. In worst cases, the components may also melt or get fried if the computer is kept running at a high temperature. To check whether your computer still has working fans, try the following:

  1. Look for any vents your computer may have: in the back, on the side or bottom.
Vents pointed out on read of desktop PC.

Vents pointed out on side of laptop.
  1. With the computer turned on, place your hand in front of the vents and feel if there is any air blowing.The longer the computer is turned on and the more complex the tasks it needs to perform, the warmer and stronger the air flow should be.
  2. Depending on your results, you will have three options:
  3. There is no air blowing – This could mean the fans are not working and the computer has no cooling.



  4. The air flow feels weak – The computer's fans may have dirt built up on and inside them which is causing them to slow down and not blow enough air to properly cool down the internal components. This can be fixed by cleaning up the outside and inside of the computer, and oiling up the fans.
  5. The air flow feels normal – This could mean the issue the computer is having is software related. There are a few different software fixes that may be attempted to resolve the issue.

4. Clean & Oil the PC's Fans

If you had a computer for more then a few months, it is likely to have accumulated some dirt inside and out. Dust, grime, hair and other debris can build up on fans, heat sinks and other parts. Components can also come loose or become unseated over time. All these can affect a computers performance in a negative way.

Dust buildup inside a computer.

Using a compressed air duster is the best and most recommended way of cleaning inside a computer.

When blowing compressed air, keep the can upright at all times and never shake it to prevent the liquid refrigerant from leaking onto your electronics. Use short bursts of two or three seconds. When the can gets too cold to hold, set it down for a few minutes until it warms up again.

For a desktop computer

  1. Turn the computer off and unplug its power cable.
  2. Open the computer case and remove the side panel.Only open the computer if its warranty has expired. If it's still in warranty, only clean it from the outside.
  3. Blow compressed air to clean up the inside of the computer. Pay special attention to the fans. Also remove any wires or objects that may be touching the fan blades.
Using gas duster to clean inside a computer.
  1. Blow some air through the vents as well, from the inside and the outside.
Using gas duster to clean computer vents.
  1. Locate any fans and peel back their sticker partially to see the bearing. If there is a protective cap underneath, remove that as well. Add one or two drops at most of oil.
    Only use lightweight mechanical oil. Do not use cooking oil or spray lubricant.
Dropping oil into fan bearing.
  1. Once done, put the side panel back in place, reconnect the power cable and turn the computer on to test it out.

For a laptop or all-in-one computer

  1. Turn the computer off and unplug its power cable.
  2. Locate the air vents or other openings.
  3. Blow compressed air to clean up the vents or other openings.
Using gas duster to clean laptop vents.
  1. Once done, reconnect the power cable and turn the computer on to test it out.

If the PC is Still Overheating

5. Revert Windows to an Earlier System Restore Point

Windows has a great utility called System Restore that allows you to revert your system to an earlier state called a restore point. Restore points are created automatically when you install a new app, driver, update, or when you create one manually. Restoring your PC to an earlier point in time will not affect your personal files, it will only revert system changes and remove anything installed after the restore point was created.

Do not turn off or power down your computer during a System Restore to avoid data loss or corruption. If you are using a laptop, make sure it is plugged into power so the battery does not run out during this process.

  1. Access the System Restore utility. Depending on the issue your PC is having, there are different ways to do this:
  2. From the Start Menu
  3. Type "rstrui" in the search field next to the Windows logo then select the result from the list.
Start menu search for rstrui with Start menu, search field, and search result highlighted.
  1. From the Sign-in Screen
  2. From the Sign-in screen click the Power icon.
Log In Screen Power icon
  1. Press the Shift key on your keyboard and keep holding it.
picture of a keyboard with shift highlighted
  1. With the Shift key still held down, click on Restart.
Log In screen restart icon
  1. Release the shift key on your keyboard and wait for the PC to restart.
  2. On the choose an option screen, select Troubleshoot.
Windows 10 advanced boot options with Troubleshoot selected
  1. Select Advanced Options.
Windows 10 troubleshoot options
  1. Select System Restore.
Windows 10 advanced options showing system restore selected
  1. From a Non-operable State
  2. Locate the power button on your PC. Hold it down until you hear the PC turn off and any lights go out.
Power button on a laptop
  1. Turn the system back on.
  2. Repeat this process (about three times) until you reach the Choose An Option menu.If your PC has restarted abruptly several times, it will bring up this screen automatically.
  3. Select Troubleshoot.
Windows 10 advanced boot options with Troubleshoot selected
  1. Select Advanced Options.
Windows 10 troubleshoot options
  1. Select System Restore.
Windows 10 advanced options showing system restore selected
  1. Select Next in the System Restore utility.
System Restore welcome screen with Next highlighted.
  1. Select a date before the issue started, you may see more than 1 restore point. Select Next afterwards.
System restore with restore date and Next highlighted.
  1. Confirm your restore point by selecting Finish.
Confirm restore to restore point with Finish highlighted.
  1. A message warning you that once started, the system restore can't be stopped or undone. Select Yes to proceed.
Confirm system restore with Yes highlighted.
  1. Your system will take a few moments to ready the system restore.
Readying system restore.
  1. Your screen will turn blue, and the system restore will begin.It can take a long time, over an hour in some cases, for System Restore to complete.
System Restore in progress
  1. Your computer will reboot on its own when complete.
  2. After returning to your Desktop, a message letting you know the System Restore was successful is displayed. Select Close.
System Restore complete with Close highlighted.

6. Check for Updates

  1. Select the Start menu.
Windows 10 Start button
  1. Select the Settings button on the left side of the start menu.
Windows 10 Settings icon
  1. Select Update and Security.
Windows Settings with Update and Security highlighted.
  1. Select Windows Update on the left, then select Check for updates.
Windows Update with Windows Update and Check for updates highlighted.
  1. Once the system has finished checking for updates, it will automatically download and install the latest applicable updates.
  2. The system also may prompt you to restart, if it does, please do so at your earliest convenience, otherwise the update process will not complete.If you system was already recently updated, chances are that no further updates are available and your Update status will indicate: Your device is up to date.

7. Reset Windows to its Original State

When you've exhausted all options in trying to fix a major issue with Windows, you may be left with resetting Windows to its original state your PC had right out of the box.

Depending on the reset method you choose, the process may delete all personal data and apps you have saved on the PC. If you need to back up all your personal data make sure you do so before proceeding.

Back Up All Personal Data

  1. Click the Start button then select Settings from the menu.
Start button and Settings option highlighted in Windows 10 menu.
  1. Click Update & Security.
Settings with update and security highlighted.
  1. Choose Recovery on the left.
Update and security settings with recover highlighted.
  1. On the top right, click Get started under Reset this PC.
Recovery settings with reset this PC highlighted.
  1. In the new window that opens, choose if you want to keep your files, or remove everything.
Reset this PC options.

  1. Keep my files should not delete any personal files you have stored on your computer, but will remove all applications you've installed, as well as all settings you've changed.
  2. You will be given a short list of programs Windows can find that will be removed, reminding you that you'll need to re-install them after the reset if you want to use those programs. Click Next when you are ready to begin.
Dialog showing apps to be removed with next button highlighted.
  1. Remove everything will delete your personal files, applications you've installed, and all settings will be set to their default values.
  2. You'll be presented with options to just remove files, or clean the drive.
Drive cleaning options.

  1. If you're keeping the computer and are not worried about someone attempting to retrieve data from the drive, select Just remove my files.
  2. If you are selling or giving away the computer, choosing Remove files and clean the drive will make it much harder to retrieve anything. This process will take a very long time to complete.
  3. Once you make your choice, you will be given a final list of what will be done. Click Reset when you are ready.There is no going back, and no chance to retrieve anything removed during the reset process. Please make absolutely sure your backups are up to date before pressing Reset.
Details of what will be done during reset.
  1. Once you click Reset, the process will start.
Reset in progress.
  1. Your computer will reboot, and give you the progress of the reset at the bottom.
Reset in progress during reboot.

Windows will guide you through setting it up with your username, password and other basic settings, just like when you first purchased your computer.

If the Issue Persists