Fix the attempted write to readonly memory windows 11 error quickly. We show you how to check your RAM, update drivers, and rebuild your boot files safely.
An attempted write to readonly memory error is a Blue Screen of Death crash that happens when a broken device driver or faulty software tries to save data into a protected part of your computer's memory. To solve this, you need to update your device drivers, run the Windows Memory Diagnostic tool to check your RAM, and install the latest Windows updates.
If the blue screen keeps happening and traps you in a restart loop, you must use professional partition software to create a bootable rescue USB. This allows you to check your hard drive for bad health sectors and rebuild your master boot record safely.
To understand why your computer crashed, it helps to know how your system handles data. Your computer uses two very different types of memory to run properly.
Many users ask what the function of readonly memory is when they see this blue screen. Read Only Memory holds the permanent instructions your computer needs to turn on. The system can read these instructions, but it can never change them or write new data over them.
Your computer also has RAM, which is active memory used to write and change data while you work. An attempted write-readonly memory error happens when a broken driver gets confused. It tries to write active work into the permanent, protected memory space. When Windows sees this illegal action, it immediately crashes the computer to prevent serious hardware damage.
Because this error is usually caused by confused software or drivers, we have several ways to fix it. We will cover all seven proven methods to get your computer running smoothly again.
If your computer crashes before you can reach the desktop, restart your PC a few times to trigger the blue Windows Recovery screen. You can use Safe Mode from that menu to try these steps.
Old or broken device drivers are the most common cause of this blue screen error. Updating your drivers gives them the correct instructions for handling memory.
You should pay special attention to your graphics card and network drivers. These are the usual suspects for memory crashes.
Step 1: Right-click the Windows Start button and select Device Manager.
Step 2: Look through the list for any device that has a yellow warning triangle next to it.
Step 3: Right-click the device and select Update driver. Choose the option to search automatically for drivers.
Step 4: If the error started right after you updated a driver, right-click the device and select Properties. Go to the Driver tab and click Roll Back Driver to undo the change.
Sometimes the physical RAM sticks inside your computer start to fail. Windows has a built-in tool that will test your memory for physical damage.
This tool requires your computer to restart. Make sure you save any open work before you begin.
Step 1: Click the Windows Start button and type Windows Memory Diagnostic. Click the app to open it.
Step 2: Choose the option that says Restart now and check for problems.
Step 3: Your computer will restart and a blue screen will appear showing the test progress. This process can take a few minutes.
Step 4: When the test is done, your PC will load the desktop. Windows will show a notification telling you if your RAM is healthy or broken.
If you recently installed a new program or a third-party antivirus, it might be fighting with your system memory. Removing the new software often stops the crashes.
Think about when the blue screen first started happening. If it was right after downloading a specific app, that app is likely the problem.
Step 1: Click the Start button, type Control Panel, and open it.
Step 2: Click on Uninstall a program under the Programs section.
Step 3: Click the Installed-On column at the top to sort the list by date.
Step 4: Right-click any program you installed right before the crashes started and select Uninstall.
Microsoft frequently releases patches to fix known bugs in the operating system. Installing the latest updates can repair the exact memory glitch causing your issue.
If you are dealing with an attempted write to readonly memory Windows 11 error, an outdated system file is a very likely cause.
Step 1: Click the Start button and open Settings.
Step 2: Click on Windows Update in the menu.
Step 3: Click the Check for updates button.
Step 4: Download and install any available updates, then restart your computer.
If you cannot find the broken driver or software, you can roll your computer back in time. A system restore changes your system files back to a date when everything worked perfectly.
This process will remove apps and drivers you installed recently. It will not delete your personal photos or documents.
Step 1: Click the Start button and type Create a restore point. Open the app.
Step 2: Click the System Restore button.
Step 3: Follow the simple wizard to choose a date before the blue screen errors started.
Step 4: Click Finish. Your computer will restart and apply the old settings.
Hard drive errors can corrupt the files Windows needs to manage memory. You can run a command prompt tool to find and fix these hidden drive errors.
This native tool is helpful, but it can take a very long time to finish. It also lacks a visual screen, which can be confusing for some users.
Step 1: Click Start, type cmd, right-click Command Prompt, and choose Run as administrator.
Step 2: Type chkdsk C: /f /r and press Enter. If Windows is installed on a different drive letter, change the C to match it.
Step 3: The screen will ask if you want to schedule the scan for the next restart. Type Y and press Enter.
Step 4: Restart your computer to let the tool scan your hard drive.
If your computer is trapped in a blue screen or Windows login boot loop and cannot reach the desktop, native Windows tools cannot help you. You need a visual rescue tool to fix your hard drive safely.
AOMEI Partition Software is the best tool for fixing a computer that refuses to start. You can use a working computer to create a bootable rescue USB. When you plug this USB into your broken PC, it bypasses the blue screen entirely. You can then use the Rebuild MBR feature to fix broken startup files. You can also use the Check Partition tool to scan your hard drive for bad health sectors visually.
A safe and reliable disk partition management tool that helps you migrate OS to SSD or HDD, reorganize disk space, and improve overall PC performance.
Step 1: Download and open AOMEI Partition Software on a working computer. Plug in a blank USB drive. Click Make Bootable Media at the top and follow the steps to create your rescue drive.
Step 2: Plug the rescue USB into your broken computer. Turn it on and press your BIOS key to change the boot order. Tell the computer to boot from the USB.
Step 3: The AOMEI visual screen will load. Right-click your main Windows hard drive and select Rebuild MBR.
Step 4: Choose your current Windows version from the pop-up list and click OK.
Step 5: Click Apply at the top left, and then click Proceed. The software will safely repair your drive. You can now remove the USB and restart your computer normally.
Blue screen memory errors are very frustrating, but they are almost always caused by a simple software mix-up. Taking a few minutes to check your system will get you back to work.
Learning how to fix attempted write to readonly memory starts with updating your drivers and removing bad software. Running the Windows memory diagnostic will tell you if your physical RAM is healthy. If the blue screen traps you in a restart loop, using AOMEI Partition Software is the safest choice. It lets you boot from a USB and fix your hard drive errors visually without losing your files.
1. Does a blue screen mean my computer is broken forever?
No, a blue screen is a safety feature. Windows crashes the computer on purpose to stop a bad program from causing real damage to your hardware. Once you find and update the bad driver or software, the blue screen will stop happening.
2. Will running a memory check delete my personal files?
No. The Windows Memory Diagnostic tool only checks the physical RAM sticks inside your computer to see if they are working correctly. It does not touch your hard drive where your photos, games, and documents are stored.
3. What should I do if my RAM fails the memory test?
If the diagnostic tool says your memory has hardware problems, your physical RAM sticks are dying. Software cannot fix broken hardware. You will need to open your computer case and replace the broken RAM stick with a new one to stop the crashes.