Solution 4 – Run DISM
DISM is the third troubleshooter we’re going to try, in case the previous two failed to resolve the problem. DISM stands for Deployment Image Servicing and Management, and as its name says, it reloads the system image. So, maybe this process will resolve the BSOD issue.
We’ll walk you through both standard and the procedure that utilizes the installation media below:
- Standard way
- Right-click Start and open Command Prompt (Admin).
- Paste the following command and press Enter:
- Wait until the scan is finished.
- Restart your computer and try updating again.
- With the Windows installation media
- Insert your Windows installation media.
- Right-click the Start menu and, from the menu, choose the Command Prompt (Admin).
- In the command line, type the following commands and press Enter after each:
- dism /online /cleanup-image /scanhealth
- dism /online /cleanup-image /restorehealth
- Now, type the following command and press Enter:
- DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:SourcesInstall.wim:1 /LimitAccess
- Make sure to change an X value with the letter of the mounted drive with Windows 10 installation.
- After the procedure is finished, restart your computer.
Solution 5 – Remove problematic applications
Errors such as ATTEMPTED_WRITE_TO_READONLY_MEMORY can be caused by certain applications, therefore it’s necessary that you find and remove them. Users reported that Gigabyte On/Off software is the common cause for this error, so if you have this software installed, be sure that you remove it.
Another common cause for BSoD errors can be your antivirus software. Users reported that tools such as NoVirusThanks can cause these types of errors, and according to them, the issue was fixed after removing this tool. We have to mention that almost any antivirus program can cause this error, and if you want to fix this problem, you’ll have to remove all third-party antivirus programs from your PC. To completely remove an antivirus program, we strongly suggest that you use dedicated removal tool. Many antivirus companies have dedicated removal tools available for its software, so be sure to download one for your antivirus program. If uninstalling the antivirus fixes the issue, you might want to download the latest version of the same antivirus program that you were using before, or you can switch to any another antivirus software.
Solution 6 – Reset BIOS to default
Few users reported that they managed to fix this error by resetting BIOS to default, and you can do that easily. To see how to access and reset BIOS, be sure to check your motherboard manual for detailed instructions. Before you reset BIOS, we advise you to check your SATA Controller and see what mode you are currently using. Controller mode will be set to IDE, AHCI, or RAID, so be sure to set the SATA controller mode to the same value after you reset BIOS.
- READ ALSO: How to fix Windows 10 sysprep errors
Solution 7 – Use System Restore or Windows 10 reset
If ATTEMPTED_WRITE_TO_READONLY_MEMORY error is caused by a software problem, you should be able to fix it by performing System Restore. To perform System Restore you need to do the following:
- Hold Shift key on your keyboard and click the Restart button. Alternatively, you can restart your computer few times during the boot sequence to start Automatic Repair.
- Select Troubleshoot > Advanced options > System Restore.
- Select your username and enter your password if you have one.
- Select Choose a different restore point and click Next.
- Choose the restore point you wish to return to and click Next. Wait for the process to finish.
If System Restore didn’t fix the issue, you’ll have to perform Windows 10 reset. To complete Windows 10 reset you might need Windows 10 installation media, and you can easily create one by using Media Creation Tool and empty USB flash drive. We have to warn you that reset process is similar to clean install, so make sure that you back up important files from your C partition before you start this procedure. To perform Windows 10 reset, follow these steps:
- Start Automatic Repair process and choose Troubleshoot > Reset this PC > Remove everything. Be prepared to insert Windows 10 installation media if you’re asked to.
- Select Only the drive where Windows is installed > Just remove my files and click the Reset button.
- Follow the instructions to complete the reset process.
If the BSoD error appears even after Windows 10 reset, the error is most likely caused by a faulty hardware.
Solution 8 – Check your hardware
ATTEMPTED_WRITE_TO_READONLY_MEMORY error can be caused by your hardware, so we urge you to check if your RAM is working properly. Easiest way to do that is to test your RAM modules one by one, but you can also use tools such as MemTest86+ to perform a detailed scan of your RAM. If your RAM is not the problem, you should check all other major hardware components.
Blue Screen of Death errors such as ATTEMPTED_WRITE_TO_READONLY_MEMORY can be sometimes hard to fix, but we hope that you managed to fix this error by using one of our solutions.
Editor’s Note: This post was originally published in June 2016 and has been since completely revamped and updated for freshness, accuracy, and comprehensiveness.
- Fix: Critical Service Failed BSoD Error in Windows 10
- Fix: NO_MORE_SYSTEM_PTES error on Windows 10
- Fix: Windows Cryptographic Service Provider Error In Windows 10
- Fix: CDFS_FILE_SYSTEM error on Windows 10
- Fix: Windows 10 Installation Errors 0xC1900101, 0x20017