Quick answer

Before chasing parts, turn off Windows’ automatic restart (sysdm.cpl > Advanced > Startup and Recovery) so the next crash shows a blue-screen stop code instead of instantly rebooting - that code names the cause. Then work the real culprits in order: overheating, a failing or underpowered PSU, faulty RAM, a crashing GPU driver, or an unstable overclock.

By LK Wood IV · 2026-07-04 · ~10 min read · St. Louis County, MO

Some retailer links below are Amazon affiliate links; if you buy through them TechFuel HQ may earn a small commission at no extra cost to you. As an Amazon Associate I earn from qualifying purchases. Commissions never influence what gets recommended — see our disclosure.

A PC that keeps restarting on its own is one of the most stressful problems to diagnose, because the reboot wipes the evidence before you can read it. The fix starts with a setting most guides skip: turn off Windows’ automatic restart so the next crash actually shows you the error. From there it’s a short, ordered checklist — heat, power, RAM, drivers — and the pattern of when it restarts tells you where to look.

Step 1: Make Windows show you the error (do this first)

By default, Windows instantly reboots on a system crash, so you never see the blue screen. Turn that off so the next crash leaves a stop code on screen:

  1. Press Windows Key + R, type sysdm.cpl, and press Enter.
  2. Go to the Advanced tab → under Startup and Recovery, click Settings.
  3. Under System failure, uncheck “Automatically restart”, and click OK.

Now, the next time it crashes, you’ll get a blue screen with a stop code instead of an instant reboot. Write it down — a code like WHEA_UNCORRECTABLE_ERROR points at hardware or power, while a named driver file (nvlddmkm.sys, for example) points at the GPU driver. That one clue turns guesswork into a targeted fix.

If the PC restarts with no blue screen at all — an instant, total cut like someone pulled the plug — that’s a strong sign of a power problem (PSU or a loose cable), because a true power loss happens faster than Windows can even draw a BSOD. And if it doesn’t come back on its own at all — it powers off and stays off until you press the button — that’s a sudden shutdown rather than a restart, with its own checklist: work our computer randomly turns off guide.

If instead of rebooting the system locks up and freezes — the screen stays frozen, the mouse won’t move, and it never restarts on its own — that’s a different failure with a different checklist; work our computer keeps freezing guide instead.

Read the blue screen: the stop code names the cause
With automatic restart off, the next crash leaves this screen up instead of vanishing. One line does the work — the stop code. It won’t always name the exact part, but it points you at the right step instead of the parts cannon.
:(
Your PC ran into a problem and needs to restart. We’re just collecting some error info, then we’ll restart for you.
For more info, search online later for this stop code:
WHEA_UNCORRECTABLE_ERROR
↑ write this line down — it is the whole clue
WHEA_UNCORRECTABLE_ERROR Fatal hardware error: heat, an unstable overclock/undervolt, or a failing part (CPU, RAM, board, power). Steps 2, 3, 6.
CLOCK_WATCHDOG_TIMEOUT A CPU core stopped responding — usually an unstable CPU overclock or too-aggressive undervolt, else the CPU itself. Step 5, then RAM.
VIDEO_TDR_FAILURE + a .sys name (nvlddmkm.sys) The graphics driver crashed and took the system with it. Clean-reinstall it. Step 5.
MEMORY_MANAGEMENT / IRQL_NOT_LESS_OR_EQUAL RAM or a driver. Test memory first, then drivers. Steps 4–5.
NO blue screen — instant black cut Power, not software: a true power loss beats Windows to the BSOD. Check Event Viewer for Kernel-Power 41 (the “didn’t shut down cleanly” marker — a symptom, not the cause). Step 3.
A named driver file (like nvlddmkm.sys) points straight at that driver. Hardware codes (WHEA, CLOCK_WATCHDOG) point at power, heat, or an unstable overclock — not one exact part — so you still work the steps below to isolate which. techfuelhq.com

Five of the most-searched stop codes have their own step-by-step deep dives: DPC_WATCHDOG_VIOLATION (a driver stalling the CPU — usually storage), KERNEL_SECURITY_CHECK_FAILURE (memory corruption — test RAM first), CLOCK_WATCHDOG_TIMEOUT (a CPU core that stopped responding — revert the overclock first), PAGE_FAULT_IN_NONPAGED_AREA (missing memory — test RAM, then storage), and SYSTEM_THREAD_EXCEPTION_NOT_HANDLED (a bad driver, usually named right on the blue screen). If your blue screen shows any of them, start there.

Read the pattern

When it restarts narrows it down fast:

  • Only under load / while gaming → heat or power (jump to Overheating and PSU).
  • Random, including at idle or light use → RAM, driver, PSU, or an unstable overclock. When it’s truly random and the stop code keeps changing, use the isolation build below.
  • In a loop before Windows loads → software (bad update, corrupt files) or a hardware failure (see the boot-loop FAQ above).
  • Only when you shut down — it reboots instead of powering off, or won’t stay off → that’s usually not a crash at all; see restarts right after shutdown.

Step 2: Overheating

A CPU or GPU that hits its thermal limit reboots the system to protect itself, and this is the #1 cause of load-triggered restarts. If the CPU is the culprit, the why is my CPU overheating guide sorts the cause by when it happens - a dead pump, dried paste, or a loose cooler each fix differently. If the restarts hit hardest in games, suspect the graphics card and confirm the GPU is really overheating with the core-vs-hotspot check before you touch anything - a card that only looks hot needs a different fix.

  • Check temperatures under load with HWiNFO or HWMonitor. Our safe CPU temperature guide covers what’s normal (Ryzen to ~95°C, X3D ~89°C, Intel ~100°C) and when heat is actually the problem — a chip parking at its limit and rebooting means cooling can’t keep up.
  • Clear dust from fans, heatsinks, and vents with a can of compressed air, and confirm every fan spins (a failed AIO pump or CPU fan causes fast thermal shutdowns).
  • Reapply thermal paste if it’s a few years old — dried paste is a common cause of a system that used to run cool and now overheats. An inexpensive tube of Arctic MX-4 is enough for several repastes and often drops load temps several degrees.

Step 3: Power supply

The PSU is the most under-suspected hardware cause of restarts, especially the load-related and no-BSOD kind. A supply that’s failing, undersized for your GPU, or connected with a loose cable can’t hold the load and drops the system.

  • Reseat every power cable — the 24-pin, the CPU (EPS) connector, and every GPU power cable, including all pins on a 12VHPWR/12V-2x6 connector, which is notorious for partial seating.
  • Rule out undersizing: a new, power-hungry GPU on an old PSU is a classic restart cause. Run your parts through the PSU wattage calculator to see whether your supply has the headroom — if you’re near or over its rating under load, that’s your answer.
  • If temps are healthy and it still restarts under load, a known-good, adequately-rated PSU is the next test. Size it first, then buy — don’t guess on wattage.

If power looks like the culprit and you want to confirm the PSU is failing rather than just undersized, our deep dive covers the tell-tale symptoms, why the paperclip test can give a false all-clear, and how to read the 12V rail under load: PSU Failure Symptoms: Is It Really the Power Supply?

Step 4: RAM

Faulty or unstable memory causes random restarts and blue screens.

  • Test it: run the built-in Windows Memory Diagnostic (Windows Key + R → mdsched.exe), or MemTest86 from a USB stick for a thorough overnight pass.
  • Reseat and isolate: reseat both sticks, then test one stick at a time to find a bad module.
  • Check your memory speed: an unstable EXPO/XMP profile can restart a system that’s otherwise fine. Set memory to its default JEDEC speed to test; if the restarts stop, the kit or memory controller isn’t holding the rated speed.

Step 5: Drivers and overclocks

  • Graphics driver: a crashing GPU driver can take the whole system down. If your blue-screen names a driver like nvlddmkm.sys, do a clean reinstall — the full process is in the GPU driver crash fix guide.
  • Revert overclocks/undervolts: set any CPU or GPU tuning (MSI Afterburner, Ryzen Master, BIOS PBO/curve) back to stock. An overclock that’s slightly unstable, or an undervolt that’s too aggressive, restarts the system under load exactly like a hardware fault.

Step 6: Software (for boot loops and post-update restarts)

If the trouble is a reboot loop or started right after an update:

  • Windows Recovery: force-power-off during boot three times to trigger Automatic Repair, then try Startup Repair, System Restore, or Uninstall latest updates.
  • Safe Mode to roll back a bad driver or uninstall recently installed software.
  • Scan for malware, and run sfc /scannow then DISM /Online /Cleanup-Image /RestoreHealth to repair corrupt system files.

When it's random: the isolation build

When a restart only happens under load, or the blue screen names a part, you follow the step it points to. But some restarts are genuinely random — different stop codes each time, no pattern, or no blue screen at all — and chasing those by swapping parts wastes money. The reliable move is the opposite of adding parts: strip the machine to a configuration you know is stable, then add each variable back one at a time until the restart returns. Whatever you re-enabled last is the cause.

The isolation build: strip to stable, add one thing back
Stop swapping parts on a hunch. Drop the machine to a known-stable floor, then re-introduce one variable at a time and run it. The first change that brings the restart back is your culprit.
THE STABLE FLOOR — stock clocks (no PBO/OC/undervolt), RAM at default JEDEC speed (XMP/EXPO off), one stick, light desktop use. Rock-solid here? Add back, one at a time ↓
Still restarts stripped this bare? It isn’t tuning — look at the PSU, heat, or a driver (Steps 2, 3, 5).
STEP 1 · ADD
EXPO / XMP
BASE EXPO
Restart returns now → the kit or memory controller can’t hold the rated speed. Run a milder EXPO, nudge SoC/DRAM voltage, or stay at JEDEC. (Step 4.)
STEP 2 · ADD
OC / PBO / undervolt
BASE EXPO OC
Returns only after this → the overclock or undervolt isn’t stable. Loosen the curve or go stock. (Step 5.)
STEP 3 · ADD
the 2nd RAM stick
BASE EXPO OC 2×RAM
Returns only with both sticks in → a bad module or a 2-DIMM stability limit. Test each stick alone. (Step 4.)
STEP 4 · ADD
a full gaming load
BASE EXPO OC 2×RAM LOAD
Returns only under real load, everything else stable → heat or PSU headroom. Check temps and wattage. (Steps 2–3.)
Change one thing per step and run it long enough to catch the crash — hours, or a full session of your usual game. Two changes at once is exactly why a ‘random’ restart stays random. more variables →  techfuelhq.com

The two variables that cause the most “random” restarts are the ones people forget they turned on: the memory’s EXPO/XMP profile and any CPU or GPU overclock, PBO, or undervolt. Both run the hardware past its guaranteed-stable defaults, and both can behave for weeks and then drop the system under the wrong workload. Turning them off costs nothing and clears them in one test — which is why the isolation build starts there, not at the parts store.

Restarts right after you shut down (or won't stay off)

There’s one “restart” that isn’t a crash at all: you click Shut down, the PC powers off for a second, then boots straight back up — or it never fully powers off. That’s a shutdown problem, not a stability one, and it has its own short list.

  • Turn off Fast Startup first. Fast Startup (Windows’ hybrid shutdown) saves the kernel to disk instead of powering all the way down, and on a lot of systems it’s the direct cause of a reboot-instead-of-shutdown. Open Control Panel → Power Options → “Choose what the power buttons do” → “Change settings that are currently unavailable”, then uncheck “Turn on fast startup” and save. Forcing a full cold shutdown every time fixes the majority of these cases.
  • Stop a device from waking it. A network adapter or mouse allowed to wake the machine can pull it back on the instant it powers off. In Device Manager, open the network adapter (and the mouse) → Power Management tab → uncheck “Allow this device to wake the computer.” From a terminal you can list armed wake sources with powercfg /waketimers and see what last woke it with powercfg /lastwake.
  • Rule out a pending update. A Windows Update mid-install reboots rather than shuts down once — let it finish, then try again.
  • A dirty previous shutdown (a hard power-off or a crash) can make the next shutdown behave oddly a single time; if it happened only once, it’s likely nothing.

If it still reboots on shutdown after all of that, treat it like a random restart and work the stability steps above — a marginal PSU can occasionally show up this way too. And if the machine will not power on at all rather than rebooting, that is a different fault tree — start with why a PC power button stops working.

The fix order, in one list

  1. Uncheck “Automatically restart” (sysdm.cpl → Advanced → Startup and Recovery) so you can read the stop code.
  2. Read the pattern — under-load = heat/power; random = RAM/driver/PSU/overclock; boot-loop = software/hardware failure.
  3. Overheating — temps, dust, fans, thermal paste.
  4. PSU — reseat cables, check wattage headroom, then swap if load-related.
  5. RAM — mdsched/MemTest86, reseat, one stick at a time, test at JEDEC speed.
  6. Drivers/overclocks — clean-reinstall the GPU driver, revert all tuning to stock. Still random? Run the isolation build — strip to a stable floor, add one variable back at a time.
  7. Software — Automatic Repair, Safe Mode, malware scan, sfc/DISM for boot loops.

Work it in order and the stop code from step 1 usually points you straight to the right step — no parts-cannon required. Two cases sit outside this flow: a genuinely random restart is fastest to pin with the isolation build, and a reboot that only happens when you try to shut down is a Fast Startup problem, not a crash.

Sources

  • The diagnostic and fixes use Microsoft’s built-in Windows tools — disable automatic restart (sysdm.cpl → Advanced → Startup and Recovery), the Windows Memory Diagnostic (mdsched.exe), Automatic Repair / Safe Mode, and sfc /scannow + DISM /Online /Cleanup-Image /RestoreHealth — all standard and self-verifiable on any Windows 10/11 PC. The ordered hardware causes (overheating, PSU, RAM, driver, overclock) are cross-corroborated across community and vendor troubleshooting guides.
  • Thermal limits and what “too hot” actually is: our safe CPU temperature guide (first-party). Driver-crash clean reinstall: our GPU driver crash fix guide (first-party).
  • Blue-screen stop codes map to Microsoft’s Bug Check Code Reference (WHEA_UNCORRECTABLE_ERROR = fatal hardware error; CLOCK_WATCHDOG_TIMEOUT = an unresponsive CPU core; VIDEO_TDR_FAILURE = a display-driver timeout). Kernel-Power event ID 41 is Microsoft’s marker that the PC rebooted without a clean shutdown — a symptom of a power loss or hard crash, not a cause (Microsoft Q&A, corroborated on Tom’s Hardware and Linus Tech Tips forums).
  • The restart-instead-of-shutdown fix (disable Fast Startup, then check device wake permissions) is the standard, widely-corroborated remedy — see ASUS official support and The Windows Club.

Menu names below match 2026 Windows builds; Microsoft moves Settings pages between versions. Email hello@techfuelhq.com if a step does not line up.

Frequently asked questions

Why does my PC keep restarting randomly?
The common causes, in rough order: overheating (the CPU or GPU hits its thermal limit and the system reboots to protect itself), a failing or underpowered power supply, faulty RAM, a crashing graphics driver, or an unstable overclock/undervolt. Software causes — a bad Windows Update, malware, or corrupt system files — usually show up as a reboot loop rather than a random restart mid-use. The first move isn’t to guess: turn off Windows’ ‘automatically restart’ setting so the next crash shows you a blue-screen error code that names the actual cause.
How do I stop my PC from automatically restarting so I can see the error?
Press Windows Key + R, type sysdm.cpl and press Enter to open System Properties. Go to the Advanced tab → under ‘Startup and Recovery’ click Settings → and under ‘System failure’, uncheck ‘Automatically restart’. Now, instead of instantly rebooting, the PC shows the blue-screen (BSOD) with a stop code the next time it crashes. That stop code (for example, WHEA_UNCORRECTABLE_ERROR, which points to hardware/power, or a specific driver name) is the single most useful clue for diagnosing a random restart — write it down and search it.
Can bad RAM cause a PC to keep restarting?
Yes — faulty RAM is a classic cause of random restarts and blue screens. Test it: press Windows Key + R, type mdsched.exe, and run the Windows Memory Diagnostic (choose ‘Restart now and check for problems’), or use MemTest86 from a USB stick for a thorough overnight test. If you have two or more sticks, reseat them, then test with one stick at a time to isolate a bad module. Also make sure your memory’s EXPO/XMP profile isn’t unstable — running RAM at its rated speed can itself cause restarts if the kit or memory controller doesn’t hold it; test at default JEDEC speed to rule that out.
Why does my PC restart when gaming or under load?
Restarts that only happen under load point hard at heat or power. Under a gaming load the CPU and GPU draw their most power and generate their most heat, so a marginal power supply (failing, underpowered, or a loose cable) or a cooling problem (dried thermal paste, dust-clogged fans, a failed AIO pump) will trigger a protective reboot exactly then and never at idle. Check temperatures under load first, then the PSU. An unstable overclock or too-aggressive undervolt does the same thing — revert any tuning to stock and test.
Is a random restart a sign the power supply is failing?
It’s one of the most common hardware causes, especially for restarts under load and restarts with no blue-screen at all (a true power loss cuts the system instantly, before Windows can even generate a BSOD). A PSU that’s failing, undersized for your GPU, or connected with a loose power cable can’t hold the load and drops the system. Reseat every power cable (including all pins on a 12VHPWR/12V-2x6 GPU connector), and if the restarts are load-related with a healthy CPU temp, a known-good, adequately-rated PSU is the next test. Size it with a wattage calculator before buying.
My PC is stuck in a restart loop before Windows loads — how do I fix it?
A boot loop (restarting before you reach the desktop) is usually software or a hardware failure, not a heat issue. If it started after an update, boot to Windows Recovery (force-power-off during boot three times to trigger Automatic Repair), then use Startup Repair, System Restore, or ‘Uninstall latest updates’. Boot into Safe Mode to roll back a bad driver. If none of that works and the loop happens even in BIOS or before the Windows logo, treat it as hardware — most often RAM, the PSU, or a failing drive — and test those.
Why does my PC restart instead of shutting down?
If the machine reboots the moment you click Shut Down — or refuses to stay off — that’s usually not a crash at all. The most common cause is Windows’ Fast Startup (a hybrid shutdown that saves the kernel to disk instead of fully powering off); disable it under Control Panel → Power Options → ‘Choose what the power buttons do’ → ‘Change settings that are currently unavailable’ → uncheck ‘Turn on fast startup’. If that doesn’t fix it, a network adapter or mouse set to ‘wake the computer’ can pull it back on: in Device Manager, open that device → Power Management → uncheck ‘Allow this device to wake the computer’. A pending Windows Update configured to restart, or an unclean previous shutdown, can also do it once. This is a different problem from a random mid-use restart — see the dedicated section below.

Evidence ledger

Last updated
Methodology
This guide was written and edited by Lowell K. Wood IV in St. Louis County, MO. Specs and prices verified against vendor and project documentation current on the date above. Full editorial standard: methodology.
Update log
  • 2026-08-18 — Last reviewed and updated.
Corrections
Spotted an error or a stale number? Email hello@techfuelhq.com. Confirmed corrections are added to the update log above.

About the author

Written by Lowell K. Wood IV, who builds and runs TechFuelHQ from St. Louis, Missouri.