A driver used memory it should not have
A driver tried to use an invalid memory address at a moment when the system does not allow it. It is almost always a faulty or incompatible driver; sometimes, failing RAM.
Why it happens
- A faulty or outdated driver (network, Wi-Fi, graphics, antivirus).
- Failing RAM, or RAM made unstable by an overclock or XMP profile.
- A Windows or driver update that was left half installed.
How to fix it
- Check whether the blue screen says «What failed:» followed by a file ending in .sys: that is the driver that caused the error. Search for that name to find out which device it belongs to (for example, nvlddmkm.sys is the NVIDIA graphics driver) and update or reinstall that driver.
- Think about what changed right before it started: a program, a driver, an update or a new part. Uninstall or remove it and try again.
- Update the graphics, chipset, network and storage drivers from the support page of your PC or laptop maker. If the problem started after updating one, roll it back: Device Manager › right-click the device › Properties › Driver › Roll Back Driver.
- If you use an antivirus other than Windows Security, uninstall it with its maker's removal tool and run a few days with Windows Security only.
- Test the RAM: press Windows + R, type
mdschedand choose «Restart now and check for problems». If you have two sticks, also try with one at a time. - If you raised the speed of the CPU, graphics card or RAM (overclock, XMP or EXPO profiles, undervolt), go back to the default values in the BIOS or in the program you used.
- Install pending updates in Settings › Windows Update (including optional driver updates) and restart.
Still happening? If the memory test shows errors, replace the faulty RAM stick.
Meaning based on Microsoft's official documentation. The steps are general guidance: if you are not sure, ask a technician for help.