Last updated: 2026-12-06
Blue screens caused by an SSD or hard drive
Windows reads from your drive constantly, even while it's already running. When an SSD or hard drive can't hand over data in time, Windows itself stalls and stops with a blue screen. Storage problems can cost you files, so the order you do things in matters more here than with other causes. The first step isn't a repair at all. It's a backup.
Stop codes and symptoms that point to storage
| Stop code | What it means in plain words |
|---|---|
| INACCESSIBLE_BOOT_DEVICE (0x7B) | During startup, Windows couldn't find or read the drive it's installed on. |
| KERNEL_DATA_INPAGE_ERROR (0x7A) | Data that had to be loaded back into memory couldn't be read from the drive. |
| NTFS_FILE_SYSTEM (0x24) | Something went wrong in the NTFS file system. |
| UNEXPECTED_STORE_EXCEPTION (0x154) | A storage-related component hit an error it didn't expect. |
| CRITICAL_PROCESS_DIED (0xEF) | An essential system process stopped. Damaged system files or disk errors are common reasons. |
Other signs make the drive even more likely: startup has become noticeably slower, opening or copying files freezes for several seconds, a hard drive makes clicking sounds, or some folders refuse to open in File Explorer.
Step 1: back up before anything else
A drive that has started to fail can get worse during scans and repairs. If Windows still starts, copy your photos, documents and work files to an external drive or cloud storage now. Copy the most important folders one at a time rather than everything at once, so the essentials are safe even if the drive gives up halfway. If Windows won't start, you can take the drive out, put it in a USB enclosure, and copy the files from another computer.
Step 2: check the drive's health
On Windows 11, go to Settings → System → Storage → Advanced storage settings → Disks & volumes, pick the drive and select Properties. For NVMe SSDs, Windows shows the estimated remaining life, available spare and temperature. A low remaining life or a warning message means it's time to plan a replacement.
You can also get a quick overall status in PowerShell. Anything other than Healthy in the HealthStatus column deserves attention.
Get-PhysicalDisk | Select-Object FriendlyName, MediaType, HealthStatus
The SSD maker's own tool (Samsung Magician, WD Dashboard, Crucial Storage Executive and similar) shows more detail and can install firmware updates. Firmware updates do fix blue screens on some drives, so if the tool offers one, apply it once your backup is done.
Step 3: scan the file system and system files
Open Command Prompt or Terminal as administrator and run these one at a time.
chkdsk C: /f
sfc /scannow
DISM /Online /Cleanup-Image /RestoreHealth
chkdsk C: /ffixes file system errors. Because Windows is using drive C, it will ask whether to check the drive at the next restart. Type Y and restart.- Adding
/ralso hunts for bad sectors, but it takes a very long time and works the drive hard. On a drive that's already showing warnings, don't run it until your backup is finished. sfcrepairs damaged Windows system files, andDISMrepairs the image that sfc uses as its source. If sfc says it couldn't fix some files, run DISM and then sfc once more.
Step 4: check connections and the BIOS storage mode
On a desktop, try a new SATA cable or a different SATA port on the motherboard. A loose or worn cable alone can cause KERNEL_DATA_INPAGE_ERROR. For an M.2 SSD, remove it and reseat it fully before screwing it down again. Opening a laptop can affect the warranty on some models, so use the maker's service centre if you're not comfortable doing it.
If INACCESSIBLE_BOOT_DEVICE started right after a BIOS reset or a BIOS settings change, the storage mode (AHCI, RAID, or Intel VMD) may have changed. Windows boots in the mode it was installed with, so switching back to the original setting usually fixes it immediately. If you don't know what it used to be, the maker's support page for your exact model is the place to check.
A full drive causes trouble too
When drive C is almost full, updates can fail and Windows may be unable to grow the page file it uses as virtual memory, which makes the system unstable. Clear temporary files in Settings → System → Storage and try to keep at least a few tens of gigabytes free.
Summary
- If the drive is a suspect, back up before you try to repair anything.
- Then work through drive health, chkdsk, sfc and DISM, firmware, and finally cables and BIOS settings.
- If Windows shows a health warning, or the same stop code keeps coming back after all the checks, replacing the drive is the reliable fix.