That sad blue screen, “Your PC ran into a problem and needs to restart,” is Windows catching a critical fault before it can do more damage. On an HP laptop it can strike once and vanish, or it can trap you in a crash loop that makes the machine unusable. Either way, the screen itself is not the problem; it is Windows protecting your data from whatever went wrong underneath.

The key detail is the stop code printed near the bottom. It is the single most useful clue you have, so photograph it with your phone before the laptop restarts. Then work through the fixes below, which are tuned for HP hardware and the most common causes of repeat blue screens.

Why this happens

  • Faulty driver. A buggy graphics, network, or chipset driver is the most common cause of repeat blue screens on HP laptops.
  • Failed Windows update. An update that installed incompletely can leave system files and drivers in a mismatched state.
  • Corrupted system files. Damage from abrupt shutdowns or failing storage produces crashes that keep recurring.
  • Failing memory or SSD. Bad RAM or a dying drive corrupts data in transit, and Windows crashes rather than risk writing garbage.
  • Overheating. An HP laptop with clogged vents can crash under load when the CPU or GPU overheats and the hardware throws a fault.
  • Third-party antivirus or system tools. Deep-hooking software can destabilize the kernel, especially after Windows feature updates.
  • Outdated BIOS or HP firmware. HP periodically fixes stability issues through BIOS updates that Windows Update does not always deliver.

How to fix it

Work through these in order, starting with the quickest fixes first.

Fix 1: Capture the stop code and boot into Safe Mode

  1. The next time the blue screen appears, photograph it with your phone so you have the stop code and the file name if one is shown.
  2. Interrupt the boot three times in a row by holding the power button during the HP logo. On the third boot, Windows opens the recovery environment.
  3. Go to Troubleshoot > Advanced options > Startup Settings > Restart and press 4 for Safe Mode.
  4. If Safe Mode is stable, a third-party driver is almost certainly the cause, and you can work on it without crashing.

Fix 2: Update drivers from HP’s support site

  1. On another device if needed, visit HP support and enter your exact model number.
  2. Download the latest BIOS, chipset, graphics, and network drivers for your Windows version.
  3. Install the BIOS update first, following HP’s instructions exactly, with the charger connected.
  4. Install the remaining drivers and restart. Fresh manufacturer drivers resolve most HP blue screen loops.

Fix 3: Run HP’s built-in hardware diagnostics

HP makes it easy to test the hardware before blaming software.

  1. Power off the laptop, then press the power button and immediately tap F2 repeatedly until the HP diagnostics screen appears.
  2. Run the System Test or Extensive Test, which covers memory, storage, and the system board.
  3. If any test fails, note the failure code. That is a hardware problem, and no software fix will resolve it permanently.
  4. If everything passes, your crashes are software-based, and the remaining fixes will sort them out.

Fix 4: Uninstall the most recent Windows update

  1. In Safe Mode, open Settings > Windows Update > Update history > Uninstall updates.
  2. Remove the latest cumulative update, which often corresponds with when the crashes began.
  3. Restart normally. If the blue screens stop, pause updates for a week while Microsoft ships a corrected version: Settings > Windows Update > Pause updates.

Fix 5: Repair system files

  1. Press Windows key + X and open Terminal (Admin).
  2. Run sfc /scannow and wait for the full scan.
  3. If it reports unfixable damage, run DISM /Online /Cleanup-Image /RestoreHealth, then run SFC again.
  4. Restart and watch for the next crash.

Fix 6: Check temperatures and clean the cooling

  1. Download a free temperature monitor and check CPU and GPU temps under load. Sustained readings above 95°C are a red flag.
  2. With the laptop off and unplugged, blow compressed air through the vents to clear dust.
  3. Use the laptop on a hard, flat surface. Soft bedding blocks intake vents and can raise temperatures by ten degrees or more.
  4. If crashes only happen during games or heavy work, overheating is a strong suspect.

Fix 7: Remove conflicting software

  1. In Safe Mode, open Settings > Apps > Installed apps.
  2. Uninstall third-party antivirus, system optimizers, and any driver updater tools. Windows Security covers protection on its own.
  3. Restart normally and test for a day before reinstalling anything.

Fix 8: Reset Windows as a last resort

  1. Open Settings > System > Recovery > Reset this PC.
  2. Choose Keep my files to reinstall Windows while preserving your personal data.
  3. If crashes continue even after a reset with clean HP drivers, the hardware diagnostics in Fix 3 need a second look, or a technician should inspect the machine.
  4. For related stop codes, see your PC ran into a problem after a Windows 11 update and the general blue screen of death fix guide . Microsoft’s official steps are on the Microsoft support site .

Closing

“Your PC ran into a problem” is frightening the first time, but it is Windows doing its job: stopping before corruption spreads. On HP laptops, the fix trail almost always leads to a driver, a recent update, or overheating, and the built-in HP diagnostics make the hardware question easy to answer. Work the list patiently, photograph that stop code, and you will almost always end up with a stable machine again. Once the crashes stop, leave the good habits in place: install BIOS and driver updates from HP’s own site a few times a year, keep the vents clear of dust, and let Windows Security handle protection instead of layering on third-party tools that hook into the kernel.

Frequently asked questions

What does 'Your PC ran into a problem' mean on an HP laptop?
It is the friendly face of the Windows blue screen of death. Windows hit a critical error it could not recover from, collected diagnostic data, and restarted. The real clue is the small stop code at the bottom of the screen, which tells you whether the fault was a driver, memory, or hardware issue.
Why does the error keep coming back after every restart?
Because whatever caused it is still there: a broken driver, a bad Windows update, or failing hardware. Each reboot loads the same faulty component, so it crashes again. Booting into Safe Mode breaks the cycle and lets you remove or update the cause. If even Safe Mode crashes, the recovery environment on the hard drive or a Windows installation USB can still get you to repair tools.
Should I write down the stop code?
Yes. The stop code, like IRQL_NOT_LESS_OR_EQUAL or DRIVER_POWER_STATE_FAILURE, narrows the problem from dozens of possibilities to a handful. Photograph the screen with your phone if it disappears too fast to read.
Can HP hardware diagnostics help?
Yes. HP laptops include built-in diagnostics you can run before Windows loads. They test memory, storage, and the system board, which quickly tells you whether the blue screens have a hardware cause.