Windows & BSOD · high

How to fix ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY0x000000FC

Windows & BSOD troubleshooting guide

What this error means

Windows stopped because a driver tried to run code from memory that is marked as data only (non-executable). The processor's No-Execute protection blocks this, because running code from data memory is how both buggy drivers and some attacks behave. In most cases the cause is a faulty or outdated driver, and Windows often names it on the blue screen next to "What failed". Less often, faulty RAM or malware is involved.

Updated

Applies to
Windows 11 and Windows 10
Difficulty
Intermediate
Before changes
Driver changes and memory tests restart the PC; Driver Verifier can cause repeated crashes until it is turned off

Reviewed by Matyáš Rada · Documentation checked: 2026-10-30 · Checked against Microsoft's bug check and Driver Verifier documentation; not tested on every hardware configuration.

Before you begin

Back up important files and create a restore point (search for "Create a restore point" in the Start menu). Photograph the blue screen, especially any file name shown next to "What failed". If Windows cannot start, see the startup guide.

Work through these checks

0 of 7 complete
01Find the driver named in the crash

When Windows can identify it, it prints the name of the driver that tried to run the blocked code. That name tells you which software or device to fix.

  1. Look at your photo of the blue screen for a line such as "What failed: example.sys".
  2. If you did not catch it, open Event Viewer (Win + R, eventvwr.msc), go to Windows Logs > System and look for an Error event from BugCheck at the time of the crash. It shows the stop code and where the memory dump was saved.
  3. Search the .sys file name online to find which program or device it belongs to (for example a graphics, network, audio or antivirus driver).
What to expect

You know which driver, and therefore which program or device, triggered the crash.

If it does not help

If no driver is named, or the name is a core Windows file such as ntoskrnl.exe, the real cause is hidden. Continue with steps 3 to 7.

Browse related errors
02Update, roll back or remove that driver

Most 0xFC crashes are fixed by replacing the driver that caused them.

  1. If the driver belongs to a device, download the latest driver from the device or PC manufacturer's website and install it.
  2. If the crashes started right after a driver update, open Device Manager (Win + R, devmgmt.msc), right-click the device, choose Properties > Driver > Roll Back Driver.
  3. If the driver belongs to a program, update the program or uninstall it from Settings > Apps > Installed apps.

Do not download drivers from driver-updater tools or unofficial download sites.

What to expect

The PC runs normally through the activity that used to crash it.

If it does not help

If the crash returns with the same driver name, contact that program's or device's support with the stop code and driver name.

Browse related errors
03Remove recently installed system software

Antivirus suites, anti-cheat systems, VPN clients, RGB and fan-control tools and overclocking utilities all load their own kernel drivers, and conflicts between them are a common cause of this stop code.

  1. Open Settings > Apps > Installed apps and sort by install date.
  2. Uninstall security, VPN, anti-cheat or hardware-control software installed shortly before the crashes began, one program at a time.
  3. If you use two antivirus products, keep only one. Microsoft Defender turns on automatically when third-party antivirus is removed.
What to expect

The crashes stop after a particular program is removed.

If it does not help

Reinstall the latest version of that program later, or look for an alternative. If nothing changes, continue.

Browse related errors
04Scan for malware

Malware that injects code into system memory can trigger the same No-Execute protection.

  1. Open Windows Security > Virus & threat protection > Scan options.
  2. Choose Microsoft Defender Antivirus (offline scan) and click Scan now. The PC restarts and scans before Windows loads.

Save your work first; the offline scan restarts the PC immediately.

What to expect

The scan finds no threats, or removes what it finds.

If it does not help

If threats were removed, change your important passwords from a different, clean device.

Browse related errors
05Test the memory

Faulty RAM can corrupt driver code in memory, so a healthy driver ends up running from the wrong place.

  1. Press Win + R, type mdsched.exe and choose Restart now and check for problems.
  2. If you use a memory overclock profile (XMP or EXPO), turn it off in the BIOS before testing.
  3. For a more thorough test, run MemTest86 from a USB stick for at least four passes.
What to expect

The test finishes without errors.

If it does not help

If the test reports errors, see the memory test errors guide on this site before changing anything else.

Browse related errors
06Repair Windows system files

Damaged Windows files can make a driver load incorrectly.

  1. Right-click Start and open Terminal (Admin).
  2. Run DISM /Online /Cleanup-Image /RestoreHealth and wait for it to finish.
  3. Then run sfc /scannow and restart the PC.
What to expect

SFC reports that it found no integrity violations, or that it repaired them.

If it does not help

If SFC cannot repair some files, run both commands once more after a restart.

Browse related errors
07Use Driver Verifier to catch the driver

When the crash does not name a driver, Driver Verifier stresses third-party drivers so that the faulty one crashes the system in a way that names it.

  1. Create a restore point first and make sure you can start Windows in Safe Mode.
  2. Right-click Start, open Terminal (Admin) and run verifier. Choose Create standard settings, then Automatically select unsigned drivers or Select driver names from a list, selecting only drivers not provided by Microsoft.
  3. Restart and use the PC normally. When it crashes, note the driver name on the blue screen.
  4. Turn Driver Verifier off as soon as you have the name: run verifier /reset in Terminal (Admin), or from Safe Mode if Windows no longer starts, and restart.

Driver Verifier is a developer tool. It can make Windows crash at every startup until it is reset. Never leave it running.

What to expect

A crash names the faulty driver, which you can then update or remove as in step 2.

If it does not help

If you are not comfortable with repeated crashes, skip this step and give the crash details to the PC manufacturer or a technician.

Browse related errors

Possible causes

  • A faulty, outdated or incompatible driver
  • Security, anti-cheat, VPN or hardware-monitoring software that installs its own drivers
  • Faulty RAM corrupting driver code
  • Malware tampering with system memory

Useful Windows tools

These commands open Windows tools. Review changes before applying them.

eventvwr.msc
devmgmt.msc
mdsched.exe

Sources & further reading