Why Does My PC Blue Screen and Restart by Itself?
Windows usually restarts after a blue screen because “Automatically restart” is enabled, so you lose the stop code unless you catch it. If you miss the pattern, you can replace the wrong part and keep hitting the same crash. This guide shows how to stop the auto-restart, capture the stop code, and match the crash pattern to the most likely cause.
What you’ll need
- A phone or another device to photograph the blue screen.
- Admin access on the Windows account.
- Time to reboot once or twice.
- Optional: a USB drive for logs or recovery media.
- Access to Device Manager, Event Viewer, and Windows Memory Diagnostic.
What a blue screen restart means
A blue screen is a system-level Windows crash, and the restart usually happens because Windows is set to recover automatically after the fault. That restart helps uptime, but it hides the stop code unless you turn it off first. The code and the crash pattern are your best clues.

How Windows hides the clue
The Automatic Restart setting is in Startup and Recovery. When it is on, the PC reboots before you can read the stop message. Turn it off first if the screen flashes by too fast, because the code can separate a driver fault from a storage or memory fault.
How do you stop Windows from restarting after a blue screen?
Turn off Automatic Restart so the stop code stays on screen long enough to read it. That gives you the exact error name, which is more useful than guessing from the reboot alone. On Windows 10 and 11, the setting is buried in system startup options.
Steps to disable auto-restart
- Open Startup and Recovery. Press Win + R, type sysdm.cpl, and press Enter. In System Properties, open the Advanced tab, then select Settings under Startup and Recovery.
- Clear automatic restart. In System failure, clear Automatically restart, then select OK. Leave the dialog open if you plan to change any dump settings too.
- Save a photo of the stop code. After the next crash, photograph the stop code and any file name shown. If the screen still disappears too quickly, the photo can capture the exact text that Windows logs later.
What to check first when your PC blue screens and restarts
| Crash pattern | Evidence to capture first | Most likely next test |
|---|---|---|
| Crash at boot | Stop code, any driver file name, C:\Windows\Minidump\*.dmp, recent BIOS or driver change | Safe Mode, then remove the last driver or BIOS change |
| Crash under load | Stop code, minidump, GPU or chipset driver version, temperatures, RAM profile, PSU symptoms | Disable XMP/EXPO, then retest with default memory settings |
| Crash after sleep or reset | Stop code, minidump, storage health, recent update, wake settings, fast startup status | Update or roll back the storage, chipset, or network driver |
Say your PC crashes only after waking from sleep and the stop code appears as DRIVER_POWER_STATE_FAILURE. That pattern points away from random hardware failure and toward a device driver that does not resume cleanly. Check the most recent chipset, network, or storage driver first.
Picture a desktop that blue screens five minutes into a game, then reboots. The pattern is different from a boot crash, so start with GPU driver changes, temperatures, and the memory profile before you replace the drive or reinstall Windows.
How do you read the stop code and crash dump?
The stop code is the error identifier, and the crash dump is the saved record of what failed. Together they can help identify the faulting component. If the machine rebooted before you could read the screen, the dump file and Event Viewer usually still contain useful details.
Steps to capture the evidence
- Check the minidump folder. Open File Explorer and go to
C:\Windows\Minidump\. Copy any recent .dmp files and note the timestamp. - Open Event Viewer. Press Win + X, choose Event Viewer, then open Windows Logs > System. Look for BugCheck and the time of the crash.
- Record recent changes. List any new driver, BIOS, Windows Update, RAM profile, or hardware change from the last day or two. That timing often matters more than the exact reboot moment.
To inspect a crash dump, use one of these paths: - C:\Windows\Minidump\*.dmp - Event Viewer > Windows Logs > System > BugCheck - Win + R > sysdm.cpl > Advanced > Startup and Recovery
What causes blue screen restarts?
Common causes are bad drivers, memory errors, storage faults, and heat or power problems. The right next test depends on when the crash happens. A boot crash points somewhere else than a gaming crash or a wake-from-sleep crash.
Device drivers
GPU, storage, chipset, and network drivers can trigger BSODs, especially after an update or new hardware. If the crash began right after a driver change, roll it back first. If a new device was added, remove it and retest before replacing anything else.
- Roll back the driver. Open Device Manager, right-click the device, choose Properties, then open the Driver tab and select Roll Back Driver if it is available.
- Remove the last change. If rollback is unavailable, choose Uninstall device, then restart and let Windows load a basic driver. Recheck whether the crash returns.
RAM and XMP or EXPO
Bad RAM can absolutely cause blue screen restarts. An unstable XMP or EXPO profile can do the same, even when the modules themselves are fine. If the system is set to a memory overclock, turn it off first; a faulty DIMM or slot is the next likely suspect.
- Reset memory settings. Enter BIOS or UEFI and disable XMP or EXPO. Save and boot with default memory speed before you run any test.
- Run a memory test. Press Win + R, type mdsched.exe, and restart into Windows Memory Diagnostic. If errors appear, test one stick at a time, then move the stick to a different slot.
Storage drive health
SSD and HDD problems can cause file system corruption, slow boots, and stop codes tied to storage access. If the crash appears at startup or after an update, check drive health early. SMART warnings, repeated bad sectors, or a drive that drops from BIOS are strong clues.
- Check drive health. Open the drive’s health screen in its vendor tool, or inspect SMART data with a trusted utility. Look for warnings, reallocated sectors, or media errors.
- Scan Windows files. Open Command Prompt as administrator and run
sfc /scannow, thenDISM /Online /Cleanup-Image /RestoreHealth. This helps when the crash follows a corrupted system file.
Temperature and power delivery
Overheating CPU or GPU parts can crash under gaming load, and PSU instability can show up during startup spikes or sudden load changes. If the machine only fails under heavy load, temperature and power should move up the list. A recurring crash at the same workload is a strong clue.
- Check cooling first. Verify that fans spin, vents are clear, and the cooler is mounted correctly. If the crash happens only in games, lower the load and retest before you change hardware.
- Reduce the load spike. If a PSU issue is suspected, disconnect nonessential USB devices, remove recent add-in cards, and retest with default BIOS settings. A stable reboot under lighter load points toward power delivery rather than Windows itself.
What should you do after one blue screen?
A single reboot does not always mean a dying part. If it happened after one update, one driver install, or one power loss, capture the code and watch for repeats first. Repeated crashes, or crashes that move with a specific activity, need active troubleshooting.
- Check for one recent change. Review Windows Update, recent driver changes, BIOS changes, and any new hardware from roughly the last 48 hours. If one change lines up with the first crash, undo that change before anything else.
- Try Safe Mode. Go to Settings > Recovery > Advanced startup > Restart now > Troubleshoot > Advanced options > Startup Settings. Safe Mode helps you confirm whether a third-party driver or startup item is involved.
- Escalate only if it repeats. If the same stop code returns, move to memory, storage, and driver testing in that order. One isolated crash after a change is less urgent than a pattern that repeats daily.
If that didn’t work, try this next
If the crash still returns after driver rollback, memory defaults, and basic file checks, the next step is narrower hardware isolation. Test one RAM stick, one drive, or one external device at a time. That removes guesswork and keeps you from replacing healthy parts.
Common mistakes
- Leaving auto-restart on. Without the stop code, every crash looks the same. Turn it off first.
- Changing too many parts at once. Replace or remove one variable at a time so you can see what fixed it.
- Ignoring XMP or EXPO. A memory profile can make otherwise healthy RAM unstable.
- Skipping the dump file.
C:\Windows\Minidump\often has more value than guesswork from the reboot. - Blaming Windows too soon. Separate boot crashes, load crashes, and wake crashes before you reinstall anything.
Frequently asked questions
Why did my PC restart with a blue screen?
Windows rebooted because automatic restart was enabled, which hides the stop code unless you stop it first. The key next move is to disable that setting in sysdm.cpl and capture the next crash from the blue screen or from C:\Windows\Minidump\.
Why does my computer blue screen and restart by itself?
A restart after a BSOD usually means Windows hit a system-level crash and recovered automatically. The most useful evidence is the stop code, the minidump, and the timing of the crash. That combination helps separate a driver issue from memory, storage, or power trouble.
What causes a PC to randomly blue screen and restart?
Repeated random crashes are often tied to a bad driver, unstable RAM profile, failing storage, or heat and power instability. The next test should match the pattern: disable XMP or EXPO for memory-style crashes, check SMART data for storage clues, and review recent driver updates for everything else.
Do I need to worry after one blue screen restart?
Not always. One crash after a recent update or hardware change can be a one-off event, but the same stop code returning more than once points to a real fault. Capture the code, check the dump, and wait for a repeat before replacing parts.
Can bad RAM cause blue screen restarts?
Yes. Faulty DIMMs, a bad slot, or an unstable XMP or EXPO profile can all trigger BSODs and reboots. Start by disabling the memory profile, then run mdsched.exe. If errors follow one stick, test that stick in a different slot.





