Fix: ATTEMPTED_WRITE_TO_READONLY_MEMORY error in Windows 10

Milan Stanojevic avatar. By: Milan Stanojevic
7 minute read

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patented Technologies (requires upgrade).

Blue Screen of Death errors such as ATTEMPTED_WRITE_TO_READONLY_MEMORY can cause you a lot of problems on Windows 10 since they will frequently restart your PC in order to prevent damage. These errors can cause system instability and data loss, therefore today we’re going to show you how to fix this error.

How to fix ATTEMPTED_WRITE_TO_READONLY_MEMORY BSoD

Table of contents:

  1. Update your drivers and Windows 10
  2. Run the Hardware Troubleshooter
  3. Run the SFC scan
  4. Run DISM
  5. Remove problematic applications
  6. Reset BIOS to default
  7. Use System Restore or Windows 10 reset
  8. Check your hardware

Fix – ATTEMPTED_WRITE_TO_READONLY_MEMORY Windows 10 error

Solution 1 – Update your drivers and Windows 10

Blue Screen of Death errors are often caused by outdated or incompatible drivers, therefore it’s important that you update them as often as you can. Windows 10 relies heavily on drivers in order to recognize and use certain hardware, and if your drivers are corrupted, or simply not compatible with Windows 10, that will cause a ATTEMPTED_WRITE_TO_READONLY_MEMORY or any other BSoD error to appear. In order to fix this error it’s highly recommended that you update your drivers. Updating drivers in Windows 10 is fairly simple, and you can do that right from the Device Manager by following these steps:

  1. Press Windows Key + X to open Power User Menu and select Device Manager.
    device-manager
  2. Once Device Manager opens, locate the device you want to update, right click it and select Update Driver Software from the menu.
    update-driver-software
  3. Select Search automatically for updated driver software and wait for Windows 10 to install the appropriate driver for your device.
    browse-my-for-driver-software
  4. Repeat the steps for all devices that you want to update.

Using Device Manager to update your drivers is pretty straightforward, but some users claim that Device Manager doesn’t always download the latest drivers for your device. To download the latest drivers, it’s always better to visit your hardware manufacturer’s website and download the necessary drivers manually. Bear in mind that you’ll have to update as many drivers as you can in order to fix this issue.

Update drivers automatically

Searching for drivers on your own can be time-consuming. So, we advise you to use a tool that will do this for you automatically. Using an automatic driver updater will certainly save you from the hassle of searching for drivers manually, and it will always keep your system up to date with the latest drivers.

Tweakbit’s Driver Updater (approved by Microsoft and Norton Antivirus) will help you update drivers automatically and prevent PC damage caused by installing the wrong driver versions. After several tests, our team concluded that this is the best-automatized solution.

Here is a quick guide on how to use it:

  1. Download and install TweakBit Driver Updaterdriver updater starting window
  2. Once installed, the program will start scanning your PC for outdated drivers automatically. Driver Updater will check your installed driver versions against its cloud database of the latest versions and recommend proper updates. All you need to do is wait for the scan to complete.
    scanning proccess of Tweakbit driver updater
  3. Upon scan completion, you get a report on all problem drivers found on your PC. Review the list and see if you want to update each driver individually or all at once. To update one driver at a time, click the ‘Update driver’ link next to the driver name. Or simply click the ‘Update all’ button at the bottom to automatically install all recommended updates.
    Automatically Update complete
    Note: Some drivers need to be installed in multiple steps so you will have to hit the ‘Update’ button several times until all of its components are installed.

Solution 2 – Run the Hardware Troubleshooter 

If updating your drivers didn’t get the job done, let’s try Windows 10’s troubleshooting tool. This is a universal tool that basically deals with all sorts of issues within Windows 10. And it might also be helpful with the BSOD issues.

Here’s how to run Windows 10’s troubleshooting tool:

  1. Open the Settings app and go to Update & Security section.
  2. Select Troubleshoot from the menu on the left.
  3. Select BSOD from the right pane and click Run the troubleshooter.
  4. Follow the instructions on the screen to complete the troubleshooter.

Solution 3 – Run the SFC scan

The next troubleshooting tool we’re going to run is the SFC scan. This is a command-line troubleshooter that scans your system for potential issues, and resolves them (if the solution is possible, of course).

Here’s how to run the SFC scan in Windows 10:

  1. Right-click on the Start Menu button, and open Command Prompt (Admin).
  2. Enter the following line and press Enter: sfc/scannow

  3. For various PC problems, we recommend this tool.

    This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

    1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
    2. Click “Start Scan” to find Windows issues that could be causing PC problems.
    3. Click “Repair All” to fix all issues with Patented Technologies (requires upgrade).

  4. Wait until the process is done (it may take a while).
  5. If the solution is found, it will automatically be applied.
  6. Now, close the Command Prompt and restart your computer.

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
  1. Right-click Start and open Command Prompt (Admin).
  2. Paste the following command and press Enter:
      • DISM /Online /Cleanup-Image /RestoreHealth
  3. Wait until the scan is finished.
  4. Restart your computer and try updating again.
  • With the Windows installation media
  1. Insert your Windows installation media.
  2. Right-click the Start menu and, from the menu, choose the Command Prompt (Admin).
  3. In the command line, type the following commands and press Enter after each:
    • dism /online /cleanup-image /scanhealth
    • dism /online /cleanup-image /restorehealth
  4. Now, type the following command and press Enter:
    • DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:SourcesInstall.wim:1 /LimitAccess
  5. Make sure to change an X value with the letter of the mounted drive with Windows 10 installation.
  6. 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.

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:

  1. 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.
    restart
  2. Select Troubleshoot > Advanced options > System Restore.
  3. Select your username and enter your password if you have one.
  4. Select Choose a different restore point and click Next.
  5. 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:

  1. 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.
  2. Select Only the drive where Windows is installed > Just remove my files and click the Reset button.
  3. 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.

We also recommend you to download this tool to fix various PC problems, such as hardware failure, but also file loss and malware.

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.

READ ALSO:

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patented Technologies (requires upgrade).

Discussions

Next up

Mozilla adds alerts about recently breached sites into Firefox browser

Giles Ensor avatar. By: Giles Ensor
3 minute read

Firefox has announced that it will start to warn users if they visit any breached sites. This is in an attempt to not only make […]

Continue Reading

More uncertainty for Microsoft’s Windows 10 October Update

Giles Ensor avatar. By: Giles Ensor
3 minute read

Oh dear. It’s been a pretty bad month for Microsoft concerning its Windows 10 October 1809 Update release. Microsoft eventually released the update a couple […]

Continue Reading

Confirmed: Microsoft now accepting ARM64 apps on its Store

Giles Ensor avatar. By: Giles Ensor
2 minute read

Yesterday, Microsoft released Visual Studio 15.9. With it came the announcement that “developers now have the officially supported SDK and tools for creating 64-bit ARM […]

Continue Reading