Unexpected Store Exception (0x154) Blue Screen While Gaming

Published by Ryan Tan - Updated on

A gaming PC should be able to run a game for hours, but yours crashes a few minutes in with the stop code UNEXPECTED_STORE_EXCEPTION (0x154). Often the crash screen stays stuck at 0%, no dump file is saved, and after the restart the PC might even boot straight into the BIOS or show “No bootable device“. This guide will help you find out which part of your PC is behind it and how to stop the crashes.

Also see: Stop Code Kernel_Data_Inpage_Error BSOD in Windows 11/10

Unexpected Store Exception (0x154) Blue Screen While Gaming

What does “UNEXPECTED_STORE_EXCEPTION” actually mean?

Despite the name, it has nothing to do with the Microsoft Store app. Microsoft says the stop code means that the kernel’s memory store component ran into an exception it didn’t expect. The “store” here is the part of Windows that handles compressed memory and the memory that gets moved out to the page file on your drive. On Windows 11, the crash screen is black rather than blue, but it’s the same kind of crash.

UNEXPECTED_STORE_EXCEPTION stop code Windows 11

Microsoft doesn’t list a specific cause for it. Going by the many reports of this crash, though, the most likely reason is that the drive that holds Windows and the page file stops answering for a moment, so Windows can’t read that memory back and crashes. That would also explain why the screen freezes at 0% and no dump gets saved: the drive Windows would write the dump to is the one that just dropped out. In Event Viewer you’ll often see “Dump file creation failed” from volmgr and a Kernel-Power 41 event at the same time. Some people also get KERNEL_DATA_INPAGE_ERROR, KMODE_EXCEPTION_NOT_HANDLED or CRITICAL_PROCESS_DIED in the same series of crashes.

Games seem to make it more likely, probably because they keep the drive and memory busy for a long time and an NVMe SSD can get quite hot doing that. It isn’t only a gaming problem, though: some people get it while watching videos, browsing or with the PC sitting idle. Besides the drive, unstable RAM settings, a power-saving setting and, rarely, a faulty CPU or power supply can be behind it.

Linked issue: Dump file creation failed due to error in Windows 11

Check your SSD’s health and temperature

Windows has built-in commands that read the drive’s own health and error counters.

  1. Search for “PowerShell” in the Start menu, right-click it and select “Run as administrator“.
  2. Type the following command and press Enter:
    Get-PhysicalDisk | Format-Table FriendlyName, MediaType, HealthStatus, Size

    Look at the “HealthStatus” column for the drive Windows is on. Anything other than “Healthy” is a red flag.
    Get-PhysicalDisk health status PowerShell Windows 11

  3. For more detail, run this one:
    Get-PhysicalDisk | Get-StorageReliabilityCounter | Format-List Temperature, TemperatureMax, ReadErrorsTotal, WriteErrorsTotal, Wear

    High read or write error counts, or a very high max temperature, are worth a closer look.

Your SSD maker’s own app (Samsung Magician, WD Dashboard, Crucial Storage Executive and so on) also shows the drive’s health and temperature, and it’s where you update the firmware later. If you use CrystalDiskInfo, don’t trust the health percentage alone, since it mostly shows wear, not whether the drive is failing right now. Also keep an eye on the drive’s temperature while you play. If it runs very hot during games, better airflow around the drive may help.

It doesn’t hurt to scan the drive for file system errors too. In the same PowerShell window, run:

chkdsk C: /f

Since Windows is running from C:, chkdsk asks whether to check the drive the next time the PC restarts. Type “Y“, press Enter and restart.

Learn more: How to Run CHKDSK in Windows 10/11 from CMD or Before Boot

Look in Event Viewer for disk errors

Event Viewer can tell you whether the drive was the one that dropped out.

  1. Press Win + R, type “eventvwr.msc” and press Enter.
  2. Go to “Windows Logs” > “System” and look at the errors and warnings from just before the crash.Event Viewer System log Windows 11

Warnings like “Reset to device, \Device\RaidPort…“, disk or stornvme errors, or WHEA-Logger event 17 right before each crash all point at the SSD or its slot.

