KERNEL_DATA_INPAGE_ERROR is one of the few blue screen stop codes that points you towards your storage before anything else. Microsoft's reference page says it means "the requested page of kernel data from the paging file couldn't be read into memory". In plain terms, Windows asked the drive for a piece of data it had paged out, and the read failed. That can be a failing SSD or hard drive, a loose cable, faulty RAM or malware. This guide explains how to read the error status that comes with the crash, then works through the checks in the order we'd do them. The causes, commands and status codes below come from Microsoft's documentation, and the order of the checks is our advice.
What the error actually means
Microsoft lists KERNEL_DATA_INPAGE_ERROR as bug check 0x7A (full value 0x0000007A). Windows can move some kernel data out of RAM into the paging file and read it back when it's needed. This bug check means that read failed, so the data the kernel asked for never arrived in memory.
Microsoft gives four broad causes:
Bad blocks (sectors) on the drive, which Microsoft's status code list mentions twice.
Defective storage hardware or failing RAM, which Microsoft calls "another common cause".
Cabling or connection problems, including loose cables or a controller that can't see the drive.
A virus infection, which Microsoft says "can also cause this bug check".
Microsoft also says "a crack, a scratched trace, or a defective component on the motherboard" can cause it. There's a closely related stop code, KERNEL_STACK_INPAGE_ERROR (0x77), which Microsoft links from the same page.
If you've seen the error once and it hasn't come back, you may not need to do anything. Microsoft's support page says that in most cases when Windows 11 restarts unexpectedly, "the problem is resolved by the restart and no further action is needed". Because 0x7A so often involves the drive, though, we'd at least check the drive's health after a single crash (Step 3).
Step 1: Find the error status in parameter 2
Microsoft says you can often work out the cause of 0x7A "from the error status (parameter 2)". If the PC restarts before you can read the blue screen, open Event Viewer once Windows has booted and look in Windows Logs > System. Microsoft says the bug check event will list the four stop code parameters. Our Event Viewer guide shows how to filter the log.
These are the common status codes Microsoft lists for parameter 2, and what each one indicates:
Parameter 2 | Name | What Microsoft says it indicates |
|---|
0xC000009A | STATUS_INSUFFICIENT_RESOURCES | A lack of non-paged pool resources |
0xC000009C | STATUS_DEVICE_DATA_ERROR | Typically bad blocks (sectors) on the hard disk |
0xC000009D | STATUS_DEVICE_NOT_CONNECTED | Defective or loose cabling or termination, or the controller doesn't see the hard disk |
0xC000016A | STATUS_DISK_OPERATION_FAILED | Bad blocks (sectors) on the hard disk |
0xC0000185 | STATUS_IO_DEVICE_ERROR | Improper termination or defective cabling on SCSI devices, or two devices trying to use the same IRQ |
0xC000000E | STATUS_NO_SUCH_DEVICE | A hardware failure or an incorrect drive configuration |
Microsoft's table is written for every kind of disk, including older SCSI and PATA (IDE) drives, so some entries won't apply to a modern PC with an NVMe or SATA SSD. Our rough reading of the table is that 0xC000009C and 0xC000016A point to the drive itself, 0xC000009D and 0xC000000E point to the connection or the drive disappearing, and 0xC000009A points away from the drive. If you see a status code that isn't in the table, Microsoft says these are NTSTATUS values, and its NTSTATUS reference lists what each one means.
Microsoft's fix for bad blocks is to scan the system partition, the drive Windows is installed on, so that's the drive to check first.
Step 2: Back up anything important now
This is our advice rather than Microsoft's, but it comes first for a reason. If the error status points to bad sectors, the drive holding Windows may be failing, and repair scans put it under extra load. Copy your important files to another drive or cloud storage before you go further. If the drive is still readable but you plan to replace it, our guide to cloning an SSD with free tools covers moving your whole Windows install to a new drive.
Step 3: Check the drive for bad sectors with CHKDSK
Microsoft says a status of 0xC000009C or 0xC000016A typically means the data couldn't be read because of a bad block. If you can restart the PC after the crash, Microsoft says Autochk "runs automatically and attempts to map the bad sector to prevent it from being used anymore".
If Autochk doesn't run, you can start the scan yourself. Microsoft's instruction is to run chkdsk /f /r on the system partition:
Search for Command Prompt, right-click it and choose Run as administrator. Microsoft says membership of the local Administrators group is the minimum needed to run chkdsk.
Type chkdsk C: /f /r and press Enter (replace C: if Windows is on a different drive).
Because Windows is using the system drive, chkdsk can't lock it. When it asks whether to check the drive the next time the system restarts, type Y, then restart.
Microsoft's chkdsk reference explains what the two switches do. /f fixes errors on the disk, and /r "locates bad sectors and recovers readable information", including the work of /f plus an analysis of physical disk errors. On a hard drive, a /r scan reads every sector and can take hours on a large drive. Microsoft says it's faster on an SSD. It also says running chkdsk on an SSD isn't dangerous, but repeated full-surface scans with /r could add write/erase cycles, so it's fine for an occasional check, just not as a routine. Our CHKDSK guide covers reading the results, and SFC vs CHKDSK explains how the two tools differ.
If you can't boot Windows at all, Microsoft's 0x7A page says to use the Recovery Console and run chkdsk /r. The Recovery Console is an old Windows tool, so our suggestion for Windows 11 is to run the same command from the Command Prompt in the recovery environment instead.
Step 4: Check the drive's health and firmware
Chkdsk works on the file system. It doesn't tell you whether the drive itself is wearing out. For 0xC000000E, Microsoft specifically says to "check the drive with the diagnostic utility available from your drive manufacturer". We'd do that whatever the status code. Most big SSD makers offer a free tool for this, in our view the first thing to try. You can also read the drive's SMART health data. Our guides cover checking SSD health, what a CrystalDiskInfo Caution or Bad rating means and checking drive health with PowerShell.
Microsoft's general stop error advice is to make sure "the BIOS and firmware are up-to-date". Our advice is to treat that as including the SSD's own firmware, which is usually updated through the maker's tool. Our SSD firmware guide explains how. Back up first, as Step 2 says.
If the health tool reports reallocated or pending sectors, a falling health percentage or a failed self-test, our view is that you should plan to replace the drive rather than keep repairing it.
Step 5: Reseat cables, drives and cards
A status of 0xC000009D, which Microsoft says points to defective or loose cabling or a controller that doesn't see the disk, sends you inside the case. With the PC shut down and unplugged:
SATA drives: reseat the data and power cables at both ends, or try a different SATA cable and motherboard port. Our SATA install guide shows where they go.
M.2 NVMe drives: remove the drive, check the slot for dust, then refit it and its screw or latch firmly.
Expansion cards: Microsoft says that on PCs with card slots you should check that all adapter cards are properly seated, and that an ink eraser or an electrical contact treatment can clean adapter card contacts.
The SATA and M.2 steps are our suggestions, based on Microsoft's cabling advice. If a drive keeps vanishing from Windows or the BIOS, our SSD not showing up guide goes further.
Step 6: Test your RAM
Microsoft lists failing RAM alongside defective storage as a common cause. Its advice is to run the hardware diagnostics your system manufacturer supplies, "especially the memory scanner". For a self-built PC, a memory test tool does the same job. Our guide to testing RAM with MemTest86 walks through a full test, and Windows Memory Diagnostic vs MemTest86 explains which to use. If you run XMP or EXPO, our suggestion is to repeat the test with it turned off. Our view is that errors at default settings point to a faulty module.
Step 7: Check free space and the paging file
0xC000009A means Windows ran short of non-paged pool resources, which isn't a disk fault. Even so, it's worth making sure the system drive isn't nearly full. Microsoft's support page says the operating system needs free space "to create swap files and perform other functions", and suggests keeping 10% to 15% of the drive free. Our guide to freeing up disk space can help.
If you've moved the paging file to another drive or set a fixed size, our suggestion is to put it back to system-managed on the Windows drive while you troubleshoot. Our virtual memory guide shows where the setting is.
Step 8: Scan for malware
Microsoft says a virus infection can cause 0x7A, and recommends an up-to-date virus scanner that examines the Master Boot Record. Its advanced troubleshooting page suggests Microsoft Safety Scanner or any other virus detection program that includes MBR checks. Microsoft Defender's offline scan is another option, and our guide explains how to run a Microsoft Defender Offline scan.
Step 9: Update Windows, the BIOS and drivers
Microsoft's 0x7A page says to "make sure that the latest Windows updates are installed". Go to Start > Settings > Windows Update and select Check for updates. Its general advice also covers the BIOS and firmware (see our BIOS update guide).
Microsoft's support page also suggests checking Device Manager. Right-click Start, select Device Manager and look for any device with an exclamation mark. Right-click it and choose Update driver. If that doesn't help, Microsoft says to try disabling or uninstalling the device. For a storage error, our suggestion is to look closely at the Storage controllers and Disk drives entries.
Microsoft also says to check the System log in Event Viewer for errors that might identify the device, especially "errors that occur right before the bug check". In our view, disk or storage controller errors logged just before the crash are a strong hint about which drive or port is at fault.
Step 10: Repair Windows files with DISM and SFC
Once the drive has passed chkdsk and a health check, repair any Windows files that a bad read may have damaged. Microsoft says to run DISM before System File Checker, from an elevated command prompt (right-click Command Prompt and select Run as administrator):
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow
Microsoft warns not to close the window until the verification is 100% complete. Our DISM and SFC guide explains each result message. If none of the steps help, Microsoft's support page suggests restoring Windows from a restore point or another recovery option. If you want to dig into the crash dumps first, see our guide to analysing BSOD minidumps with WinDbg.
0x7A shares causes with other memory and paging stop codes. If your PC shows different codes as well, see our guides to PAGE_FAULT_IN_NONPAGED_AREA, MEMORY_MANAGEMENT and our general Windows 11 blue screen guide.