The Hidden Cause of Random Blue Screens
If your Windows computer keeps crashing randomly, freezing completely, or displaying the dreaded “Blue Screen of Death” (BSOD) with confusing error codes like IRQL_NOT_LESS_OR_EQUAL or MEMORY_MANAGEMENT, you probably have a hardware problem. Most users immediately assume their graphics card or hard drive is dying.
However, one of the most common—and most frequently overlooked—causes of total system instability is failing RAM (Random Access Memory). RAM is essentially your computer’s short-term workspace. If one tiny memory chip develops a physical fault, it can accidentally corrupt the data passing through it. When Windows tries to read that corrupted data, the operating system panics and instantly shuts down the computer to prevent permanent damage to your files.
Because RAM issues are so difficult to diagnose manually, Microsoft includes a built-in stress-testing tool in Windows designed specifically to hunt down faulty memory chips. It is called the Windows Memory Diagnostic tool.
How to Run the Windows Memory Diagnostic Tool
You do not need to download any third-party software to perform a basic memory test. The tool is already installed on your computer, but you cannot run it while you are working. Because the tool needs exclusive access to the memory chips, it must reboot your computer and run before Windows even starts.
- Save all of your open work and close any running applications.
- Click the Start button on your taskbar.
- In the search bar, type Windows Memory Diagnostic and click the app when it appears in the search results.
- A small dialogue box will appear with two options.
- Click Restart now and check for problems (recommended).
Your computer will instantly reboot. Instead of seeing your normal lock screen, you will be greeted by a bright blue screen with a progress bar. (Do not worry, this is not a crash screen; this is the diagnostic tool running).
Understanding the Test Process
The tool will automatically begin running a two-pass memory stress test. It works by rapidly writing complex patterns of data to every single sector of your RAM, and then reading it back to see if the data has been corrupted.
- The standard test usually takes anywhere from 15 to 30 minutes, depending on how much RAM you have installed in your system (a computer with 64GB of RAM will take much longer to test than a computer with 8GB).
- Do not touch your keyboard or turn off the computer while this test is running. Leave it alone.
- If the tool finds a physical hardware error, it will immediately display a red warning message on the screen stating: “Hardware problems were detected.”
Once the test reaches 100%, the computer will reboot automatically and load back into your standard Windows desktop.
How to Find the Test Results in Windows
Occasionally, Windows will display a small notification bubble in the bottom right corner with your test results as soon as you log in. However, this notification is notoriously unreliable and often disappears before you can read it. If you missed it, you have to dig into the system logs to find the report.
- Click the Start button, type Event Viewer, and press Enter to open the app.
- In the left-hand menu pane, click the small arrow next to Windows Logs to expand the folder.
- Under Windows Logs, click on System.
- You will see thousands of confusing system events in the middle pane. To find the specific memory report, look at the far-right pane and click on Find…
- In the search box, type exactly: MemoryDiagnostics-Results and click Find Next.
- Close the search box. The Event Viewer will have highlighted the specific log entry for your test.
- Look at the “General” tab in the bottom pane. If it says “The Windows Memory Diagnostic tested the computer’s memory and detected no errors,” your RAM is perfectly healthy. Your crashing issue is being caused by something else (likely a bad driver or a failing hard drive).
What to Do if the Test Fails
If the test reports that hardware errors were detected, there is no software fix. You cannot “repair” physical RAM damage with an update. You have a hardware failure.
If you have a desktop PC with multiple sticks of RAM installed, you need to find out which specific stick is broken. Turn off your computer, open the case, and remove all the RAM sticks except for one. Run the Windows Memory Diagnostic test again. If it passes, turn off the PC, swap that stick for the next one, and repeat the test until you find the specific stick that triggers the error. Throw the bad stick away and buy a replacement.
If you have a laptop, the situation is more complex. If the RAM is socketed, you can simply open the bottom panel and replace it. However, if you have a thin-and-light laptop where the RAM is permanently soldered directly to the motherboard, the entire motherboard will need to be replaced by a repair technician.