The “The instruction at 0x000… referenced memory at 0x0000000000000014. The memory could not be written” error can appear in several situations, such as when shutting down a Windows PC without closing all applications, opening web browsers, launching a graphics-intensive program, or even during gameplay.
While it usually shows up when your device is running low on memory resources, it can also occur due to outdated graphics drivers, corrupted system files, a temporary memory glitch, corrupted files, improperly configured graphics software, interference from third-party services, or technical issues with your hardware.
Here are a few solutions to fix this annoying problem.
1. Properly Close Your Apps Before Shutting Down Your Computer
If you encounter the “memory could not be written error” when shutting down your PC, check if you still have open apps. If this is the case, close all apps first before turning off your computer. Doing so could help you avoid this error and stop it from recurring.
Should you get this error randomly while you’re using your computer, you should restart it. If it doesn’t recur after turning on your PC again, then it confirms that the problem might have only been a temporary hiccup.
2. Repair Corrupt System Files
If you’re still encountering the error, ensure it isn’t caused by corrupted or missing system files. The best way to do this is by running an SFC scan. SFC checks the integrity of your system—it repairs corrupted files and rebuilds missing ones. It often resolves most issues on Windows PCs.
In most cases, SFC scans complete successfully and notifies users that no issues with system files were detected or that corrupted files have been automatically repaired. Occasionally, it directs users to repair corrupt files themselves. Be sure to read the scan results carefully and take any requested action.
3. Perform a Clean Boot to Disable Third-Party Services
Another solution suggested by users in the Microsoft Community thread is to perform a clean boot. Technically, performing a clean boot means starting Windows with minimal drivers and without third-party apps and services. This technique helps identify whether a conflict from another app is responsible for the issue.
It’s easy to clean boot your PC. If you’re unfamiliar with it, refer to our guide on performing a clean boot on Windows 11 or Windows 10 .