How to Test PC RAM for Errors – Asantata34

Asan TataAsan Tata— October 9, 2026
Join WhatsAppJoin Now

Learning How to Test PC RAM for Errors is one of the most useful troubleshooting skills a PC owner can pick up. Random-access memory (RAM) rarely fails loudly — it fails quietly, causing random blue screens, corrupted files, applications that crash for no obvious reason, and freezes that make you suspect everything else first. Because faulty RAM can corrupt data silently, testing your memory properly is worth the small amount of time it takes.

This guide walks you through the signs of failing RAM and shows you two proven ways to test it: the built-in Windows Memory Diagnostic for a quick check, and MemTest86, the industry-standard bootable tool, for a thorough one. You’ll also learn how to read the results and what to do next if your RAM turns out to be faulty.

Quick Answer

To test your PC RAM for errors, run the built-in Windows Memory Diagnostic (press Windows + R, type mdsched.exe, and restart when prompted) for a quick two-pass scan, or create a bootable MemTest86 USB drive for a deep overnight test. If either tool reports errors, the affected stick should be replaced — software cannot fix physically failing memory.

Signs Your RAM Might Have Errors

Bad memory is famous for disguising itself as other problems. Before running any test, it helps to know whether your symptoms actually point at RAM. The most common warning signs include:

  • Frequent blue screens (BSODs) with different error codes each time — if the code keeps changing, that’s a classic RAM signature.
  • Random freezes and reboots with no overheating or obvious trigger.
  • Files that corrupt unexpectedly — downloads fail their checks, saved documents come back damaged, or games crash with texture glitches.
  • Applications crash constantly, especially memory-heavy ones like video editors, browsers with many tabs, or games.
  • The PC fails to boot, gets stuck during startup, or shows less RAM in Windows than the amount physically installed.
  • Performance degrades over time after the PC has been running a while, even though temperatures look normal.

If none of your memory is detected at all, the problem may be seating or compatibility rather than errors — our guide to fixing RAM that isn’t detected covers that separately. And if only one of several sticks is misbehaving, see how to fix one RAM stick not working.

How to Test PC RAM for Errors with Windows Memory Diagnostic

The fastest way to test PC RAM for errors is the tool Microsoft already put inside Windows. Windows Memory Diagnostic runs outside of Windows (on restart), which lets it test memory that Windows itself would otherwise be using. It’s not the most exhaustive test available, but it’s free, safe, and catches obvious failures.

Step-by-step: running the scan

  1. Save your work and close open programs.
  2. Press Windows + R, type mdsched.exe, and press Enter.
  3. Choose “Restart now and check for problems”.
  4. Your PC will reboot into a blue test screen. The standard scan runs two passes and usually takes 10–30 minutes depending on your RAM size.
  5. When finished, Windows boots back to the desktop. Results appear as a notification; if you miss it, press Windows + X, open Event Viewer, and look under Windows Logs → System for an entry from the MemoryDiagnostics-Results source.

Getting a deeper scan from the same tool

On the blue test screen, press F1 to open the options menu. Here you can switch the test mix to Extended (more test patterns) and set the pass count to 2 for extra confidence. An extended scan can take an hour or more, but it’s noticeably more thorough than the standard run.

Test settingTime required (typical 16 GB)How thorough
Standard, 2 passes10–30 minutesGood for obvious faults
Extended, 2 passes1–3 hoursGood for intermittent faults

If the diagnostic reports “hardware problems were detected,” at least one of your memory sticks is faulty. Move on to the isolation steps further down before buying replacements.

Testing with MemTest86: The Thorough Method

When Windows Memory Diagnostic comes back clean but your crashes continue, the next step is MemTest86, the long-standing bootable memory tester. Because it runs without Windows loaded, it can test nearly every byte of your RAM, including regions Windows reserves for itself. Technicians have trusted it for decades, and it’s free for personal use.

What you need

  • A USB flash drive (at least 1 GB — it will be erased).
  • A second working computer or your phone to download the MemTest86 image, if your PC is too unstable to do it itself.
  • About an hour to set up, plus several hours for the test itself (overnight is ideal).

Step-by-step: creating and running the test

  1. Download the MemTest86 USB image and write it to your flash drive using the included image tool.
  2. Plug the drive into the PC you’re testing and power it on.
  3. Enter the boot menu (common keys: F12, F8, or Esc — watch the startup screen for the prompt) and select the USB drive.
  4. MemTest86 starts automatically and begins testing. The free version runs a solid battery of test patterns across multiple passes.
  5. Let it run for at least 4 passes, or ideally a full overnight session. One clean pass is encouraging; four clean passes is convincing.
  6. Any red lines in the error column mean defective memory. Note the failing addresses — they tell you which region is bad.

How many passes are enough?

