FIX: ATTEMPTED_WRITE_TO_READONLY_MEMORY error in Windows 10

Milan Stanojevic
by Milan Stanojevic
Windows & Software Expert
Milan has been enthusiastic about PCs ever since his childhood days, and this led him to take interest in all PC-related technologies. Before joining WindowsReport, he worked as a front-end web developer. Read more
Affiliate Disclosure
  • Corrupted drivers can cause an attempted_write_to_readonly_memory error or any other BSoD error to appear.
  • Another cause for the error attempted_write_to_readonly_memory on Windows 10 is faulty hardware.
  • Running a Windows troubleshooter has been efficient in fixing stop code attempted_write_to_readonly_memory.
  • Then, removing problematic apps is a sure way to fix attempted_write_to_readonly_memory overclock issues.
how to fix ATTEMPTED_WRITE_TO_READONLY_MEMORY error in Windows 10

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.

Occasionally, users have reported an error variations saying attempted_write_to_readonly_memory dxgmms2 sys or attempted_write_to_readonly_memory unisafe sys.

These errors can cause system instability and data loss, therefore today we’re going to show you how to fix this error.

What steps do I take to fix a 0x000000BE attempted_write_to_readonly_memory stop message?

  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

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 an 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.

Various errors are the result of a malfunctioning driver. When this is the case, you may need to update or reinstall completely this specific component. As the process is not straight-forward to complete, we recommend using an automated tool for the job. Here's how to do it:

  1. Download and install DriverFix.
  2. Launch the app.
  3. Wait for the software to detect all your faulty drivers.
  4. You will now be presented with a list of all the drivers that have issues, and you just need to select the ones you’d liked fixed.
  5. Wait for DriverFix to download and install the newest drivers.
  6. Restart your PC for the changes to take effect.
DriverFix

DriverFix

Keep your Windows safe from any type of errors caused by corrupted drivers, by installing and using DriverFix today!

Free trial
Visit website

Disclaimer: this program needs to be upgraded from the free version in order to perform some specific actions.


2. Run the Hardware Troubleshooter 

  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.Troubleshooting BSoD
  4. Follow the instructions on the screen to complete the troubleshooter.

3. Run the SFC scan

  1. Right-click on the Start Menu button, and open Command Prompt (Admin).
  2. Enter the following line and press Enter: sfc/scannow
  3. Wait until the process is done (it may take a while).
  4. If the solution is found, it will automatically be applied.
  5. Now, close the Command Prompt and restart your computer.

4. Run DISM

  • The 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.

5. Remove problematic applications

ATTEMPTED_WRITE_TO_READONLY_MEMORY error

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 of 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 a dedicated removal tool.

Many antivirus companies have dedicated removal tools available for their 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 other antivirus software.


6. Reset BIOS to default

ATTEMPTED_WRITE_TO_READONLY_MEMORY Windows 10 error

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.


7. Use System Restore or Windows 10 reset

  1. Hold the Shift key on your keyboard and click the Restart button. Alternatively, you can restart your computer a 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 an empty USB flash drive.

We have to warn you that the 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 faulty hardware.


8. Check your hardware

ATTEMPTED_WRITE_TO_READONLY_MEMORY BSoD

ATTEMPTED_WRITE_TO_READONLY_MEMORY error can be caused by your hardware, so we urge you to check if your RAM is working properly.

The 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.

Frequently Asked Questions

  • The ATTEMPTED_WRITE_TO_READONLY_MEMORY error is a BSoD error that can occur because of various hardware or software issues so it’s not very easy to pinpoint.

  • First, make sure that your drivers and Windows 10 are up to date. If this doesn’t solve the problem, read our full guide on how to fix this issue.

  • The Read-Only Memory, or ROM for short, is a storage medium that is used with computers and other electronic devices. As you probably guessed from its name, the data stored in ROM may only be read.

This article covers:Topics: