Independent guides. Not affiliated with Microsoft. We never ask you to call, pay, or let anyone connect to your PC.

How we work
Fixpath

Error codeBlue screens

PAGE_FAULT_IN_NONPAGED_AREA blue screen

PAGE_FAULT_IN_NONPAGED_AREA0x00000050

Applies to
Windows 11 and Windows 10
Difficulty
Moderate
Time
About 75 min
Risk
Can remove data
Reviewed

Quick answer

Windows tried to read memory that should always be available and found nothing valid there. Undo recent driver or hardware changes, test your RAM with Windows Memory Diagnostic, then check your drive with chkdsk.

What this code means

PAGE_FAULT_IN_NONPAGED_AREA (stop code 0x00000050) means Windows or a driver asked for data at a memory address that was invalid or had already been freed. The "nonpaged area" is the part of memory Windows keeps in RAM at all times and never moves out to the drive. When data that should be there isn't, Windows can't recover, so it stops.

Microsoft lists a faulty driver or system service, antivirus software, a damaged file system on the drive, and failing hardware (most often RAM) as the causes. If the crash screen names a driver file, that driver is the first suspect.

Common causes

  • A faulty, outdated or newly updated driver or system service.
  • Third-party antivirus software.
  • A damaged NTFS file system (the way Windows organizes files on the drive).
  • Faulty or newly installed hardware, especially RAM, including the memory on a graphics card.

Fix 1Undo recent hardware and driver changes

This crash often starts right after a change. Microsoft's advice is to remove recently added hardware and look at any driver named on the crash screen. Reversing a change doesn't affect your files.

  1. Note any file name on the crash screen, usually ending in .sys (on many PCs it follows What failed). Searching the name tells you which device or app it belongs to.
  2. If you added hardware, such as new RAM, just before the crashes started, shut down, remove it and restart.
  3. If a driver was updated recently, right-click Start and open Device Manager (the list of every part Windows knows about). Right-click the device, select Properties, open the Driver tab and select Roll Back Driver.
  4. If you installed or updated an app just before the crashes began, remove it from Settings then Apps then Installed apps (on Windows 10, Settings then Apps then Apps & features), then reinstall a fresh copy if you still need it.

Fixed? You can stop here. Still happening: go to Fix 2

Fix 2Install Windows and driver updates

If a driver is at fault, a newer version from Windows Update or the device maker often has the fix. Some driver updates only appear under optional updates.

  1. Open Settings then Windows Update and select Check for updates (on Windows 10, Settings then Update & Security then Windows Update). Install everything offered.
  2. Go to Settings then Windows Update then Advanced options then Optional updates and install any driver updates. On Windows 10, select View optional updates.
  3. Restart. If the crash screen named a driver that Windows Update didn't update, check your PC maker's or the device maker's support site for a newer version.

Fixed? You can stop here. Still happening: go to Fix 3

Fix 3Temporarily remove third-party antivirus

Microsoft names antivirus software as a known cause of this code, because it runs drivers deep inside Windows. Removing it for a while is a safe test: Windows Security, which is built in, turns itself back on once no other antivirus is installed.

  1. Open Settings then Apps then Installed apps and find your antivirus app.
  2. Select the ... menu next to it and select Uninstall (on Windows 10, select the app, then Uninstall). Follow the prompts and restart.
  3. Use the PC normally for a day or two. If the crashes stop, install the latest version from the maker's website or stay with Windows Security.

Fixed? You can stop here. Still happening: go to Fix 4

Fix 4Test your memory

Failing RAM is one of the main hardware causes Microsoft lists for this code. Windows Memory Diagnostic tests the RAM before Windows loads, so nothing else is using it during the test.

  1. Save your work and close your apps.
  2. Press Windows + R, type the command below and press Enter.
    Run box
    mdsched.exe
    How do I open the Run box?

    Press Windows + R, type or paste the text, then press Enter.

  3. Select Restart now and check for problems (recommended). The test runs automatically and Windows restarts afterward.
  4. After you sign in, a notification shows the result. You can also open Event Viewer, go to Windows Logs then System, and look for entries from MemoryDiagnostics-Results. If the test reports a hardware problem, the memory needs attention from your PC maker or a local repair shop.

Fixed? You can stop here. Still happening: go to Fix 5

Fix 5Check the drive and repair system files

A damaged file system can hand Windows bad data, which Microsoft lists as a cause of this code. Its suggested repair is chkdsk /f /r, which fixes file system errors and looks for bad areas on the drive. System File Checker then replaces any damaged Windows files.

  1. Select Start, type cmd, right-click Command Prompt and select Run as administrator.
  2. Schedule a full check of drive C:. Windows can't check the drive it's running from, so it asks to do it at the next restart: type Y and press Enter.
    Command Prompt as administrator
    chkdsk C: /f /r
    How do I open Command Prompt as administrator?

    Select Start and type cmd. Right-click Command Prompt, select Run as administrator, then select Yes.

  3. Restart the PC and let the check finish. On a large hard drive it can take an hour or more, so don't turn the PC off.
  4. After Windows starts, open Command Prompt as administrator again and check the system files:
    Command Prompt as administrator
    sfc /scannow
    "Windows Resource Protection did not find any integrity violations" or "found corrupt files and successfully repaired them" are both good results.

Fixed? You can stop here. Still happening: go to Fix 6

Fix 6If it crashes during startup

If Windows won't stay up long enough for these fixes, the recovery screen lets you start in Safe Mode, which loads only basic drivers, or go back to a restore point without starting Windows normally.

  1. Turn the PC on and hold the power button for about 10 seconds as soon as the logo appears. Do this twice; on the third start, Windows should show the Automatic Repair screen. Select Advanced options.
  2. For Safe Mode, go to Troubleshoot then Advanced options then Startup Settings, select Restart, and press 4 or F4. Then roll back drivers or remove apps as described above.
  3. Or go to Troubleshoot then Advanced options then System Restore and pick a restore point from before the crashes. Your personal files are kept; apps and drivers installed after that point are removed.

If BitLocker asks for a recovery key, get it at account.microsoft.com/devices/recoverykey. See what to do after a blue screen for more.

Fixed? You can stop here. Still happening: what to do next

If none of these worked

Stop here rather than trying riskier changes. These are the right places to go next:

Never call a phone number shown in a pop-up, or let someone you don't know connect to your PC. Microsoft doesn't put phone numbers in error messages. How to spot a tech-support scam

Sources and review

Checked against Microsoft's own documentation:

Last reviewed . Spotted a step that doesn't match your screen? Tell us and we'll check it.