Wondering how to resolve the "attempted to write to read-only memory" error on Windows 10? Don't worry—this guide will show you simple steps to fix it quickly.
If you’ve ever been cruising along on your Windows PC and suddenly hit a blue screen with the message “Attempted to write to read only memory”, you know how alarming it feels. One moment everything’s fine, the next—boom—your system crashes like a car hitting a brick wall. But what does this error really mean, and more importantly, how do you fix it?
Let’s break it down in plain wordsand walk through every practical solution step by step.
While using an HDD, Windows may suddenly crash and display the stop code “Attempted to Write to Read-Only Memory”, a Blue Screen of Death (BSOD) commonly seen on Windows 7, 8, and 10. This error occurs when a device driver tries to write data to a protected, read-only memory area. It is typically identified by the stop code 0x000000BE.
Several factors can trigger this error:
► Device driver problems: Driver-related issues are the most frequent cause. These often include incompatible newly installed drivers, outdated hardware that no longer works well with the system, or drivers that are damaged or corrupted.
► Operating system issues: An unpatched Windows installation or corrupted system files can also lead to this stop error. Missing updates may prevent the operating system from handling memory access properly.
► Firmware conflicts or malware: Recently installed firmware that causes system instability may trigger this BSOD. In addition, malware or virus infections that damage Windows system files can interfere with memory operations, resulting in the same error.
Dealing with this blue screen error may sound intimidating, but the solution is often simpler than expected. In most cases, the problem can be resolved without advanced technical knowledge. Below are several practical and effective methods that can help eliminate the “Attempted to Write to Read-Only Memory” error and restore system stability.
AOMEI Partition Assistant is an excellent partition management tool that can assist in resolving BSOD issues in Windows 11/10. With its ability to create a WinPE bootable disk, you can boot your PC and perform necessary repairs to fix the error. This software offers several key features that make managing your disk and partitions simple:
🔎 Merge partitions to increase available space
🔎 Replace an old hard drive with a new one
🔎 Seamlessly convert between basic and dynamic disks
🔎 Resize, format, create, or delete partitions with ease
By utilizing AOMEI Partition Assistant, you can ensure your system is properly configured and ready to boot without encountering BSOD errors.
Step 1. Install and launch AOMEI Partition Assistant on a working PC. In the main interface, click Tools > Make Bootable Media and follow the wizard to create a Windows 10/11 bootable USB drive.
Step 2. Connect the bootable media created via AOMEI Partition Assistant Standard to the computer with a boot issue and enter BIOS to boot computer from the USB drive.
Step 3. Once logged in, the AOMEI Partition Assistant Standard will run automatically. In the main interface, right-click the system disk that contains corrupted MBR and choose Rebuild MBR.
Step 4. Set the type of MBR for Windows 10 in the pop-up window. (Choose a proper MBR type according to your operating system.)
Step 5. Click Apply and Proceed on the toolbar to commit Rebuild MBR operation.
If your Windows 11/10 system is encountering the "Attempted Write to Readonly Memory" BSOD error (0x000000BE), entering Safe Mode is a quick way to resolve the issue when you can’t access Windows normally.
Step 1: Power off your PC and then press the Power button to restart it.
Step 2: Once the options appear on your screen, hold the Shift key and click Restart at the same time.
Step 3: From the menu, select Troubleshoot > Advanced options > Startup Settings > Restart. After your PC restarts, press 4 or F4 to boot into Safe Mode.
Once in Safe Mode, you can troubleshoot the error, uninstall problematic drivers, or perform system repairs to fix the BSOD issue.
The "Attempted Write to Readonly Memory" BSOD error often points to issues with your computer's memory. Insufficient storage space or faulty RAM can trigger this error. Running a memory diagnostic is crucial to identify whether your PC's memory is functioning correctly.
Step 1: Press Win + R to open the Run dialog box.
Step 2: Type mdsched.exe in the text field and click OK.
Step 3: Choose Restart now and check for problems to start the memory scan immediately.
The Memory Diagnostic Tool will begin scanning your system for memory errors. If any issues are found, you may need to replace the faulty RAM to resolve the BSOD error and prevent it from recurring.
System file corruption and bad sector errors are common culprits behind the "Attempted Write to Readonly Memory" BSOD. If the previous solutions haven't resolved the issue, you can stay in Safe Mode and run the SFC and CHKDSK utilities to repair the faulty system files and fix bad sectors.
Step 1: Press the Windows key, type cmd, and press Enter.
Step 2: Right-click on Command Prompt and select Run as administrator.
Step 3: In the command prompt window, type the following command to run the SFC scan:
sfc /scannow
Step 4: Once the SFC scan completes, type this command to run CHKDSK on the specific drive (replace "E:" with the correct drive letter you want to repair):
chkdsk E: /f /r /x
The /f flag fixes errors, the /r flag locates bad sectors and recovers readable information, and /x forces the drive to dismount before scanning.
Allow the process to complete, then restart your PC. If bad sectors or system file errors were causing the BSOD, these steps should help fix the issue.
A corrupt or outdated device driver can trigger the "Attempted Write to Readonly Memory" BSOD error in Windows 10. To resolve this issue, updating the faulty driver in Safe Mode is a crucial step.
Step 1: Right-click the Windows icon in the bottom-left corner and select Device Manager.
Step 2: In Device Manager, look for any devices with a yellow triangle, which indicates a problem with the driver.
Step 3: Right-click the problematic driver and select Update driver.
Step 4: Choose Search automatically for updated driver software. Let Windows search for the latest driver.
If Windows doesn’t find an update, visit the device manufacturer's website to download and install the latest driver manually.
If updating doesn’t work, you can uninstall the driver by right-clicking it and selecting Uninstall. Afterward, restart your PC, and Windows will attempt to reinstall or update the drivers automatically.
The installation of new software on the system may be the possible reason for attempted write to readonly memory. You can resolve Windows 10 attempted write to readonly memory by uninstalling recent software.
Step 1. Open "Settings > Apps > Apps & features".
Step 2. Select the app or game that you want to remove and click the "Uninstall" button.
Another way to fix Windows 10 attempted to write to readonly memory error is by updating Windows. Steps to get the latest Windows update.
Step 1. Click the "Start" icon.
Step 2. Go to "Settings > Update & Security settings > Windows Update".
Step 3. Click "Check for updates".
If none of the previous solutions have worked, performing a System Restore can often resolve the "Attempted Write to Readonly Memory" BSOD error by reverting your system to a stable state before the issue occurred.
Step 1: Restart your PC and press F8 or Shift + F8 to enter the Repair Your Computer mode.
Step 2: When the Windows repair environment loads, click OK if prompted to choose a keyboard layout. Then, select your user account and click OK, entering your password if necessary.
Step 3: Under System Recovery Options, select System Restore. This will display a list of available restore points.
Step 4: Choose a restore point that was created when your system was functioning properly. If you don’t see all restore points, check the box for Show more restore points.
Step 5: Click Next and let Windows restore your system to the selected point. The process may take a few minutes, so be patient.
Once the restoration is complete, your system should be back to a state where the BSOD no longer occurs.
In conclusion, the "Attempted to Write to Read-Only Memory" error can disrupt your system, but there are several solutions to resolve it. By updating drivers, checking memory, running system tools like CHKDSK, and using software like AOMEI Partition Assistant, you can often fix the issue without advanced technical skills. Regular maintenance and updates will help prevent this BSOD from reappearing and keep your Windows system stable.