Memory errors can be intermittent — a stick that passes once may fail on the third pass when it’s warm. As a rule of thumb:

  • 1 pass: catches dead or severely damaged sticks.
  • 4 passes: the commonly recommended minimum for a confident result.
  • 8+ passes / overnight: the gold standard for diagnosing rare, temperature-dependent errors.

Comparing the Two Test Methods

FeatureWindows Memory DiagnosticMemTest86
CostFree, built into WindowsFree for personal use
SetupNone — already installedRequires a bootable USB drive
Memory coverageMost RAM (some reserved by the test itself)Nearly all RAM (runs without an OS)
Typical duration10–30 minutes (standard)Several hours (recommended)
Best forQuick first checkDefinitive diagnosis

What to Do When Errors Are Found

Finding errors is only half the job — now you need to identify which stick is bad, because replacing the wrong one wastes money.

Isolate the faulty stick

  1. Power down the PC, unplug it, and ground yourself by touching the metal case.
  2. If you have multiple sticks, remove all but one, then re-run the memory test.
  3. Test each stick individually, in the same motherboard slot. The one that produces errors is your culprit.
  4. If a stick fails in every slot but other sticks pass in those slots, the stick itself is bad. If every stick fails in one particular slot, the motherboard slot may be the problem.

Try these before replacing

  • Reseat the RAM — remove each stick and push it firmly back in until the clips click. Loose seating causes errors that look like bad memory.
  • Clean the contacts — dust on the gold pins can cause intermittent faults. A soft pencil eraser or isopropyl alcohol on a lint-free cloth works.
  • Disable XMP/EXPO overclocking in the BIOS. Memory running above its rated speed can produce errors; test at stock speeds (usually 2133 or 2400 MHz) to see if the errors disappear.
  • Update the BIOS — some motherboards ship with memory compatibility bugs that later BIOS versions fix.

When replacement is the answer

If a stick fails even at stock speeds after reseating, it needs replacing. Check whether it’s still under warranty — most RAM carries a lifetime or multi-year warranty, and UAE consumer protection rules support your right to a remedy for faulty goods bought locally. Replace sticks in matched pairs where possible, and buy the same speed and timings as your working sticks for a stable system.

For a broader walkthrough of diagnosing faulty components step by step, see our complete PC hardware troubleshooting guide.

Frequently Asked Questions (FAQs)

How long does a RAM test take?

Windows Memory Diagnostic takes 10–30 minutes on a standard scan, or 1–3 hours on the extended setting. MemTest86 should run for at least 4 passes (several hours); an overnight run of 8+ passes is the most reliable.

Can bad RAM damage my PC or my files?

Bad RAM won’t physically damage other components, but it absolutely can corrupt files, damage your Windows installation, and cause data loss. If you suspect memory errors, back up important files before running long tests.

Is Windows Memory Diagnostic enough, or do I need MemTest86?

Windows Memory Diagnostic catches obvious failures and is a great first step. But it can’t test the memory it reserves for itself, so subtle or intermittent errors can slip through. If your PC still crashes after a clean Windows test, run MemTest86 for a definitive answer.

Can faulty RAM be repaired, or must it be replaced?

Physically failing RAM cannot be repaired by software. Sometimes “errors” turn out to be loose seating, dust, or unstable overclocking — those are fixable. Genuine hardware errors mean the stick should be replaced, ideally under warranty.

Does testing RAM erase my data?

No. Memory tests only write test patterns to RAM (temporary memory) and do not touch your hard drive or SSD. Your files are safe during testing.

Should I test RAM on a brand-new PC?

Yes — running MemTest86 overnight on a new build or new laptop is a smart move. Manufacturing defects in memory are rare but real, and it’s far easier to return or warranty a stick within the first days of ownership.

The Bottom Line

Testing your PC RAM for errors is straightforward: start with the built-in Windows Memory Diagnostic for a quick check, then run MemTest86 overnight if you need certainty. Intermittent crashes with ever-changing error codes are the classic sign of bad memory, and once you’ve isolated the faulty stick, replacement — usually under warranty — is the fix. A few hours of testing now can save you from months of mysterious crashes and corrupted files.

Last Updated: 8 October 2026

About the author: Asan Tata is a UAE-focused writer at Asantata34, covering driving, visas, banking, insurance and everyday UAE life. His guides are researched from official UAE government and regulator sources and updated regularly.

Asantata34 is an independent informational website, not affiliated with the UAE government or any agency mentioned; content is general information only, not legal, immigration or financial advice; verify critical details with official sources before acting.

Asan Tata
Asan Tata

Asan Tata is an independent information platform providing simple, practical guides on UAE visas, banking, insurance, driving licences, and government-related services. Our team researches information from reliable and official sources to make complex topics easier to understand.

Join WhatsAppJoin Now

Leave a Comment