13 Ways to Fix Stop Code Attempted Write to Randonly Memeory Error

You can learn the causes of the stop code "Attempted Write to Randonly Memeory" error and 13 effective ways to fix it as well as the importance of backing up your system regularly and how to do it.

Clytze

by Clytze Updated on October 27, 2022

Share this: instagram reddit

User Case

"Yesterday I was using my home desktop computer as usual to get work done, during which I was away for a few hours for some other things and forgot to turn it off. It wasn't until I got home in the evening that I noticed that my computer had a blue screen error with the stop code: attempting to write to read-only memory. I tried restarting, but the problem persisted until I manually forced a shutdown and idled for about 10 minutes before turning the computer back on. I don't know how the error occurred and can't be sure if the computer will ever get the same blue screen error again, so I want to know the cause and try to fix it."

Error Message

The stop code "Attempted Write to Randonly Memory" is a relatively common error in Windows 10, and if you are lucky, you may be able to reboot a few times and get into the system normally. However, this error is not fixed and may reappear in some cases, so it is highly recommended that you fix this error as soon as you know the cause.

Why blue screen attempted write to readonly memory?

Investigation of the cause of the error can help us fix it. The following are the common causes of the blue screen "Attempted Write to Randonly Memory".

  • Device drivers are out of date. Incompatible or corrupted
  • Third-party application incompatibility
  • Windows system version is outdated or updated incorrectly
  • Memory error
  • BIOS firmware incompatibility or misconfiguration
  • Overclocking the CPU or GPU
  • System file error

13 ways to fix the stop code "Attempted Write to Randonly Memeory" error

After understanding the cause of Windows stop code "Attempting to write to read-only memory" error, try the following 13 methods in order to restore your computer to its normal state. Note that the following methods all require safe mode, but you can also do them directly if you have access to the Windows system.

  • Restarting the computer after a period of inactivity
  • Troubleshooting through Safe Mode
  • Reinstall or update device drivers
  • Uninstall recently installed applications
  • Uninstall the overclocking software
  • Update or revert to Windows
  • Perform memory diagnostics
  • Execute blue screen troubleshooting
  • Implementation of SFC and CHKDSK tools
  • Update BIOS
  • Disable BIOS memory options
  • Restore Windows system
  • Checking computer hardware

Method 1. restart the computer after a period of inactivity

Although it may seem unbelievable, some users did fix the stop code "Attempted Write to Randonly Memory" error in Windows 10 with this method. You just need to press and hold the power button for at least 10 seconds, force your computer to shut down, and after sitting idle for at least 10 minutes, start it up again. If you still see the same blue screen error during the boot process, please go to the next method.

Method 2. Troubleshooting through safe mode

Safe mode is a special diagnostic mode in Windows that enables you to boot your computer in a basic state (a set of valid files and drivers) and can be used to troubleshoot the stop code "attempting to write to read-only memory" error.

1. Enter the Windows recovery environment by rebooting the computer twice after forcing it to shut down.

2. Click Troubleshoot > Advanced Options > Startup Settings and press F4 or the number key 4 to start Windows Safe Mode.

Enable Safe Mode

3. If there is no blue screen error in safe mode, it means that there is no problem with the core services and processes of Windows system, and the problem may be in the driver. System files. Third-party applications, etc.

Method 3. reinstall or update device drivers

If the driver of a device in your computer is not compatible with Windows system, it may also lead to the error of stop code "Try to write to read-only memory", at this time, you can try to reset or update the device driver to fix the error. Please note that the blue screen error will affect your normal access to the Windows system, so you need to enter the Windows recovery environment first, then click Troubleshooting > Advanced Options > Startup Settings, press F5 or the number key 5 to start Windows Safe Mode (including network functions), the following steps are performed in Safe Mode.

Update drivers

1. Press Win + X together and then select Device Manager.

2. Expand the device that needs to be updated and right-click on the specific device, then select Update Driver.

3. In the new window, select Search automatically for updated driver software and wait for the process to complete. If updates are available, please update them promptly.

Search Automatically

Reinstall drivers

1. Open Device Manager in the same way and expand the device that needs to be updated.

2. Right-click on the specific device, then select Uninstall device and confirm this action.

3. Right-click the computer name at the top again, click Scan for hardware changes, and the previously uninstalled drivers will be installed automatically.

Method 4. Uninstall recently installed applications

If you have recently installed a third-party application, it is possible that the stop code "Attempted Write to Randonly Memory" error is caused by an application incompatibility, in which case you can try uninstalling the recently installed application to fix the error. Please note that this method also requires safe mode (with network functionality).

1. Use Windows+R to open the Execute window, type control and press Enter.

2. Locate the Programs and Features and tap the Uninstall or change a program option below.

3. Tap the Change Review button in the upper right corner, switch to Details, then select the most recently installed application according to the installation time, right-click it, and select Uninstall.

Details And Uninstall

Method 5. uninstall the overclocking software

Overclocking can effectively increase the frequency of your CPU and graphics card, and improve the overall performance of your computer for a better gaming experience. However, in fact, overclocking can also cause instability in performance, resulting in poor CPU or graphics card stability and causing a stop code "Attempted Write to Randonly Memory" error. Therefore, if you are overclocking your CPU or graphics card, please stop this behavior immediately as it will help to fix the above error. Please note that this method needs to be done in safe mode (with network functions).

Normally, overclocking a graphics card relies on specialized overclocking software, such as AMD Wattman. Sapphire TriXX. EVGA Precision X. MSI Afterburner, etc. Therefore, to stop overclocking a graphics card you only need to set the frequency back to normal within the overclocking software and close the overclocking software. If you are overclocking your CPU in BIOS, please stop it in BIOS; if you are using overclocking software, please stop using that software.

Method 6. Update or revert to Windows

Outdated Windows systems may have some unknown system errors and cause the stop code "Attempting to write to read-only memory" error, so you can try updating your Windows system to fix it. In addition, corrupted Windows updates may also cause the above error, so if you have recently updated your Windows system, please try to revert to the previous version. Please note that this method needs to be done in Safe Mode (with network functions).

Update Windows system

1. Use Windows+I to open Windows Settings, and tap Update & Security.

2. Go to the Windows Update tab, tap the Check for updates button in the right panel, and tap the Download and Install button if an update is available.

Check For Updates

3 Finally, restart your computer to complete the Windows update.

Reply to Windows

1. Go to the Update and Security window in the same way and switch to the Recovery tab in the left panel.

2. Find the Go back to the previous version of Windows 10 in the right panel and tap the Get started button.

Go Back And Get Started

3. Follow the prompts to revert to Windows and restart your computer.

Method 7. Perform memory diagnostics

Memory errors are also an important cause of the stop code "Attempted Write to Randonly Memory" error, so you can run Windows 10's built-in memory diagnostics to fix these errors. Please note that this method also needs to be done in Safe Mode (with network capabilities).

1. Use Windows+R to open the execution window, type mdsched.exe and press Enter.

2. In the Windows Memory Diagnostic window, tap Restart now and check for problems (recommended).

Check Your Computer

Method 8. perform blue screen troubleshooting

Windows 10 has a built-in troubleshooting tool that can help you solve many common problems. When you encounter a stop code "Attempted Write to Randonly Memory" error, try running this tool to fix the error. Please note that this method also needs to be done in Safe Mode (with network capabilities).

1. Use Windows+I to open Windows Settings, and tap Update & Security.

2. Switch to the Troubleshoot tab in the left panel, find the Blue Screen in the right panel, and tap the Run the troubleshooter button.

Perform Blue Screen Troubleshooting

3. Follow the on-screen wizard to perform the repair and wait for the process to complete.

Method 9. Implementation of SFC and CHKDSK tools

The System File Checker (SFC) checks and repairs corrupted system files, while the CHKDSK tool checks and repairs disk errors, and can be used in combination to repair the stop code "attempting to write to read-only memory" error. Please note that this method also requires safe mode (with command prompt characters).

1. Use Windows+S to open the search box, type cmd, and select Run as administrator.

2. In the command prompt character window, type sfc /scannow and press Enter to execute this command.

SFC Scannow

3. Open the command prompt character again as system administrator, type chkdsk C: /f, and press Enter to execute the command, then press Y to confirm the check.

Chkdsk C F

Note: You can replace C in the above command with the local disk machine where the system files are installed.

Method 10: Update BIOS

