A driver accessed invalid memory
A driver tried to read or write memory it could not access at that moment. The screen usually names the .sys file that failed: that is the driver to update or reinstall.
Why it happens
- Network or Wi-Fi drivers (for example, files starting with Netwtw, rtw or ndis.sys).
- Outdated graphics, audio or storage drivers.
- Security, VPN or virtualization programs that install their own drivers.
- Less often, failing RAM.
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.
- 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.
- 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.
- 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.
Meaning based on Microsoft's official documentation. The steps are general guidance: if you are not sure, ask a technician for help.