← Windows boot error index

Fix PAGE_FAULT_IN_NONPAGED_AREA on Windows 10/11 (Exact Steps)

The fast answer. PAGE_FAULT_IN_NONPAGED_AREA (stop code 0x00000050) means a kernel driver or Windows itself referenced system memory that doesn't exist or was already freed. Microsoft lists faulty drivers, antivirus software, a corrupted NTFS volume, and defective RAM as the causes. Start with the blue screen itself: if a What failed: line names a .sys file, that driver is your lead — update it, roll it back, or uninstall it. If no driver is named, test the memory with the built-in Windows Memory Diagnostic (press Win+R):
mdsched.exe
Then check the disk from an admin Command Prompt and type Y to schedule the scan at the next restart:
chkdsk C: /f /r
No command repairs a bad RAM stick. If the memory test fails, replace the module.

Why this happens

Step-by-step fix

Step 1 — Read the driver name on the blue screen

The crash screen shows the stop code and, when Windows can identify it, a What failed: line with a .sys file name. Write it down. Microsoft's guidance for this stop code is direct: if a driver is identified, get an update from the manufacturer; if none is available, disable that driver and watch for stability. A graphics file such as nvlddmkm.sys (NVIDIA) points to the display driver. If you see ntfs.sys or no name at all, treat disk and RAM as the suspects and move to Step 2.

Step 2 — Undo recent changes and test the RAM

If you added hardware or installed a new program or driver just before the crashes began, remove it first. Then run the Windows Memory Diagnostic:

mdsched.exe

Choose Restart now and check for problems. After the reboot, Microsoft says to read the result in Event Viewer → Windows Logs → System under the MemoryDiagnostics-Results entry. For a deeper test, boot MemTest86 from a USB stick and let it run several passes. If you have more than one module, test them one at a time. Any error means replace that stick. If memory settings were overclocked or an XMP/EXPO profile is on, load BIOS defaults before testing.

Step 3 — Update, roll back, or disable the faulting driver

Open Device Manager:

devmgmt.msc

Find the device that owns the driver from Step 1 (graphics card, network adapter, storage controller), right-click it, and choose Update driver. If the crashes started after a driver update, choose Properties → Driver → Roll Back Driver instead. If no update or rollback exists, Disable device and see whether the crashes stop. If the driver belongs to antivirus, backup, or tuning software, uninstall that program from Settings → Apps and test; Microsoft's own advice is to disable the antivirus to confirm and then ask its vendor for an update.

If Windows crashes before you reach the desktop, do this from Safe Mode: force three failed boots to trigger Automatic Repair, then Troubleshoot → Advanced options → Startup Settings → Restart, and press 4 for Safe Mode or 5 for Safe Mode with Networking. If the crashes began right after a Windows Update, Advanced options → Uninstall Updates → Uninstall latest quality update reverses it.

Step 4 — Check the disk for file-system damage

Microsoft's fix for the corrupted-NTFS case is a full disk check. From an admin Command Prompt:

chkdsk C: /f /r

/f fixes file-system errors and /r also locates bad sectors and recovers readable data. On the system drive, chkdsk can't lock the volume, so type Y to schedule it at the next restart. It reads every sector and takes a long time on large drives. Before you run it, check what Windows reports for the drive from an admin PowerShell:

Get-PhysicalDisk

Anything other than Healthy means back up and replace the drive rather than stress it with a repair. Run the drive maker's own diagnostic tool as well; Microsoft recommends it for this stop code.

Step 5 — Repair Windows system files

From an admin Command Prompt, run these in order:

DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

DISM repairs the component store that SFC draws from, so run it first. These fix damaged Windows files only. They don't repair RAM, a third-party driver, or a failing disk.

Step 6 — Read the crash dump

If no driver was named on screen, the dump usually names one. Open Event Viewer → Windows Logs → System and find the BugCheck entry (Event ID 1001). It lists 0x00000050 and four parameters: the first is the bad address, the second is 0 for a read or 2 for a write on current 64-bit Windows, and the third is the address of the code that made the reference. For a driver name, copy the newest .dmp file from C:\Windows\Minidump, open it in Microsoft's free WinDbg, and run:

!analyze -v

Check the MODULE_NAME and IMAGE_NAME lines. A third-party .sys file there is the driver to update or remove. If it only names ntoskrnl.exe, the fault is more likely hardware, and the RAM and disk results from Steps 2 and 4 carry more weight.

Step 7 — Use Driver Verifier to catch the driver (advanced)

If RAM and disk test clean and the dumps don't name a culprit, create a restore point, then verify suspect third-party drivers by file name from an admin Command Prompt:

verifier /standard /driver NAME.sys

Reboot and use the PC until it crashes. The next dump should name the driver. Microsoft warns that Verifier uses a lot of CPU, causes extra crashes, and shouldn't be run against all drivers at once. When you're done, or if the PC won't reach the desktop, start Safe Mode (Verifier doesn't run there) and turn it off:

verifier /reset
Data safety: This stop code can mean bad RAM or a corrupted volume, and both corrupt files as they're written. Back up your important files now, while Windows still boots, before you run anything else. If Get-PhysicalDisk or the vendor diagnostic shows the drive is unhealthy, image it to a known-good external disk before chkdsk /r, because a full sector scan can push a dying drive over the edge. Don't run Driver Verifier without a restore point and a backup, and never run repairs on the only copy of irreplaceable data.
GRAM tip: PAGE_FAULT_IN_NONPAGED_AREA usually leaves Windows bootable between crashes, so GRAM applies directly. Plug in GRAM — a free portable repair toolkit that runs from a USB inside Windows — to pull the BugCheck history and the faulting driver name from the crash dumps and event logs, check SMART disk health, and run a security sweep for kernel-level software you forgot was installed. Then let its built-in AI repair agent help you decide whether a driver, RAM, or the disk is the cause.
Download GRAM free See AI pricing →

FAQ

Can I fix this without a second working computer?

Yes. Most of these steps run inside Windows, which usually still boots between crashes. If it crashes before the desktop, Windows Recovery (WinRE) lives on the broken PC itself — force three failed boots to trigger Automatic Repair, or boot from any Windows install USB — and from there you can start Safe Mode, uninstall the latest update, or open a Command Prompt for chkdsk. The Windows Memory Diagnostic is built in. You'd only need another PC to make a MemTest86 or install USB. (GRAM runs inside Windows rather than from boot media — use it once the machine boots to check disk health and confirm the root cause.)

Does PAGE_FAULT_IN_NONPAGED_AREA mean my RAM is bad?

Not usually. Microsoft's own crash data puts most stop errors on third-party drivers, and this one is more often a driver, antivirus filter, or disk problem than a bad stick. RAM is still the first hardware suspect, so test it early. Only replace a module that fails a memory test.

The blue screen names a .sys file. What do I do with it?

Search the file name to find which product it belongs to, then update, roll back, or uninstall that product. Graphics driver files point to the GPU driver, and files from antivirus, backup, or VPN software point to that program. Microsoft's guidance is to get a vendor update first and, if none exists, disable the driver and monitor the system.

Will chkdsk /r or sfc erase my files?

No. chkdsk /f /r repairs file-system structures and recovers readable data from bad sectors; it can move damaged fragments to FOUND.000 folders but doesn't wipe the drive. sfc and DISM replace Windows system files only. The real risk is running a full sector scan on a drive that's already failing, which is why you back up or image first.

Related: MEMORY_MANAGEMENT (0x1A) · KERNEL_DATA_INPAGE_ERROR (0x7A) · All Windows boot error codes