BIOS firmware incompatibility may also cause the stop code "Attempting to write to read-only memory" error, so you can try updating the BIOS to fix the above error. Please note that this method also needs to be done in Safe Mode (with network functionality).

1. Open your browser and visit the official website of your computer's motherboard manufacturer to locate and download the BIOS update file.

2. Copy the BIOS update file you downloaded earlier to a USB flash drive and reboot your computer.

3. Press the corresponding button to enter the BIOS interface, select the Update BIOS From Drive option, then select the BIOS update file you downloaded from the USB flash drive, confirm this operation and wait for the update to complete.

Update Bios

Note: During the BIOS update process, do not power off or interrupt the update to avoid failure and damage to the motherboard.

Method 11: Disable BIOS memory options

From the feedback of some users, disabling the BIOS memory option can also fix the stop code "Attempted Write to Randonly Memory" error, which is a worthwhile method.

1. Reboot your computer and press the F2 or Del key to enter the BIOS during the boot process.

2. Use the arrow keys to select the Advanced tab at the top of the screen and look for the memory option you want to disable.

Disable Bios Memory Option

3. Select the memory item you want to disable, change it to Disable, and save this change.

Method 12. restore Windows system

If you created a system restore point before the stop code "Try to write to read-only memory" error appeared, then you can restore Windows 10 to a previous point in time, which will effectively fix the error.

1. Enter the Windows Recovery Environment and click Troubleshoot > Advanced Options > System Restore in order.

Advanced Startup Options

2. Select your user account and enter your password, select the previously created system restore point based on the time, then follow the prompts and wait for this process to complete.

Method 13. check the computer hardware

If your computer hardware is faulty, then it may also cause the stop code "Attempted Write to Randonly Memory" error, so you need to check the memory. Hard disk. You can also ask for help from a professional repairer. If you find that the hardware is indeed faulty, please replace it in time.

Back up your system regularly in case it fails to boot or crashes

To prevent the recurrence of the above error, it is recommended that you make a habit of backing up your system regularly and use AOMEI Backupper Standard to create a system image to prevent similar blue screen errors or more serious system crashes.

This software allows you to boot system files in Windows 11/10/8.1/8/8/7/Vista/XP etc. for free. Boot file related partitions (EFI system partition and recovery partition, etc.). System disk applications and user settings files are backed up to any location.

In addition, you can create a system backup schedule and set Daily, Weekly, Monthly to automatically backup your system. First, you need to download and install the software. If you are a Windows Server user, you can pick AOMEI Backupper Server.

Download FreewareWin 11/10/8.1/8/7/XP
Secure Download

Step 1. Open the software, click Backup and then select System Backup.

System Backup

Step 2. The software will automatically select the system partition and boot-related partitions. So you only need to select a destination.

Select Destination

Step 3. Click Start Backup to backup system before upgrade.

Start Backup

Notes:

  • Options: It also provides features such as writing comments, choosing compression levels and setting up email notifications.
  • Schedule Backup: This feature allows you to set the frequency of system backups such as Daily, Weekly, Monthly, Event trigger and USB plug in. The latter two features are available in the Pro edition.
  • Backup Scheme: You can choose different backup methods, and if you upgrade to the pro version, you can also enable automatic backup cleanup feature to save you disk space.
  • Explore Image: If you just want to restore individual files or folders instead of the entire backup, you can mount the system image as virtual partitions with the Explore Image feature.

Summary

If you urgently need to fix the blue screen error with the stop code "Attempting to write to read-only memory", please read the above and go through the 13 ways to fix this error to ensure your computer is back to normal as soon as possible. The best way to prevent the above error from reoccurring is to make a habit of backing up your system regularly. Here we recommend you to use AOMEI Backupper Standard to perform regular system backups to prevent various blue screen errors. System crash. System crash, system unbootable, etc.

You can run AOMEI Backupper Standard on multiple system versions and follow the steps to easily backup your system to any location. Besides, the software will provide you with more useful functions such as Partition Backup, Disk Clone, Partition Clone, and more.

Clytze
Clytze · Editor
Clytze, an editor at AOMEI Technology, is passionate about safeguarding your digital world. She dedicates her expertise to empower users like you in data security and recovery. She firmly believes that everyone should have the tools and knowledge to protect their digital assets through computer backup, seamless disk cloning, and efficient file synchronization. Clytze is your trusted guide on the journey to data safety.