sodcalculator

10 Tech How-To

Fix Computer Keeps Restarting: Windows Guide

Guide 10-5747 · Updated · Step by step

If your computer keeps restarting on its own, the fix usually involves disabling automatic restart, checking for overheating, and testing your RAM and hard drive. This guide walks through the most common causes and step-by-step solutions for Windows 10 and 11.

Why Does My Computer Keep Restarting?

A computer that restarts unexpectedly is almost always reacting to a critical error, overheating, or a hardware failure. The restart is Windows’ default response to a “stop error” (the blue screen of death), designed to prevent further damage. But the same symptom can come from a failing power supply, a loose cable, or a driver conflict. Understanding the root cause is the first step to a permanent fix.

Step 1: Stop the Automatic Restart Loop

Before you can diagnose anything, you need to prevent Windows from restarting immediately after an error. This gives you time to read the error message and access recovery tools.

  1. Right-click the Start button and select System (or Settings > System > About).
  2. Click Advanced system settings on the right.
  3. Under Startup and Recovery, click Settings.
  4. Uncheck Automatically restart under the System failure section.
  5. Click OK and restart your computer manually.

Now, when a critical error occurs, you’ll see a blue screen with a stop code (like CRITICAL_PROCESS_DIED or MEMORY_MANAGEMENT). Write down that code—it’s a clue for the next steps.

Step 2: Check for Overheating

Overheating is one of the most common causes of random restarts, especially on laptops or desktops with heavy dust buildup. When the CPU or GPU exceeds a safe temperature (typically above 90°C), the system shuts down to prevent physical damage.

  • Listen for fans: Are they spinning loudly or not at all?
  • Feel the air: Is the exhaust hot to the touch?
  • Use a monitoring tool: Free software like HWMonitor or Core Temp shows real-time temperatures.

If temperatures are high, clean the vents with compressed air, ensure fans are working, and consider improving airflow. For laptops, a cooling pad can help. If the CPU cooler is old, the thermal paste may need replacement—this requires opening the case and is best done by someone comfortable with hardware.

Step 3: Test Your RAM

Faulty RAM is a frequent culprit behind random restarts and blue screens. Windows includes a built-in memory diagnostic tool.

  1. Press Windows + R, type mdsched.exe, and press Enter.
  2. Choose Restart now and check for problems.
  3. The computer will restart and run the test. It can take 20-30 minutes.
  4. After the test, it will restart again. Results appear in the Action Center or via the Event Viewer (look for MemoryDiagnostics-Results).

If errors are found, you’ll need to replace the faulty RAM stick. If you have multiple sticks, test them one at a time to isolate the bad one.

Step 4: Inspect the Hard Drive

A failing hard drive or SSD can cause crashes and restarts. Windows has a built-in check tool, though it’s not as thorough as manufacturer software.

  1. Open File Explorer, right-click your main drive (usually C:), and select Properties.
  2. Go to the Tools tab and click Check under Error checking.
  3. If it says no errors, you can still run a deeper scan via the command prompt: type chkdsk /f /r and press Enter. You’ll need to restart to let it run.

For SSDs, check the manufacturer’s utility for a health report. A failing drive often makes clicking sounds or becomes unresponsive before restarting.

Step 5: Update or Roll Back Drivers

Driver issues—especially graphics and chipset drivers—are a leading cause of unexpected restarts. An update can fix a bug, but a recent update can also introduce one.

  • If the problem started after a Windows Update or driver install: Roll back the driver. Go to Device Manager, right-click the device, select Properties > Driver > Roll Back Driver.
  • If the problem is ongoing: Update all drivers via Windows Update or the manufacturer’s website. Avoid third-party driver updaters; they often install wrong versions.

For graphics cards, use the official tool from NVIDIA, AMD, or Intel to get the correct driver.

Step 6: Check the Power Supply and Connections

A failing or underpowered power supply unit (PSU) can cause random restarts, especially under load (gaming, rendering). Listen for a clicking sound or a burning smell. If the PSU is more than 5 years old, it’s a suspect.

  • Ensure all internal cables are firmly seated (24-pin motherboard, 8-pin CPU, GPU power).
  • Check the wall outlet and surge protector—a loose connection can cause restarts.
  • If you recently added new hardware (like a new GPU), the PSU may not have enough wattage. Use a PSU calculator to estimate your needs.

Replacing a PSU is affordable and often resolves stubborn restart issues.

Step 7: Scan for Malware

While less common, malware can cause system instability and restarts. Run a full scan with Windows Defender or a trusted third-party tool. Boot into Safe Mode (hold Shift while clicking Restart, then choose Troubleshoot > Advanced options > Startup Settings > Restart > 4) to scan if the restarts are too frequent.

Step 8: Restore or Reset Windows

If nothing else works, the issue may be a corrupted system file. Try these in order:

  1. System Restore: If you have a restore point from before the problem started, use it (search “Create a restore point” in the Start menu).
  2. Startup Repair: Boot from a Windows installation USB, choose Repair your computer, then Troubleshoot > Advanced options &strong> Startup Repair.
  3. Reset this PC: In Settings > System > Recovery, choose Reset PC. You can keep your files, but you’ll need to reinstall apps.

Frequently Asked Questions

Why does my computer restart when playing games?

High load during gaming often triggers overheating or a PSU that can’t supply enough power. Monitor temperatures and check if the restarts stop when you lower graphics settings. If so, it’s likely a power or thermal issue.

Can a virus cause my computer to restart?

Yes, some malware can cause system instability. Run a full antivirus scan in Safe Mode. If you can’t boot normally, use the Windows Defender Offline scan from the recovery menu.

How do I check the Windows event log for restart causes?

Open Event Viewer (search “Event Viewer”), go to Windows Logs > System, and look for Event ID 41 (Kernel-Power) which means the system rebooted without a clean shutdown. Look for other critical errors around the same time for more clues.

Is it safe to disable automatic restart permanently?

No, it’s a diagnostic tool, not a fix. Keep it disabled only until you resolve the underlying issue. Re-enable it once your computer is stable to avoid data loss from unexpected shutdowns.

My computer restarts but never shows a blue screen. Why?

This could indicate a hardware issue (like a failing PSU or overheating) that causes an instant power-off, or a problem with the display driver that makes the screen go black before the restart. Check the Event Viewer for Kernel-Power 41 events.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →