Troubleshooting · Random restarts & shutdowns
Random restart and shutdowns: heat, power and the causes behind machines that reboot on their own
A machine that reboots or powers off by itself hasn't acted randomly — something forced a stop. "Random" only describes the pattern from where you're sitting; the cause is a specific mechanism, and the kind of stop you observe tells you which family of mechanisms is involved.
There are four ways a PC stops without being asked: the platform's own protection circuitry cuts power (a thermal trip or a power rail that fails to hold), the operating system crashes and an automatic-restart setting brings it back, the OS or a driver deliberately restarts it, or an external power event kills it and possibly revives it. Each leaves a different fingerprint — in what you see on screen, in the event log, and in whether the machine powers back on by itself.
That's why the first diagnostic question is never "what's broken?" but "what kind of stop was it?" A hard power-off that waits for a button press points at the power path or a protection trip. A restart that runs through the POST sequence again points at a reset from the OS or the platform. A blue screen you barely catch means a crash — and a hidden stop code. Misreading the stop type is the most common reason people chase the wrong cause for days. This guide covers the whole field in order of cost: read the logs, check temperatures, verify power connections, then test configuration changes — and every deep topic links out to its own guide in the series below.
Do not open the power supply.
A PSU contains capacitors that can hold a lethal charge long after the plug is out, and the correct test for a suspect unit is a swap with a known-good one — not internal inspection. If you smell burning, see scorch marks, or suspect internal damage, stop using the machine and get professional help.
Foundations
What a random restart actually tells you
The word "random" is doing a lot of work in this problem, and it's mostly misleading. Every unplanned stop has a mechanism — a trip, a crash, a reset, or a power event — and the mechanism is discoverable. What feels random is usually one of three things: a fault that's intermittent (memory, marginal power), a threshold that's only crossed sometimes (heat, load), or an event you can't see (a crash the automatic restart erases in under a second).
The useful reframe is that the stop itself is data. Whether the machine died flat or rebooted through POST, whether it froze first, whether it happens at idle or only under load, whether it began after a change — each answer eliminates a set of causes. Two machines that both "randomly restart" can have nothing in common; the classification is what makes the rest of the guide usable, and it takes a minute, not an hour.
One more framing point before the diagnosis starts: not all of these stops are equally urgent. A crash-driven restart with a readable stop code is a software problem with a paper trail. A hard power-off under load is a physical problem that will get worse, not better, as the machine runs. A deliberate restart logged with a process name may not be a fault at all. The sections below work in that order of increasing severity: the cheap evidence first, the hardware last.
Classification
First: identify exactly what happened
Before testing anything, classify the event. The classification takes seconds, and it decides which half of this guide is relevant to you.
The two cleanest signals are whether the machine went through a restart — you see the logo and POST sequence again — or whether it simply died and waited for a button. A restart means the reset was initiated while power was still present: a crash, a watchdog reset, or a BIOS-level reset. A dead machine means power was actually removed: a protection trip, a power-delivery failure, or the mains itself. There's one nuance worth checking early: if your board is set to restore power after an outage, a power loss comes back looking exactly like a restart, which can misdirect the entire diagnosis.
The second signal is what you see in the last seconds. A brief blue screen before the restart means the OS crashed — Windows recorded the details even if you missed the screen. A long freeze (stuck cursor, no response) followed by a restart usually means the system hung and something — the OS watchdog, a driver, or the platform — reset it. An instant cut with no warning is most often thermal or electrical. And a restart that happens only after sleep, only at certain times of day, or only after an update is a pattern, and patterns are far easier to match to a cause than pure coincidence.
Windows records most of these events, which is why the log is the first cheap evidence you collect: a crashed boot leaves a BugCheck event and often a minidump, while a plain power removal leaves the unclean-shutdown event with no crash code. The table below maps what you see to what it most often means — a map for choosing where to look, not a verdict.
| What you saw | What it most often means | Where to start |
|---|---|---|
| Instantly off; needs a button | Power removed — a protection trip or the power path | Temperatures under load, then power connections |
| Off, then powers back on by itself | Power loss with power-restore enabled, or a platform reset | BIOS power setting, mains, PSU |
| Restart through the POST sequence | Reset from OS or platform while power stayed on | Event log: crash versus watchdog |
| Brief blue screen before restart | OS crash with automatic restart | Stop code, minidump, BugCheck event |
| Long freeze, then off or restart | Hang, then a watchdog or driver reset | Dumps, drivers, thermal tracking |
| Only under load (gaming, rendering) | Heat or power delivery — both scale with load | Temperature under load, then PSU |
| Only at idle, or overnight | Power path, wake/sleep, background tasks | Log timing, wake sources, sleep settings |
| Only after waking from sleep | Power-state handoff: driver, firmware or fast startup | Drivers, fast startup, BIOS |
If crashes are in the picture, the full crash-side process — stop codes, dumps, what a blamed module does and doesn't mean — lives in the Blue Screen of Death guide.
Work order
Quick diagnostic checklist
If you want the whole diagnosis in one place, this is the working sequence — each box is a step that produces the evidence the next step needs. Your ticks are saved in this browser, so you can work through it across several days of testing.
Do the first five before you buy anything or touch any hardware. The cheapest steps on this list — the log, temperatures, a cable reseat — resolve a large share of random restarts, and every one of them is reversible.
The mechanism
The four ways a machine stops
Four pathways can stop your machine, and they overlap less than they appear to: the thermal trip, the power trip, the crash, and the deliberate restart. The diagram below shows where load and power feed the system, where the two protection trips sit, and where the monitoring layer — the part that tells you which pathway fired — records all of it.
Thermal protection is the oldest and simplest: a component crosses its limit and the platform cuts power immediately — no restart sequence, no warning, just off. Power protection is the same idea applied to electricity: a rail sags too far under load, a current limit is hit, and the board or supply resets the system. Crashes are different in a key way: the OS itself gives up and, with automatic restart on, reboots — power never left, which is why these always run through POST. And deliberate restarts (an update finishing, a driver requesting one, a failed wake) are the fourth pathway and the easiest to resolve, because the log names the actor.
The practical consequence: the stop type tells you which of the two protection systems was involved — or neither — and the log fills in the rest. Everything below is organized around that split: the heat and power sections cover the two trips, the RAM/CPU/GPU and Windows sections cover the crash pathway, and the event-log section is where you confirm which one actually fired on your machine.
Thermal
Heat and thermal causes
Heat is the most common cause of load-related shutdowns — and the cheapest thing to verify, which is exactly why it comes first in the work order.
Modern CPUs carry their own thermal protection: when the die crosses its limit — typically around 100°C — it stops running and the board cuts power. From your chair that looks exactly like a sudden shutdown, not a "restart," because no reboot sequence plays. GPUs protect too, but they fail in more varied ways: some cut hard like the CPU, while others stall until the display driver resets the GPU, which you'd see as a frozen or black screen rather than a full reboot. So if your "restarts" are actually hard power-offs that track temperature, a thermal trip is the leading hypothesis — and a restart that runs through POST with temperatures staying flat points somewhere else entirely.
The signature is timing. Heat builds over minutes, so a thermal problem typically appears after sustained load has been running a while — deep into a game, several minutes into a render — and it behaves with the room: worse in summer, better with the side panel off or a desk fan on the case. Don't confuse this with throttling, which is the related-but-different behavior where the CPU slows itself to stay under its limit. Throttling is uncomfortable but it doesn't stop the machine; it's the warning.
In an older machine, most thermal trips trace back to airflow: clogged filters, dust blankets on the heatsink, a fan that has degraded (spinning, but slower, or with a noisy bearing), or a case layout that chokes its intake. The diagnostic is simple and decisive — run the same repeated load that triggers the stop while watching temperatures, and note where and when it dies. If the stop consistently tracks a temperature crossing a threshold, you have your cause, and the fix is cleaning and airflow, which is safe to do yourself with the machine unplugged.
In a new build or a freshly re-pasted cooler, suspect the contact itself: uneven mounting pressure, dry or displaced paste, a cold plate that isn't seating flat. These failures often show as instability at full load with temperatures that look high but not catastrophic — a margin problem, not a clogged-filter problem. The energy report is a good first pass either way, because it flags thermal and power-efficiency problems automatically:
powercfg /energy
Runs a short assessment and writes an HTML report flagging cooling and power issues.
One caution so you don't over-attribute: heat is a hypothesis until the tracking test confirms it. If the machine always restarts through POST and temperatures stay flat and reasonable while it does, move on to power.
Electrical
Power and PSU causes
Power problems are the other half of the load-related story, and they're the ones most often misdiagnosed — usually as "it's the motherboard" or "it's the GPU," both of which are expensive wrong answers.
A power supply that's aging or undersized fails in a characteristic way: its rails sag when the load spikes. A GPU can go from 30 watts to 300 in a single frame; a weak supply can't deliver that transient, the rail voltage dips, and the board's power management resets the system. That's the classic "restarts while gaming" — mid scene-change, mid battle, at the moment of maximum draw. Other failure modes are a shorted or weak rail producing random shutdowns at odd times, and, in older units, a dying fan. The common thread: the behavior is load-dependent or apparently random, and no software test can reproduce it reliably, because the fault is in the electricity, not the code.
You can't safely test a PSU's internals — and you shouldn't want to — but you can do the confirmation test that matters: power the machine with a known-good supply of adequate wattage. If the restarts stop over a meaningful period, the old unit is your cause; if they continue, it isn't, and you've saved yourself an expensive swap. Until that test, treat "bad PSU" as a hypothesis with a price tag, not a conclusion.
Before buying anything, do the free checks — and these are safe, with the machine unplugged:
- Note the exact behavior and timing. Load, idle, overnight, after wake — the pattern is evidence.
- Reseat the power connectors. The 24-pin ATX connector, the CPU 8-pin (EPS) connector, and the GPU power connectors. A half-seated cable is a surprisingly common cause of shutdowns under load.
- Change the outlet. Remove extension strips from the circuit. If other devices on the same circuit behave oddly at the same times, the problem is the supply, not the computer.
- Check the BIOS power-restore setting. "Power on after power failure" turns every mains blip into what looks like a mysterious restart. Thirty seconds to verify.
- Plan the swap test. If it still happens under load after all of that, borrow or buy a known-good supply and run the confirmation test.
Unstable mains — a dodgy outlet, a failing wall switch, brownouts on the circuit — produce stops too, and they're likelier to hit an idle machine at random times, which is a useful tell that separates them from load-related PSU sag.
Memory
RAM and memory instability
Memory problems are the great masqueraders: they can crash Windows, trigger platform resets, and sit in plain sight for weeks between incidents.
Faulty RAM corrupts data wherever it's stored — including data the OS and drivers depend on to keep running. The visible result can be a blue screen, a hang, or, less commonly, a reset that looks like a random restart. The tell is inconsistency: memory faults are often intermittent, so the machine may run fine for days and then fail, and a stress test on a good afternoon can show nothing. That inconsistency is exactly why "it works now" is not a valid conclusion about RAM — and why memory belongs on every random-restart diagnosis even when nothing points at it.
The most common memory-related cause of random restarts in an otherwise healthy system isn't a bad stick, though — it's a memory profile. XMP and EXPO run RAM above its JEDEC-specified speed; most kits handle it, but some don't, especially with particular motherboards or CPU memory controllers, or after a BIOS update that changed the timing defaults. The test is decisive and free: boot with the profile disabled (memory at default JEDEC speeds) and run the machine normally for a period. If the restarts stop, the memory is fine and the configuration was marginal — and you have a choice between living at JEDEC speeds or re-tuning carefully.
If the problem started when you added or swapped RAM, test the new configuration before assuming the sticks are defective: reseat them, try the recommended slot pair (usually slots 2 and 4), and test one stick at a time. For a proper check, run the built-in Windows Memory Diagnostic for a quick pass after a restart — and if you need certainty, use a full external memory test across multiple passes, because intermittent faults often need several passes to surface:
mdsched.exe
Opens the Windows Memory Diagnostic; choose to restart and test. For a full pass, run an external memory test from a USB across multiple passes.
Read the results with the right expectations: errors on one stick point at that stick — or its slot, so swap positions and retest to be sure — while a clean run doesn't prove innocence, because an intermittent fault can sit out a test.
Configuration
CPU, GPU and firmware
Unstable configurations — not failed parts — account for a large share of the "random" restarts that turn out to be perfectly reproducible under specific conditions.
If the CPU is overclocked, or undervolted, the system is running with less margin than it was designed for, and that margin shrinks as temperatures climb. The classic pattern: stable for months, then restarts begin after the room gets warmer, or after a BIOS "optimization," or after an update changed a default voltage. The single most useful test is to reset the CPU configuration to defaults in the BIOS and live with it for a normal period. If the restarts stop, you have your answer, and the decision becomes whether the performance is worth re-tuning more carefully.
GPU instability shows up in several different ways, and sorting them out matters. A driver-level stall — the display driver stops responding and recovers — isn't a reboot, but people report it as one, and it's the mildest of the three. A GPU overclock or undervolt that's slightly too aggressive can push the board into a full reset under load. And a GPU drawing more than its power connectors actually deliver — daisy-chained connectors sharing a single cable is the usual culprit — is a power problem wearing a GPU costume. Log temperatures and the exact moment of failure, and remove the overclock first; it's the variable you can change in a minute.
After a hardware upgrade — new GPU, new CPU, more drives — restarts can come from three places, and it's worth checking them in order of cost: the new part's power draw exceeding the old headroom; the BIOS re-tuning itself to the new part and doing it badly; or simply a cable or connector that didn't fully seat during the install. Reseat and check connectors, reset the BIOS to defaults with the new part in place, and only then start suspecting the part itself.
Firmware settings contribute in less obvious ways: aggressive power states (deep C-states) that some CPU/BIOS combinations handle badly, fan curves that let temperatures creep, voltage offsets, and the power-restore setting discussed in the power section. A BIOS update can introduce or fix instability too, which is why it's worth noting your BIOS version whenever behavior changes — it's one of the few "recent changes" people forget to check. Resetting to defaults is always a safe test; flashing a new BIOS is not a first move, because a failed flash can be far more damaging than the restarts you're trying to fix.
Software
Windows, drivers and software
Before blaming hardware, rule out the layer you can fix in minutes: the operating system, its drivers, and its settings.
The single most important setting is the one that hides crashes: automatic restart on system failure. When it's on, a blue screen shows for a split second and the machine is back at the login screen — so a crash-driven restart looks identical to a power-driven one, and you diagnose blind. Turn it off, and if your "random restarts" were crashes all along, you'll now see the stop code, and the entire diagnosis changes direction. The event log records the crash either way — the next section shows exactly where — but the visible screen is faster and friendlier.
Drivers run at the same privileged level as the kernel, so a bad one can take the machine down with it. The usual suspects are chipset, storage, network, and GPU drivers, and the usual trigger is a recent update — one that arrived with Windows Update or one you installed yourself. If the timing lines up with a driver change, roll that driver back (or move it to a known-good version) before touching any hardware. Safe Mode is the litmus test here: drivers that crash a normal boot usually don't load in Safe Mode, so a machine that's stable in Safe Mode is telling you the culprit lives in the software layer.
Not every "unexpected" restart is a fault at all. Windows Update restarts at the end of active hours, installs feature updates that reboot mid-apply, and occasionally a background task or a program — a driver installer, a firmware updater — restarts the system deliberately. The event log records all of these with the requesting process named; if you're finding Event ID 1074 entries instead of crash records, you may have a settings problem, not a hardware one. Recent updates also change behavior in subtler ways — a new driver delivered with an update, a changed default — which is why the update history belongs in your "recent changes".
A restart that happens only when waking from sleep is its own family: power-state handoffs between firmware, drivers, and the OS, often involving fast startup or a driver that doesn't resume cleanly. Disabling fast startup and updating the chipset drivers and BIOS are the standard first moves. And if crashes are the mechanism at all, corrupted system files can contribute — the standard repair pair is a safe, reversible test. Run the image repair first if the file check reports unrepairable corruption:
DISM /Online /Cleanup-Image /RestoreHealth
Repairs the Windows system image — run first if the scan below reports corruption it can't fix.
sfc /scannow
Scans and repairs protected Windows system files, then restart and re-test.
Evidence
Event Viewer and Kernel-Power Event ID 41
The event log is the cheapest evidence you'll collect, and it's worth learning exactly three event IDs.
Kernel-Power Event ID 41 is the "dirty shutdown" record: the system rebooted without first shutting down cleanly. Two corrections to the common lore around it. First, ID 41 is not a diagnosis — it's a description. It tells you the previous boot ended uncleanly; it doesn't say why, and no reading of the event itself will. Second, the event carries a BugcheckCode field, and that field is the useful part: if it's non-zero, the unclean stop was a crash (a blue screen you missed), and you should go read the stop code instead of chasing hardware. If it's zero, no crash was recorded — the stop was a power loss, a reset, or a hang that produced no dump.
The other two IDs are simpler. Event ID 6008 ("the previous shutdown was unexpected") is the kernel's plain version of the same fact. Event ID 1074 is the opposite case: a clean, deliberate restart or shutdown, with the process that requested it. If your "random restarts" are 1074 entries, the cause is a user, a program, or Windows Update — and the event tells you which one, often ending the diagnosis in a minute.
For each incident, collect four things: the ID 41 event with its BugcheckCode and timestamp, any BugCheck event around the same time, whether a minidump file exists for that moment, and what the machine was doing (load, game, idle, just woken). A pattern across several incidents — same time of day, always under load, always after wake — is worth more than any single event. This query pulls the relevant events with timestamps:
Get-WinEvent -LogName System -MaxEvents 50 | Where-Object { $_.Id -eq 41 -or $_.Id -eq 6008 -or $_.Id -eq 1074 } | Format-Table TimeCreated, Id, ProviderName
Lists the recent unclean-shutdown and deliberate-restart events with timestamps. Run from any PowerShell window.
Know what the log can't tell you, too: an ID 41 with a zero bugcheck could be a PSU sag, a thermal trip, or a watchdog reset — the log can't distinguish those, and pretending otherwise is how people "diagnose" a PSU from a single line. That's where the rest of this guide comes in: you match the log's timing against temperatures, load, and recent changes. The table below summarizes what each evidence source proves — and, just as importantly, what it doesn't.
| Evidence source | What it tells you | What it doesn't prove |
|---|---|---|
| Event ID 41, bugcheck = 0 | Unclean stop, no crash recorded | The cause — power, thermal and watchdog all look identical |
| Event ID 41 + BugCheck event | A crash occurred; the stop code is your lead | Which component failed |
| Event ID 1074 | Deliberate restart, and by whom | That anything is wrong — often nothing is |
| Minidump file | Faulting module and context for a crash | That the module is the root cause |
| Temperature log | Whether a stop tracked a thermal threshold | That heat, rather than coincidental load, caused it |
| Recent-change log | Timing correlation with an update or hardware | Causation — it needs a reversal test to confirm |
Routing aid
A structured diagnostic decision path
If you'd rather be routed than mapped, answer a few questions and this will point you to the section and the guide that match your situation. It's a routing aid, not a verdict — every path it sends you down ends in a test, because that's the only thing that converts a hypothesis into a diagnosis.
Question 1
Side by side
Comparison tables
When you're staring at one machine, side-by-side comparisons are easier to use than lists. The first table separates the four cause families by behavior; the second maps specific causes to their confirmation tests.
| How it shows up | Thermal | Power (PSU / path) | Software (crash / driver) | Configuration (OC / XMP / BIOS) |
|---|---|---|---|---|
| How it stops | Hard off at a temperature threshold | Hard off, or reset, usually under load | Restart through POST, or visible blue screen | Either; often load-dependent |
| When it happens | After sustained load; worse in heat | At load spikes, or randomly | Whenever the faulting code path runs | After tuning; worsens with heat |
| Best evidence | Temperature log crossing a threshold before the stop | Swap test with a known-good PSU | Stop code, minidump, BugCheck event | Stops when the setting is reverted |
| First safe check | Clean the system, monitor temperatures under load | Reseat cables, change outlet | Read the log, disable auto-restart | Reset to defaults and re-test |
| Cause | Typical signs | Confirmation test | Next action |
|---|---|---|---|
| Thermal trip | Stops after sustained load; worse in warm rooms | Repeated load while logging temperatures | Clean, improve airflow, fix the fan |
| PSU rail sag | Stops at load spikes; gaming, scene changes | Swap in a known-good PSU | Replace or right-size the supply |
| Loose cable | Random, often load-related, after moves | Reseat connectors; watch for recurrence | Verify stability over several days |
| RAM instability | Intermittent crashes; began with new RAM or XMP | Memory test; run with XMP disabled | Replace the stick or run at JEDEC speeds |
| OC / undervolt margin | Began after tuning; worsens when warm | Reset CPU/GPU configuration to defaults | Re-tune carefully or stay at defaults |
| Driver crash | After a driver update; stable in Safe Mode | Roll back the driver; re-test the workload | Keep the known-good driver version |
| Sleep/wake bug | Only after waking from sleep | Disable fast startup; update chipset/BIOS | Keep firmware and drivers current |
| Mains / outlet | Other devices affected; random timing | Move to a different circuit | Fix the power source or add a UPS |
What wastes time
Common mistakes
Most wasted time in this diagnosis comes from a small set of recurring mistakes, each of which costs days or money. The list is short because the habits are few.
- Opening the power supply. It's dangerous (capacitors hold a charge), it proves nothing you need, and the correct test is a swap with a known-good unit.
- Reinstalling Windows before reading the log. The log is free, takes a minute, and often ends the diagnosis. A reinstall destroys nothing except your evidence trail and your afternoon — and it won't fix a PSU or a thermal trip anyway.
- Changing five things at once. New driver plus XMP off plus BIOS reset plus re-paste plus new PSU tells you nothing, because you can't attribute the result. One variable at a time is slower in the moment and the only version that produces a diagnosis.
- Trusting a single stress test. Intermittent faults — memory, power, thermal margins — can pass a short test and fail an hour later. Judge stability over a normal period, not a benchmark session.
- Buying a new PSU "just in case." It's the most expensive guess in this guide. The swap test with a known-good unit is the confirmation, and it's what separates a diagnosis from a donation.
- Ignoring the power-restore setting. A board set to power on after an outage turns every mains blip into a "mysterious restart" and can misdirect the entire search. Thirty seconds to check.
End of the road
When replacement is justified — and when to call a professional
Replacement decisions should be made on evidence, not vibes, because the parts in this problem class are expensive and the wrong one changes nothing.
The standard is the swap test: a known-good part goes in and the problem is gone over a real period — or the suspect part comes out and the problem is gone. A PSU that's swapped out and the restarts stop is a found PSU. A RAM stick that's removed and the system stabilizes is a found stick. "It's old" and "it's been acting up" are not that standard, and they're how people end up with two unused PSUs in a drawer. Run the swap test over at least as long a period as your typical usage, and note it — the next person who works on this machine will be grateful.
When power (swap tested), memory, CPU/GPU configuration, and the software layer are all cleared and the stops continue, the remaining suspects are the board's power delivery or the platform itself — and that's the boundary of safe DIY, because board-level diagnosis means meter work on live circuits. There are also red flags that end the DIY question immediately: a burning smell, visible scorch marks, bulging capacitors on the board, or a PSU that made a sound it shouldn't have. In those cases, continuing to power the machine can turn a component problem into a fire risk — stop, unplug, and get it looked at professionally.
One rule outranks everything above it: back up before any test that could go wrong — a long stress run, a reseat, a swap. A machine that restarts at random is a machine that can corrupt a write at the worst possible moment, and the data is always the part you can't replace later.
FAQ
Random restart questions, answered
Why does my PC restart without warning?
Because something forced a stop: a protection trip (thermal or power), an operating system crash with automatic restart, or a deliberate restart. The kind of stop you see — hard power-off versus a restart through POST — is the first clue; start by classifying the event and reading the event log.
Can overheating cause an instant restart?
Heat usually causes an instant shutdown, not a restart: a CPU's thermal trip cuts power immediately. If the machine comes back on by itself, check the BIOS power-restore-after-outage setting — it turns that power-off into what looks like a restart.
Can a bad PSU cause random shutdowns?
Yes, especially under load, when a weak supply's rails can't hold against sudden power draws. But a failing PSU is a hypothesis until a swap test with a known-good supply confirms it — do the free checks first.
Why does my PC only restart while gaming?
Gaming is the peak of both heat and power draw, so it exposes both. The discriminator is temperature: if the stops track a temperature threshold, it's heat; if temperatures stay fine, move to power delivery.
Can RAM cause a computer to reboot?
Faulty or misconfigured memory — including XMP or EXPO profiles running too fast — can crash the operating system or trigger resets. Run the memory diagnostic, and try a normal period with the memory profile disabled.
Does Kernel-Power Event ID 41 identify the problem?
No. It records that the system rebooted without a clean shutdown — evidence of an unclean stop, not a cause. Its BugcheckCode field is useful: non-zero means a crash occurred; zero means a power loss or reset with no crash recorded.
Why does Windows restart after a blue screen?
Because "automatically restart" on system failure is enabled by default. It's a convenience setting, and it's why crashes look like random restarts. Turn it off while diagnosing so you can read the stop code.
Can BIOS settings cause random restarts?
Yes: aggressive power states, memory profiles, voltage settings, and — most subtly — the power-restore setting that makes a power loss look like a restart. Resetting to defaults is a safe first test.
Why did the problem begin after upgrading hardware?
Upgrades change power draw, make the BIOS re-tune itself, and involve new connectors. Check in that order: reseat cables, reset BIOS to defaults with the new part installed, then suspect the part itself.
When should I suspect the motherboard?
Last. After power (swap test), memory, CPU/GPU configuration and the software layer are all cleared and the stops continue — or immediately if there are visible red flags such as a burning smell, scorch marks or bulging capacitors, at which point stop using the machine and get professional help.