Blue screen · Windows 11
Fix a blue screen with stop code KERNEL_DATA_INPAGE_ERROR
This stop code means Windows tried to read a page of kernel data from the page file on disk and the read failed. The cause is usually a failing drive, a loose cable or connection, faulty memory, or a corrupted page file. Back up anything you cannot replace first — a drive that produces this error can get worse.
What you need
- A backup of anything irreplaceable, made first. This error points at storage more often than any other blue screen. Copy your documents and photos to another drive or cloud storage before you start repairing.
- Thirty to sixty minutes. The disk check and memory test run on their own once started; your hands-on time is short.
- Administrator access. The disk check and system file repair need it.
Read the problem before you touch it
- Understand what the stop code names. KERNEL_DATA_INPAGE_ERROR is bug check 0x7A. The Microsoft Learn reference, Bug Check 0x7A KERNEL_DATA_INPAGE_ERROR, describes it as a failure to read a page of kernel data from the paging file into memory. The second value shown with the bug check is a status code: a status pointing at a disk error means the drive or its connection failed the read, while a status pointing at memory means the data was damaged after it arrived. Either way, this is a hardware-leaning error — software repairs come after the drive and memory have been checked, not before.
- Note when it happens. Crashes under heavy disk use — copying large files, installing a game, waking from sleep — point at the drive or its cable. Crashes at random moments, including right after boot, widen the field to memory and the page file itself. Write down the pattern; it decides which check you trust most.
The simple fixes, in order
- Check the drive's health status. Open Settings > System > Storage > Advanced storage settings > Disks & volumes, open the system drive's properties, and read its health estimate if one is shown. A drive reported as unhealthy, or one that has started making clicking or grinding sounds, is the answer — replace it and restore from your backup rather than repairing around it.
- Run the disk check. Open an administrator Command Prompt and run
chkdsk C: /f. Because C: is the system drive, Windows cannot lock it while it is running, so it offers to schedule the check for the next restart — accept, restart, and let it complete. The check finds and repairs file system errors and marks bad areas of the disk so Windows stops trying to read the page file from them. - Reseat the drive's connections on a desktop. Power the PC off, unplug it, and reseat the drive's data and power cables at both ends; for an M.2 drive, remove and refit the drive in its slot and refasten its screw. A connection that has crept loose produces exactly this error, and it produces it intermittently, which is why the crashes seem random.
- Test the memory. Press the Windows key, type Windows Memory Diagnostic, open it, and choose Restart now and check for problems. The PC restarts into the test; when it finishes and Windows loads again, the result appears as a notification, and it is also recorded in Event Viewer under Windows Logs > System with the source MemoryDiagnostics-Results. Any reported memory error means a faulty stick — test one stick at a time in a desktop to find which one.
The advanced route
- Repair system files. If the drive and memory both check out clean, open an administrator Command Prompt and run
DISM /Online /Cleanup-Image /RestoreHealth, thensfc /scannow, in that order, as Microsoft documents in Using System File Checker in Windows. Restart afterward and use the PC normally — a repair that holds through a day of ordinary use was the fix. - Let Windows manage the page file. A page file that was manually set too small, or placed on a failing second drive, can produce this error on its own. Open Settings > System > About > Advanced system settings, choose Settings under Performance, go to the Advanced tab, and choose Change under Virtual memory. Tick Automatically manage paging file size for all drives, confirm out, and restart.
- Update the storage driver and firmware. For a PC whose crashes began after a Windows update, check the PC or drive maker's support page for a newer storage controller driver or SSD firmware for your exact model. Install it, restart, and put the PC through the workload that used to crash it — a large copy or install — before calling it fixed.
End state
- The PC runs for days of normal use, including large copies and installs, with no KERNEL_DATA_INPAGE_ERROR.
- The disk check completed and either repaired what it found or reported no errors.
- The memory diagnostic reported no errors, or the faulty stick has been replaced.
- Your backup is current — made before the repairs, not after.
When it goes wrong
- The disk check finds errors every time you run it. A drive that keeps generating new file system errors is failing mechanically or electronically, whatever any single check says. Stop repairing, make sure your backup is complete, and replace the drive.
- The PC crashes before you can run any check. Start it in Safe Mode through Settings > System > Recovery > Advanced startup, then Troubleshoot > Advanced options > Startup Settings > Restart and choose Safe Mode, and run the disk check and backup from there. The full set of recovery routes is described in Recovery options in Windows.
- Every check passes and it still crashes. Suspect the drive cable or port on a desktop — swap the cable and move the drive to a different motherboard port — and on a laptop, suspect the drive itself even if its health estimate looks fine; intermittent read failures are how SSDs often begin to fail.
Related fixes
-
Fix a blue screen with stop code KERNEL_SECURITY_CHECK_FAILURE
Your PC blue-screens with stop code KERNEL_SECURITY_CHECK_FAILURE. A data structure the kernel relies on to check its own security was found corrupted, so Windows stopped rather than continue running on data it could not trust. The usual culprit is a faulty driver writing where it should not, failing memory, or damaged system files. Undoing the most recent change, checking drivers, and repairing system files — in that order — clears it in most cases.
-
Fix a blue screen error: read the stop code and find the cause
Capture the stop code, match it to what changed, test in Safe Mode, and check memory and disk in order.
-
Fix a blue screen with stop code PAGE_FAULT_IN_NONPAGED_AREA
This stop code means Windows tried to use a memory address that should always be present and found invalid data there. The usual causes are faulty RAM or a driver that wrote where it should not. Test the memory first if the crashes are random, and remove recent drivers first if the crashes followed an install.
-
Fix a blue screen with stop code VIDEO_SCHEDULER_INTERNAL_ERROR
This stop code means Windows' video scheduler — the part that queues work for the graphics card — caught a fatal violation, and the display driver is the first suspect by a wide margin. Update it, roll it back if the crash followed an update, or reinstall it cleanly, in that order.
Sources
- Microsoft Learn, Bug Check 0x7A KERNEL_DATA_INPAGE_ERROR — what this bug check means: a page of kernel data could not be read in from the paging file, and what its status codes point to.
- Microsoft Support, Using System File Checker in Windows — running DISM and SFC to repair missing or corrupted system files.
- Microsoft Support, Recovery options in Windows — reaching Safe Mode, System Restore, and the other recovery routes on a PC that crashes repeatedly.