Related concern: Event: “The IO operation at logical block address…”

Reseat the M.2 SSD or try another slot

If your PC booted into the BIOS without a drive after the crash, or the drive came back only after a restart, a bad connection in the M.2 slot is a common cause. A drive that isn’t fully seated can drop out for a split second under load, and that’s enough to trigger this crash. On a laptop, only do this if you’re comfortable opening it, and if it’s still under warranty, contact the manufacturer instead.

  1. Shut down the PC fully and unplug it.
  2. Unscrew the M.2 SSD, take it out of its slot, push it back in firmly until it sits all the way in, and screw it back down.

M.2 NVMe SSD in motherboard slot

If your motherboard has a second M.2 slot, try that slot instead, since sometimes it’s the slot that’s the problem, not the drive. Then start the PC, check that Windows boots from the drive again, and play as usual to see if the crashes stop.

Might be useful: All SSD Connectors Types Explained (SATA, M.2, NVMe, etc.)

Turn off “Link State Power Management” for PCI Express

This power-saving setting lets the PCI Express link to your SSD drop into a low-power state. On at least one gaming laptop, it made the NVMe drive drop off for a moment, and turning it off stopped the crashes. It’s a quick change and easy to undo, so it’s worth ruling out.

  1. Press Win + R, type “powercfg.cpl” and press Enter to open “Power Options“.Power Options Control Panel Windows 11
  2. Click “Change plan settings” next to the plan you’re using.
  3. Click “Change advanced power settings“.Change advanced power settings Windows 11
  4. Expand “PCI Express” > “Link State Power Management” and set it to “Off” (on a laptop, set both “On battery” and “Plugged in“).Turn off Link State Power Management PCI Express Windows 11
  5. Click “OK“.

Then play the game that usually crashes for longer than it normally takes, and see if the crash comes back.

Run SFC and update your drivers

Microsoft also suggests ruling out corrupted system files and bad drivers. In “Command Prompt” as administrator, run:

sfc /scannow

SFC scannow successful repair Windows 11

Then check Device Manager for any device with a yellow exclamation mark, right-click it and select “Update driver“. Install pending Windows updates too, and the latest graphics driver if yours is old. Restart afterwards and play as usual to see if the crashes stop.

Test your RAM and turn off XMP or EXPO

Since this crash happens inside Windows’ memory handling, unstable RAM can cause it too. Windows has its own memory test.

  1. Press Win + R, type “mdsched.exe” and press Enter.
  2. Click “Restart now and check for problems (recommended)“.Windows Memory Diagnostic restart now and check for problems

If the test finds nothing but the crashes go on, go into the BIOS and turn off XMP (Intel) or EXPO (AMD) for a few days, so the RAM runs at its default speed. This matters even more if you mixed two different RAM kits, which sometimes only run stable without XMP.

Update the SSD firmware and the BIOS

Old SSD firmware or an old BIOS can make a drive less stable, so check for updates to both. Open your SSD maker’s app and check for a firmware update for the drive Windows is on. Then check your PC or motherboard maker’s support page for a newer BIOS.

Be warned: A BIOS update that goes wrong (for example, a power cut halfway) can brick your motherboard. Keep the PC plugged in, follow the maker’s own instructions exactly, and avoid beta versions (often marked with a letter at the end of the version number). If you’re not sure what you’re doing, it’s better to get someone to help you instead.

Maybe the drive itself is failing

If the crashes keep coming after all of this, especially if the drive keeps disappearing from the BIOS, the bad news is that the SSD is most likely failing. Back up your important files as soon as possible, and if the drive is still under warranty, contact its maker for a replacement. Once Windows is on a new, healthy drive, the crashes often stop.

In rare cases, the crashes go on even with a new drive. Then the CPU, the RAM or the power supply could be at fault, and it’s best to have a repair shop or the PC maker check it.


Ryan Tan
Ryan Tan is a writer and editor at WindowsDigitals.com with a background in software engineering. He loves coding and playing with new tech, and Windows is what he uses most. Ryan is a problem solver at heart when it comes to PCs. He would rather find the real cause of an issue than settle for a quick workaround.