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. 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:
- Update your drivers and Windows 10
- Run the Hardware Troubleshooter
- Run the SFC scan
- Run DISM
- Remove problematic applications
- Reset BIOS to default
- Use System Restore or Windows 10 reset
- 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:
- Press Windows Key + X to open Power User Menu and select Device Manager.
- Once Device Manager opens, locate the device you want to update, right click it and select Update Driver Software from the menu.
- Select Search automatically for updated driver software and wait for Windows 10 to install the appropriate driver for your device.
- 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:
- Download and install TweakBit Driver Updater
- 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.
- 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.
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:
- Open the Settings app and go to Update & Security section.
- Select Troubleshoot from the menu on the left.
- Select BSOD from the right pane and click Run the troubleshooter.
- 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:
- Right-click on the Start Menu button, and open Command Prompt (Admin).
- Enter the following line and press Enter: sfc/scannow
- Wait until the process is done (it may take a while).
- If the solution is found, it will automatically be applied.
- 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
- 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
Microsoft just announced a new extension for Visual Studio Code. Web Template Studio simplifies web app creation Microsoft Web Template Studio is a cross-platform extension […]
Microsoft is working around the clock on their Chromium-based browser, releasing new features regularly. Microsoft is focusing on productivity with Edge’s new feature After a […]