ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY (stop code 0xFC) is Windows’ Data Execution Prevention catching something red-handed. Modern CPUs mark regions of memory as either “code goes here” or “data goes here, never run it.” When something tries to execute data — whether it’s a confused driver jumping to a garbage address or actual exploit code — DEP kills the process, or in this case the whole system, on the spot.
The name is a mouthful, but the investigation is straightforward: it’s a driver bug until proven otherwise, with malware and bad RAM as the backup suspects. Here’s the order that finds the answer fastest.
Why this happens
- A driver jumps to an invalid address. Corrupted function pointers in buggy drivers send execution into data regions — the classic 0xFC cause.
- Outdated or mismatched drivers. Old drivers on new Windows 11 builds (especially 24H2) hit changed memory layouts and crash.
- Malware or exploit attempts. DEP exists to stop exactly this; a genuine attack triggers the same stop code as a driver bug.
- Faulty RAM. Bad memory corrupts pointers, redirecting execution to non-executable pages randomly.
- Corrupted system files. Damage to kernel or driver files changes code paths in ways that trip DEP.
- Incompatible antivirus or virtualization drivers. Kernel hooks from security and VM software operate at the exact level where DEP violations occur.
How to fix it
Work through these in order — start with Fix 1 and stop when the crashes stop.
Fix 1: Scan for malware with Defender Offline
Because this stop code can indicate an exploit attempt, check this first.
- Open Windows Security > Virus & threat protection > Scan options.
- Select Microsoft Defender Offline scan and click Scan now.
- The system reboots into a clean environment and scans before Windows loads.
- Remove anything found and restart.
- If the scan is clean, move on — drivers are now your prime suspect.
Fix 2: Update or roll back recently changed drivers
Driver bugs cause the majority of 0xFC crashes.
- Think about what changed before crashes started — a driver update, Windows Update, or new hardware.
- Open Device Manager, find recently updated devices, open Properties > Driver, and use Roll Back Driver where available.
- For the GPU, do a clean reinstall from NVIDIA or AMD .
- Update chipset and network drivers from your laptop manufacturer’s support page.
- Restart and test under the conditions that used to crash.
If the blue screen names a specific .sys file, prioritize that driver. Brand-specific variants of this crash are covered in our ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY on ASUS guide
.
Fix 3: Verify DEP is configured correctly
Make sure DEP itself hasn’t been misconfigured.
- Press Windows + R, type
sysdm.cpl, and press Enter. - Go to Advanced > Performance > Settings > Data Execution Prevention.
- Ensure Turn on DEP for essential Windows programs and services only is selected (the default).
- If it was set to cover all programs and you’re crashing in a specific app, that app may be incompatible — but don’t blanket-disable DEP.
- Click OK and restart.
Never select “Turn off DEP” equivalents via bcdedit (nx AlwaysOff) as a fix — it masks the symptom while removing exploit protection. For the broader update-related variant, see ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY after a Windows 11 update
.
Fix 4: Run SFC, DISM, and a memory test
Cover corrupted files and bad RAM together.
- Open Terminal (Admin) and run
DISM /Online /Cleanup-Image /RestoreHealth. - Then run
sfc /scannowand restart. - Press Windows + R, type
mdsched.exe, and run the memory diagnostic. - Check results in Event Viewer > Windows Logs > System under MemoryDiagnostics-Results.
- If crashes blame different drivers each time and memory shows errors, replace the faulty RAM — random 0xFC crashes are a textbook bad-memory symptom.
Fix 5: Remove problematic security and virtualization software
Kernel-hooking software operates where DEP violations happen.
- Uninstall third-party antivirus temporarily via Settings > Apps > Installed apps, testing on Microsoft Defender.
- If you run VirtualBox, VMware, or similar, update them to the latest version — old virtualization drivers are known 0xFC triggers on Windows 11 24H2.
- Disable Memory integrity temporarily to test (Windows Security > Device security > Core isolation) — if crashes stop, a driver is incompatible with HVCI and needs updating, not permanent disabling.
- Re-enable Memory integrity after identifying the culprit.
- Update or replace the incompatible software rather than leaving protection off.
Fix 6: Check for Windows 11 24H2-specific issues
Some 0xFC clusters are build-specific.
- Open Settings > System > About and note your OS build.
- Check Settings > Windows Update and install all pending updates — Microsoft has shipped fixes for DEP-related crashes in cumulative updates.
- If a specific update coincides with the crashes, check the Microsoft Update Catalog for a newer revision or a known-issue workaround.
- As a last resort, an in-place upgrade from the Windows 11 download page refreshes all system components.
- Document the stop code and build number — if it’s a genuine Microsoft bug, the Feedback Hub report helps get it fixed.
Closing
ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY looks exotic, but it’s usually just a driver that lost its way in memory — with malware and bad RAM as the less common alternatives. Scan first (because DEP violations deserve that respect), then work the driver angle, and don’t be tempted to disable DEP to make the crashes stop. The protection is doing its job; your task is to find what’s tripping it.
If you’ve worked through all six fixes and still crash, capture the exact stop code parameters from the blue screen (the four hex values in parentheses) and note which driver the dump blames — that detail is what separates a ten-minute driver fix from a deeper hardware investigation. Either way, resist the urge to “fix” it by weakening Windows’ memory protections; a system that crashes is telling you something, and a system with DEP disabled just stays silent while the real problem gets worse.
