Blue Screen of Death MEMORY_MANAGEMENT (Stop Code 0x0000001A): Complete Fix Guide
Fix the MEMORY_MANAGEMENT blue screen of death on Windows 10/11. Step-by-step diagnostic commands, MemTest86, SFC, DISM, and driver fixes included.
- Root cause 1: Faulty or failing RAM modules causing memory read/write errors, manifesting as Stop Code 0x0000001A (MEMORY_MANAGEMENT).
- Root cause 2: Corrupt or outdated device drivers (especially GPU drivers like nvlddmkm.sys or athrx.sys) writing to protected memory regions.
- Root cause 3: Windows system file corruption after a failed update or malware attack, triggering kernel-level memory violations.
- Quick fix summary: Run Windows Memory Diagnostic or MemTest86 to confirm RAM issues, update or roll back GPU/network drivers, run SFC and DISM scans to repair system files, and reseat RAM sticks if hardware errors are confirmed.
| Method | When to Use | Time | Risk |
|---|---|---|---|
| Windows Memory Diagnostic | First step to confirm RAM errors without extra tools | 10-20 min | None |
| MemTest86 (bootable USB) | Comprehensive RAM testing when WMD gives inconclusive results | 2-8 hours | None |
| SFC /scannow | System file corruption after a Windows update or malware | 5-15 min | None |
| DISM RestoreHealth | When SFC finds errors it cannot repair automatically | 15-30 min | None |
| Driver rollback / update | BSOD tied to specific driver (nvlddmkm.sys, athrx.sys) | 10-20 min | Low |
| Reseat / replace RAM | MemTest86 reports errors on specific slots or sticks | 15-30 min | Medium (hardware) |
| Clean Windows reinstall | All software fixes exhausted, BSODs persist constantly | 1-3 hours | High (data loss risk) |
Understanding the MEMORY_MANAGEMENT Blue Screen of Death
The MEMORY_MANAGEMENT stop code (0x0000001A) is one of Windows' most serious kernel-level errors. It signals that the memory manager detected a catastrophic, unrecoverable failure in its internal data structures. Unlike softer errors, this one halts the entire OS to prevent data corruption.
The full error string you will see on screen reads:
Your PC ran into a problem and needs to restart.
Stop Code: MEMORY_MANAGEMENT
On older Windows versions you may see the hexadecimal stop code 0x0000001A accompanied by four parameters that pinpoint the sub-type of memory failure (e.g., 0x41790 = invalid PFN, 0x41201 = page table corruption).
Who Gets This Error?
This BSOD affects Windows 10 and Windows 11 desktops and laptops from any manufacturer — Dell, HP, Lenovo, Samsung, Surface, and Toshiba included. It is strictly a Windows kernel error and is unrelated to "blue screens" on Android phones, Nintendo Switch, Samsung TVs, or Roku devices (those are firmware/display issues with different causes).
Step 1: Capture the Crash Dump and Identify the Culprit
Before touching hardware, read the minidump to identify which driver or process triggered the crash.
Using Event Viewer:
- Press
Win + R, typeeventvwr.msc, and press Enter. - Navigate to Windows Logs > System.
- Filter by Event ID 1001 (BugCheck) or 41 (KernelPower unexpected shutdown).
- The "BugcheckCode" field will show the hex stop code and parameters.
Using WinDbg (advanced):
Open a minidump from C:\Windows\Minidump\ with WinDbg and run:
!analyze -v
Look for the MODULE_NAME and IMAGE_NAME fields — these identify the faulting driver (e.g., nvlddmkm.sys for NVIDIA, athrx.sys for Qualcomm Atheros Wi-Fi).
Step 2: Test Your RAM with Windows Memory Diagnostic
The fastest built-in tool is Windows Memory Diagnostic (mdsched.exe).
- Press
Win + R, typemdsched.exe, and press Enter. - Choose Restart now and check for problems.
- The tool runs on reboot and displays results. After Windows restarts, open Event Viewer > Windows Logs > System and search for source MemoryDiagnostics-Results.
If the tool reports errors, proceed to MemTest86 for confirmation.
MemTest86 (recommended for thorough testing):
- Download MemTest86 from the official site (memtest86.com) and write it to a USB drive using the provided image tool.
- Boot from the USB (change boot order in BIOS/UEFI).
- Run at least two full passes (each pass tests all RAM cells). Errors on any pass confirm faulty RAM.
- Note which slot shows errors, then reseat or replace that module.
Step 3: Repair System Files with SFC and DISM
Even with good RAM, corrupt Windows system files — often caused by a bad update (blue screen of death after Windows update) or incomplete upgrade — can trigger MEMORY_MANAGEMENT crashes.
Run SFC first: Open Command Prompt as Administrator and run:
sfc /scannow
SFC will scan all protected system files and replace corrupted versions from the Windows component store. After it completes, reboot and monitor for BSODs.
If SFC reports "could not perform the requested operation" or found unfixable errors, run DISM:
DISM /Online /Cleanup-Image /RestoreHealth
This downloads fresh copies of corrupted components from Windows Update servers. Run SFC again after DISM completes.
Step 4: Update or Roll Back Drivers
Driver-induced MEMORY_MANAGEMENT crashes are extremely common. The two most frequent offenders are:
- nvlddmkm.sys — NVIDIA display driver (also causes VIDEO_TDR_FAILURE)
- athrx.sys — Qualcomm Atheros Wi-Fi driver
To roll back a driver:
- Press
Win + X> Device Manager. - Expand Display Adapters (or Network Adapters).
- Right-click the device > Properties > Driver tab > Roll Back Driver.
To update a driver cleanly (GPU example):
- Download the latest driver from nvidia.com or amd.com.
- Use DDU (Display Driver Uninstaller) in Safe Mode to fully remove the old driver before installing the new one — this prevents residual corrupt driver files.
Checking driver verifier (advanced):
Run verifier from an elevated Command Prompt to enable Driver Verifier, which stress-tests all non-Microsoft drivers and forces a BSOD with specific culprit info if a driver misbehaves.
Step 5: Check RAM Hardware — Reseat and Test Individual Sticks
If MemTest86 confirms errors:
- Power off and unplug the PC.
- Open the case and firmly reseat each RAM stick (remove, clean the gold contacts with an eraser, reinsert).
- If you have multiple sticks, test each one individually by running MemTest86 with only one stick installed at a time.
- Identify the faulty stick and replace it with a compatible replacement (match speed, CAS latency, and voltage).
Step 6: Check Virtual Memory / Page File Settings
Incorrect pagefile configuration can contribute to memory management failures.
- Press
Win + Pause> Advanced system settings > Advanced tab > Performance Settings > Advanced > Virtual Memory Change. - Select Automatically manage paging file size for all drives and click OK.
- Reboot.
Step 7: Blue Screen After Windows Update — Rollback
If the BSOD appeared immediately after a Windows Update:
- Boot into Safe Mode (hold Shift while clicking Restart > Troubleshoot > Advanced Options > Startup Settings > Safe Mode with Networking).
- Go to Settings > Windows Update > Update History > Uninstall Updates.
- Remove the most recent Cumulative Update.
- Use
wusa /uninstall /kb:XXXXXXXvia Command Prompt for targeted removal (replace XXXXXXX with the KB number).
Step 8: Last Resort — Startup Repair and Reinstall
For persistent MEMORY_MANAGEMENT loops that prevent booting:
- Boot from a Windows USB installation media.
- Select Repair your computer > Troubleshoot > Advanced Options > Startup Repair.
- If Startup Repair fails, use Automatic Repair or perform a Reset this PC (keeping files if possible).
- As an absolute last resort, perform a clean reinstall of Windows — back up data first using a Linux live USB if Windows will not boot.
BSOD on Non-Windows Devices: Quick Notes
- Android / Samsung / Motorola phone "blue screen": Usually a bootloader crash or firmware bug. Boot into Recovery Mode and perform a cache wipe or factory reset.
- Nintendo Switch / Switch Lite blue screen: Typically a failed system update or corrupted SD card. Hold Power for 12 seconds to force shutdown, remove the SD card, and reboot. Reformat the SD card as FAT32 if errors persist.
- Samsung / Sony Bravia / LG / Vizio / Sharp TV blue screen: Almost always a firmware update failure or HDMI signal issue. Power cycle the TV, reset to factory settings, or reflash firmware via USB.
- iPad blue screen: DFU mode restore via iTunes/Finder is the standard fix.
- PS4 blue screen (CE-34878-0 / SU-41350-3): Rebuild the PS4 database in Safe Mode.
- Ender 3 / Ender 3 Pro blue screen: The LCD screen firmware has crashed. Re-flash the printer firmware via SD card using the latest Marlin build from Creality's GitHub.
Repair Costs
If DIY fixes fail, professional repair costs vary:
- RAM replacement: $30–$120 for parts + $50–$100 labor at a repair shop.
- Windows reinstall service: $80–$150 at most computer repair shops.
- Motherboard replacement (if RAM slots are damaged): $150–$400+.
- Free options: Microsoft Support, manufacturer warranty if under coverage.
Frequently Asked Questions
# ============================================================
# MEMORY_MANAGEMENT BSOD Diagnostic & Fix Script
# Run in PowerShell as Administrator
# ============================================================
# --- 1. Check for recent BSODs in Event Log ---
Write-Host "=== Recent BSOD Events ==="
Get-WinEvent -LogName System | Where-Object { $_.Id -eq 1001 -and $_.Message -like '*BugCheck*' } | Select-Object -First 10 TimeCreated, Message | Format-List
# --- 2. List minidump files ---
Write-Host "`n=== Minidump Files ==="
Get-ChildItem -Path "C:\Windows\Minidump" -Filter "*.dmp" | Sort-Object LastWriteTime -Descending | Select-Object Name, LastWriteTime, Length
# --- 3. Run System File Checker ---
Write-Host "`n=== Running SFC Scan ==="
sfc /scannow
# --- 4. Run DISM Health Restore ---
Write-Host "`n=== Running DISM RestoreHealth ==="
DISM /Online /Cleanup-Image /RestoreHealth
# --- 5. Schedule Windows Memory Diagnostic on next reboot ---
Write-Host "`n=== Scheduling Memory Diagnostic ==="
# Uncomment the next line to auto-schedule:
# mdsched.exe
# --- 6. Check RAM details ---
Write-Host "`n=== Installed RAM Modules ==="
Get-WmiObject Win32_PhysicalMemory | Select-Object Tag, Manufacturer, Capacity, Speed, MemoryType, FormFactor | Format-Table -AutoSize
# --- 7. Check for driver errors in Event Log ---
Write-Host "`n=== Driver Errors (Last 24h) ==="
$since = (Get-Date).AddHours(-24)
Get-WinEvent -LogName System | Where-Object { $_.LevelDisplayName -eq 'Error' -and $_.TimeCreated -gt $since } | Select-Object -First 20 TimeCreated, ProviderName, Message | Format-List
# --- 8. List recently installed drivers ---
Write-Host "`n=== Recently Installed/Updated Drivers ==="
Get-WmiObject Win32_PnPSignedDriver | Where-Object { $_.DriverDate -gt (Get-Date).AddDays(-30) } | Select-Object DeviceName, DriverVersion, DriverDate, InfName | Format-Table -AutoSize
# --- 9. Check virtual memory / page file config ---
Write-Host "`n=== Page File Configuration ==="
Get-WmiObject Win32_PageFileSetting | Select-Object Name, InitialSize, MaximumSize | Format-Table -AutoSize
# --- 10. Export summary to desktop ---
$report = @{
Timestamp = Get-Date
OS = (Get-WmiObject Win32_OperatingSystem).Caption
RAM_GB = [math]::Round((Get-WmiObject Win32_ComputerSystem).TotalPhysicalMemory / 1GB, 2)
Uptime = (Get-Date) - (Get-WmiObject Win32_OperatingSystem).LastBootUpTime.ToLocalTime()
}
$reportPath = "$env:USERPROFILE\Desktop\BSOD_Report_$(Get-Date -Format 'yyyyMMdd_HHmmss').txt"
$report | Out-File -FilePath $reportPath
Write-Host "`nReport saved to: $reportPath"
# --- Manual follow-up commands (run individually as needed) ---
# Check disk health: chkdsk C: /f /r /x
# Disable Driver Verifier: verifier /reset
# Enable Driver Verifier: verifier /standard /all
# Uninstall Windows Update: wusa /uninstall /kb:5034441 /quiet
# Boot into Safe Mode: bcdedit /set {current} safeboot minimal
# Remove Safe Mode flag: bcdedit /deletevalue {current} safeboot
# View stop code in WinDbg: !analyze -v (run inside WinDbg with minidump loaded)Error Medic Editorial
The Error Medic Editorial team is composed of senior DevOps engineers, Windows kernel specialists, and SRE professionals with over 15 years of combined experience diagnosing system-level failures across enterprise and consumer environments. We specialize in translating cryptic stop codes and crash dumps into actionable, jargon-free troubleshooting guides. Every fix we publish is tested on real hardware running Windows 10 and Windows 11.
Sources
- https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-0x1a--memory-management
- https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/sfc
- https://support.microsoft.com/en-us/windows/using-system-file-checker-in-windows-365e0031-36b1-6031-f804-8fd86e0ef4ca
- https://learn.microsoft.com/en-us/windows-hardware/drivers/devtest/driver-verifier
- https://stackoverflow.com/questions/tagged/bsod
- https://github.com/MicrosoftDocs/windows-driver-docs/issues