,
If you receive the application error message “The instruction at 0x00007FF******** referenced memory at 0x00000000000000024. The memory could not be written” when Windows starts or shuts down, continue reading below to learn how to fix the problem.
The Application errors “The instruction at 0x0000***** referenced memory at 0x0000******24. The memory could not be read or written”, occurs when a program cannot access a memory location to read/write information in it (Access Violation Error ).
What can cause the “The memory could not be read/written” error?
The mentioned error can appear for various reasons, but the most common ones are the following:
- Culprit Service(s)
- Faulty Memory
- Faulty Software
- Faulty Drivers
- Corrupted System files
- Malware
In this tutorial you’ll find step by step instructions to solve the “memory could not memory written” application error in Windows 10/11.
- The instruction at 0x00007FFBEE743ACA referenced memory at 0x00000000000000024 the memory could not be written. The memory could not be written. Click OK to terminate the program
- The Instruction at 0x00007FFBCEAC3ACA referenced memory at 0x0000000000000024. The memory could not be written. Click OK to terminate the program.
- The Instruction at 0x00007FFDED523FAA reference memory at 0x0000000000000024. The memory could not be written. Click OK to terminate the program.
How to fix Application error “The memory could not be read/written at 0x00000000000000024” on Windows 10/11. *
* Important: If the error occurred after installing Windows updates, proceed to uninstall the latest updates before proceeding further.
- Disable GameInput service.
- Disable Third-party Programs & Services.
- Check for Malware/Viruses.
- Increase Virtual Memory.
- Repair Windows System Files.
- Check Memory for Errors.
- Disconnect External Devices.
- Update Chipset Drivers.
- Repair Windows with in-Place Upgrade.
Method 1. Disable GameInput Service.
The “GameInput” service is a next-generation input API developed by Microsoft that allows keyboards, mice, gamepads, and other input devices to be used with it.
However, since many users have reported that the “GameInput” service is causing their systems to display the “Memory could not be written” error, go ahead and disable it and check if the problem is resolved. To do that:
1. Press the Windows + R keys to open the ‘Run‘ command box.
2. Type services.msc and press Enter to open Windows Services.
3. Locate the GameInput Service and double-click on it to open its properties.
4. Press Stop to stop the service, then set the Startup type to Disabled and click OK.
5. Finally, restart your PC and check if the problem persists.
Method 2. Disable 3rd-party Programs & Services.
The most common cause of the mentioned error is a third-party program that can’t read or write in the memory because it has bugs, corrupted files or incomplete rights.
So the first thing you should do is see if the “Memory could not be written/read” error persists after a “clean” boot of Windows, and if not identify which third-party program or service is causing the error.
Step 1. Disable Startup programs.
1. Press CTRL + SHIFT + ESC to open Task Manager.
2. In the Startup tab, disable (one by-one) all the third-party programs running at Windows Startup. Then reboot your PC.
3. After rebooting, check if the problem remains and do the following according the result:
- If the problem remains, re-enable all the disabled startup programs and proceed to Step-2.
- If the problem is fixed, reopen the Task Manager and enable one by one the disabled programs and reboot until you find the culprit. *
* Note: If you find that a third-party program is causing the error, then either keep it disabled at startup, update it, or turn off Data Execution Prevention for that program.
Step 2. Disable Third-Party Services.
1. Press the Windows + R keys to open the ‘Run‘ command box.
2. Type msconfig and press Enter to open the System Configuration utility.
3a. At Services tab, check the Hide all Microsoft services checkbox.
3b. Then press the Disable all button, to disable all the third-party services that start with Windows. When done, click OK and restart your PC.
4. After rebooting, check if the problem remains and do the following according the result:
- If the problem remains, reopen the System Configuration utility (msconfig.exe), select Normal Startup in General tab to re-enable all the disabled services, restart your computer and continue to next method.
- If the problem is fixed, reopen the System Configuration utility (msconfig.exe), go to Services tab and enable one by one the disabled services and reboot until you find the culprit service. *
* Note: If you find that a third-party service is causing the error, then either keep it disabled, or go to Windows services (services.msc), open the service’s Properties and change the Startup type to Manual.
Method 3. Check for Malware/Viruses.
Before proceeding further, ensure that your computer is clean from viruses and malware. To accomplish this task you can use this Malware Scan and Removal Guide to check and remove viruses or/and malicious programs that may be running on your computer.
After scanning and cleaning your computer for malware, check if the problem persists. If not, you’re done here, otherwise continue to next method.
Method 4. Fix Error ‘Memory could not be written” by increasing Virtual Memory.
1. In File Explorer, right click on This PC and select Properties.
2. In Related settings, click Advanced system settings.
3. At Advanced tab open the Performance Settings.
4. At Performance options, select the Advanced tab and then click Change at Virtual memory section.
5. At Virtual Memory options:
a. Uncheck the box Automatically manage paging file size for all drives.
b. Make sure the C: drive where Windows is installed is selected.
c. Select Custom size and adjust/set the initial and maximum size, depending on the size in MB* of the installed memory as instructed below:
* Note: 1GB = 1024MB.
- If you have 4 GB of RAM, multiply its total size in Megabytes (MB) x 2.5 and write the result in the initial and maximum size fields.
- If you have 8 GB of RAM, multiply its total size in Megabytes (MB) x 2 and write the result in the initial and maximum size fields.
- If you have 16 or more GB of RAM, multiply its total size in Megabytes (MB) x 1,5 and write the result in the initial and maximum size fields.
Example: If your RAM size is 4 GB (like in this example), multiply 4 x 1024 and then multiply the result “4096” x 2,5. Then write the final result “10240” in both the initial size and maximum size fields.
5. When done, hit Set.
6. Then click OK and OK again and reboot the computer to apply;y the change.
Method 5. Repair Windows System Files.
Repairing Windows system files is a common but important step in solving Windows 10/11 problems like the one mentioned here.
1. Open Command Prompt as Administrator. To do that, type “cmd” or “command prompt” in the Search and then click Run as administrator in Command Prompt result.
2. At the command prompt window, type the following command & press Enter:
- dism.exe /Online /Cleanup-Image /Restorehealth
3. Be patient until ‘Deployment Image Servicing and Management’ (DISM) tool repairs component store.
4. When the operation is completed, give the command below and press Enter:
- sfc /scannow
5. When SFC scan is completed, restart your computer.
6. After restarting check if the problem is fixed.
Method 6. Diagnose Memory (RAM) for problems.
1. Close all open programs.
2. Type “memory” in Search and then open the Windows Memory Diagnostic tool.
3. Click Restart now and check for problems (recommended)
4. Now let the memory diagnostics tools to check the Memory for problems and complete all the tests.
5. If the diagnostics complete and no problems are found you computer will boot in Windows. (If any problems found, replace your memory).
Method 7. Disconnect External Devices.
In some cases, the “memory could not be read” error is caused by a connected device (eg Bluetooth Game controller, USB Wi-Fi card, Printer, etc.). So, do the following:
1. Shutdown your PC.
2. Disconnect all the external devices that are not necessary for Windows to operate.
3. Then, turn on your PC and check if the problem persists. If yes, continue to next method. If not, do the following:
a. Connect one of the disconnected devices and restart the computer to see if it is causing the problem. If not, do the same process for each device you had disconnected before until you find out which one is causing the problem.
b. Once you find which device is causing the problem, connect it to another USB port, or if e.g. you’ve plugged it into a USB 3.0 port, plug it into a USB 2.0 port (or vice versa) and restart your PC again. If the problem is solved, you’re done here. If not:
- Check the device manufacturer’s support site to see if there is a better Device driver for your device.
- Update the Chipset drivers (See next method),
Method 8. Update Chipset Drivers.
Depending on the CPU manufacturer, install the Chipset drivers using the corresponding tool:
Method 9. Repair Windows with an In-place Upgrade.
If, after following the methods above, you’re still having problems, your last option is to repair Windows with an in-place upgrade. To do this, use the instructions in one of these tutorials, depending on your version of Windows.
That’s it! Which method worked for you?
Let me know if this guide has helped you by leaving your comment about your experience. Please like and share this guide to help others.