How to Fix BSOD ATTEMPTED_WRITE_TO_READONLY_MEMORY / KERNEL_SECURITY_CHECK_FAILURE Error on Windows 10/11
If you are a Windows 10 or Windows 11 user, you might have encountered the dreaded Blue Screen of Death (BSOD) error with the codes ATTEMPTED_WRITE_TO_READONLY_MEMORY or KERNEL_SECURITY_CHECK_FAILURE. This error can be frustrating and disruptive, but don't worry! In this article, we will guide you through some simple steps to fix these errors and get your system back up and running smoothly.
What Causes the ATTEMPTED_WRITE_TO_READONLY_MEMORY / KERNEL_SECURITY_CHECK_FAILURE Error?
Before we dive into the solutions, it's important to understand the underlying causes of these errors. The ATTEMPTED_WRITE_TO_READONLY_MEMORY error occurs when a program or driver attempts to write to a read-only memory location. On the other hand, the KERNEL_SECURITY_CHECK_FAILURE error is related to issues with system files, drivers, or faulty hardware. These errors can be triggered by various factors, such as:
- Outdated or incompatible device drivers
- Corrupted system files
- Faulty RAM or hard drive
- Malware or virus infections
Fixing the ATTEMPTED_WRITE_TO_READONLY_MEMORY / KERNEL_SECURITY_CHECK_FAILURE Error
Now that we understand the possible causes, let's explore some effective solutions to fix these errors:
1. Update Device Drivers
Outdated or incompatible device drivers can often trigger these BSOD errors. To update your drivers:
- Press
Win + Xand select "Device Manager" from the menu. - In the Device Manager window, expand the categories and right-click on the device with a yellow exclamation mark.
- Select "Update driver" and choose the option to search automatically for updated driver software.
- Follow the on-screen instructions to complete the driver update process.
2. Scan for Malware and Viruses
Malware and virus infections can corrupt system files and cause these BSOD errors. To scan for malware:
- Open Windows Security by pressing
Win + Iand selecting "Update & Security" from the Settings window. - Click on "Windows Security" in the left sidebar and select "Virus & threat protection".
- Click on "Quick scan" and wait for the scan to complete.
- If any threats are detected, follow the recommended actions to remove them.
3. Run System File Checker (SFC) Scan
Corrupted system files can also lead to these BSOD errors. To run an SFC scan:
- Open Command Prompt as an administrator by right-clicking on the Start button and selecting "Command Prompt (Admin)".
- Type
sfc /scannowand press Enter. - Wait for the scan to complete. If any corrupted files are found, the SFC tool will attempt to repair them.
- Once the scan is finished, restart your computer.
4. Check RAM and Hard Drive
Faulty RAM or a failing hard drive can cause these BSOD errors. To check your RAM and hard drive:
- Press
Win + Xand select "Windows PowerShell (Admin)" from the menu. - Type
wmic memorychip get devicelocator, capacityand press Enter to check your RAM. - If any errors are shown, consider replacing the faulty RAM module.
- To check your hard drive, type
chkdsk C: /f /rand press Enter. ReplaceC:with the appropriate drive letter if necessary. - Follow the on-screen instructions to schedule the disk check on the next system restart.
5. Perform a Clean Boot
A clean boot can help identify if any third-party software or services are causing the BSOD errors. To perform a clean boot:
- Press
Win + Rto open the Run dialog box. - Type
msconfigand press Enter to open the System Configuration window. - In the General tab, select "Selective startup" and uncheck the box next to "Load startup items".
- Go to the Services tab, check the box next to "Hide all Microsoft services", and click on "Disable all".
- Click on OK and restart your computer.
If the BSOD errors no longer occur after the clean boot, you can gradually enable the disabled services and startup items to identify the culprit.
Conclusion
The ATTEMPTED_WRITE_TO_READONLY_MEMORY and KERNEL_SECURITY_CHECK_FAILURE errors can be frustrating, but by following the solutions mentioned above, you should be able to resolve them. Remember to keep your system updated, scan for malware regularly, and check your hardware for any issues. If the errors persist, it is recommended to seek further assistance from a professional technician or Microsoft support.
References
| Number | Source |
|---|---|
| 1 | Microsoft Support |
| 2 | Windows Central |
| 3 | How-To Geek |