The “Your PC ran into a problem and needs to restart” screen is Windows 11’s way of saying the kernel hit something it couldn’t survive. It looks alarming, but the screen itself is just a messenger — the real information is the stop code printed near the bottom, and the fix depends on what that code is.
If your laptop is looping on this screen, don’t keep letting it crash. Every restart lands on the same broken state. Instead, interrupt the cycle deliberately and work through the fixes below, starting with whatever stop code you can see.
Why this happens
- Faulty or incompatible device driver: The most common cause. A driver accesses memory it shouldn’t, mishandles hardware, or conflicts after a Windows update.
- Failing RAM: Bad memory corrupts whatever it touches — drivers, kernel data, file caches — producing random-looking crashes with changing stop codes.
- Corrupted system files: Damaged Windows core files from a bad update, forced shutdown, or malware can crash the kernel on every boot.
- Failing storage drive: A dying SSD or hard drive corrupts data as it’s read, so Windows crashes on files that look fine but aren’t.
- Overheating or unstable hardware: Thermal shutdowns and unstable power delivery can present as blue screens, especially under load.
- Recent Windows update gone wrong: A botched cumulative or feature update can leave the system in a half-migrated state that crashes on boot.
How to fix it
Work through these in order — the goal is to identify the stop code, then attack the most likely cause.
Fix 1: Read the stop code and note when it happens
Everything downstream depends on this information. Don’t skip it.
- When the blue screen appears, photograph it with your phone — capture the full stop code (e.g.,
MEMORY_MANAGEMENT,SYSTEM_SERVICE_EXCEPTION) and any driver filename shown. - Note the pattern: does it crash on boot, on login, when opening a specific app, or randomly?
- If it reboots too fast to read, that’s expected — Fix 3 shows how to slow it down.
- If you already know the code, jump to the matching guide: our general blue screen of death walkthrough covers the most common codes with targeted fixes.
Fix 2: Boot into Safe Mode
Safe Mode loads only essential drivers. If the laptop is stable there, a third-party driver or startup program is the culprit.
- Force the recovery environment: power on the laptop, and as soon as the Windows logo appears, hold the power button to force it off. Repeat three times.
- On the fourth boot, Windows enters Automatic Repair. Click Advanced options.
- Go to Troubleshoot > Advanced options > Startup Settings > Restart.
- Press 4 for Safe Mode (or 5 for Safe Mode with Networking).
- If it’s stable in Safe Mode, the next fixes apply. If it crashes even in Safe Mode, suspect hardware or core system corruption — jump to Fix 6.
- Our detailed walkthrough on booting Windows 11 into Safe Mode covers alternative methods if this one doesn’t work.
Fix 3: Disable automatic restart to capture the error
Windows reboots immediately after a crash by default. Turn that off so you can actually read the screen.
- In Safe Mode (or normal Windows if you can reach it), press Win + R, type
sysdm.cpl, and press Enter. - Go to the Advanced tab and click Settings under Startup and Recovery.
- Uncheck Automatically restart and click OK.
- The next blue screen will stay on screen until you restart manually — photograph the stop code.
- From the recovery environment command prompt, you can do the same with:
wmic recoveros set AutoReboot = False.
Microsoft documents this and other recovery options on the Windows support hub if you need the official walkthrough.
Fix 4: Uninstall the most recent update or driver
If crashes started after an update, that update is suspect number one.
- In Safe Mode, open Settings > Windows Update > Update history > Uninstall updates.
- Remove the most recent cumulative or driver update, then restart.
- If the problem was a driver, open Device Manager (Win + X > Device Manager), find recently updated devices, open Properties > Driver tab, and click Roll Back Driver.
- To stop Windows from reinstalling a bad driver update, download the Show or hide updates troubleshooter (
wushowhide.diagcab) from Microsoft and hide that update. - Retest in normal mode. If the crashes followed a feature update, see our guide on blue screens after a Windows 11 update .
Fix 5: Run system file and image repairs
Corrupted system files crash the kernel. Repair them from Safe Mode or the recovery command prompt.
- Open an elevated Command Prompt: Win + S, type
cmd, right-click Command Prompt, choose Run as administrator. - Run
sfc /scannowand let it complete — this repairs protected Windows files. - Then run
DISM /Online /Cleanup-Image /RestoreHealthto fix the component store that SFC relies on. - Restart and test. If SFC finds corruption it can’t fix, the DISM repair usually resolves the underlying store damage — run SFC once more afterward.
- If both fail, an in-place upgrade (repair install) from Windows 11 installation media reinstalls Windows while keeping files and apps.
Fix 6: Test memory and storage hardware
If software fixes change nothing — especially if the stop code keeps changing — test the hardware.
- Press Win + R, type
mdsched.exe, and choose Restart now and check for problems. Any error means bad RAM. - For the drive, open an elevated Command Prompt and run
chkdsk C: /f /r(schedule it if prompted, then restart). - Check drive health with your manufacturer’s tool — Dell , HP , or Lenovo all provide diagnostics — or read SMART data with CrystalDiskInfo.
- Reseat RAM and storage if your laptop allows access; loose modules cause intermittent crashes. Our guide on disabling automatic restart after a BSOD in Windows 11 24H2 pairs well with hardware diagnosis since you’ll want the screen to stay put.
Fix 7: Clean-boot to isolate software conflicts
If Safe Mode is stable but normal boot crashes, a startup program or service is involved.
- In Safe Mode with Networking, press Win + R, type
msconfig, and press Enter. - On the Services tab, check Hide all Microsoft services, then click Disable all.
- On the Startup tab, click Open Task Manager and disable every startup item.
- Restart into normal mode. If it’s stable, re-enable items in halves until the crash returns — the last batch contains the culprit.
- Common offenders: third-party antivirus, VPN clients, RGB/fan control utilities, and disk-encryption tools.
Closing
“Your PC ran into a problem” is never the diagnosis — it’s the announcement. The stop code, the timing, and whether Safe Mode is stable will point you at the real cause, and from there it’s a methodical process: roll back what changed recently, repair system files, then test hardware. Most of these loops end at a bad driver or a bad update, both of which are fully fixable without losing a single file.
