The quickest way to run a memory error diagnostic on Windows is to type mdsched.exe in the Start menu, restart, and let Windows Memory Diagnostic scan, but for a gaming PC with XMP or EXPO enabled a longer bootable test such as MemTest86 is more thorough.
As an Amazon Associate we earn from qualifying purchases at no extra cost to you.
Top 3 picks at a glance
What a Memory Diagnostic Is Looking For
A memory test writes known patterns to RAM, reads them back, and flags any mismatch. A mismatch means a bit changed between write and read, which can come from a faulty module, a marginal memory profile, a poor slot connection, or an unstable memory controller setting. Typical real-world signs include random blue screens (often with stop codes such as MEMORY_MANAGEMENT or PAGE_FAULT_IN_NONPAGED_AREA), application crashes, corrupted files, or a PC that fails to boot after a settings change.
Tool Comparison
| Tool | How it runs | Strength | Limit |
|---|---|---|---|
| Windows Memory Diagnostic (mdsched) | Built into Windows, runs at reboot | No download, quick check | Shorter default passes may miss intermittent faults |
| MemTest86 | Bootable USB, runs outside Windows | Thorough, multiple passes, widely used by reviewers and support teams | Needs a USB drive and several hours for a full run |
| MemTest86+ | Bootable open-source tester | Free and long established | Check that the version supports your platform and boot mode |
| Windows stress tools inside the OS | Runs under Windows | Tests memory while the system is loaded | Cannot test memory used by the operating system itself |
Running Windows Memory Diagnostic
- Save your work. The test needs a restart.
- Press the Windows key, type mdsched.exe, and press Enter.
- Choose to restart now and check for problems.
- The system reboots into a blue diagnostic screen showing progress and any detected problems. Pressing F1 opens options for test mix (basic, standard, extended), cache setting, and pass count.
- When Windows starts again, a result notification may appear. If it does not, open Event Viewer, go to Windows Logs, System, and look for events from the MemoryDiagnostics-Results source.
The extended mix runs more patterns and takes longer, so it is the better selection for chasing an intermittent fault. A clean result from a single quick pass does not prove the memory is healthy.
Running a Bootable Test
- Download the tester from the maker’s own site onto a computer you trust, and write it to a USB drive following the maker’s instructions.
- Boot the affected PC from the USB drive using the motherboard’s boot menu key (the key varies by maker, check the manual).
- Let it complete multiple full passes. Reviewers and the tool’s makers describe several passes as normal for catching intermittent errors, and a few hours of runtime is common for larger memory capacities.
- Any reported error is meaningful. Note the pass number and the test that failed.
Isolating the Cause If Errors Appear
Errors do not automatically mean a bad module. Work through the possibilities in order, changing one thing at a time.
- Turn off XMP or EXPO. Run the memory at the standard JEDEC speed that the BIOS defaults to, then test again. Enabling a profile is a mild overclock, and platforms vary in how well they handle high speeds on four modules.
- Test one stick at a time. Power down, unplug the PC, and remove all but one module. Test, then swap to the next. A stick that fails alone is the faulty one.
- Test in different slots. If a module passes in one slot and fails in another, suspect the slot or its contacts. Use the slots the motherboard manual lists for two-module setups.
- Reseat the modules. Press them firmly until the clips lock, with the PC unplugged.
- Update the BIOS. Motherboard makers publish memory compatibility improvements in BIOS release notes. Read the notes and follow the maker’s update procedure, because a failed update can leave the board unusable.
- Check memory voltage and the vendor’s qualified list. Memory makers and motherboard makers publish qualified vendor lists. Using the maker’s rated settings and not manually raised voltages is the safe route.
BIOS changes and manual voltage adjustments can cause instability and may void warranties, so keep settings conservative.
Symptom, Likely Cause, and Next Step
| Symptom | Likely cause | Next step |
|---|---|---|
| Memory test reports errors with XMP or EXPO on, none at default speed | Profile too aggressive for the platform | Lower the speed, loosen timings, or update the BIOS |
| Errors on one stick only | Faulty module | Replace or claim warranty |
| Errors in one slot only | Slot or contact issue | Reseat, try other slots, contact the board maker |
| Errors with every stick at default settings | Possible CPU memory controller or board issue | Reset BIOS, update BIOS, contact support |
| Test passes, crashes continue | Driver, storage, GPU, or power problem | Check the Windows event log, drivers, and temperatures |
| Only fails with four modules installed | Memory controller load limits | Reduce speed or use two higher-capacity modules |
Reading the Results Correctly
A pass result means the tested patterns completed without a mismatch during that run, not that memory is perfect. Marginal faults can appear only under certain temperatures, loads, or timing combinations. If crashes persist and a quick test passes, repeat with a longer bootable test, and run it with the same settings used in daily gaming. If you run a profile that errors, also see whether the errors vanish at stock settings, because that points to a settings issue rather than a defective stick.
Decision Table
| Pick this if… | Do this |
|---|---|
| You want a fast first look | Run mdsched with the standard or extended mix |
| Crashes are rare and hard to reproduce | Run a bootable tester for several full passes |
| You just enabled XMP or EXPO and things went wrong | Turn the profile off and compare |
| The PC will not boot | Reseat modules, try one stick, clear CMOS following the manual |
| You find a faulty stick | Contact the memory maker about warranty replacement |
Common Mistakes
- Trusting one short pass. Intermittent faults can hide, so use longer runs when symptoms persist.
- Testing with an overclock active and blaming the module. Always compare against stock settings.
- Touching hardware with power connected. Shut down, switch off the supply, and unplug before handling modules.
- Mixing different memory kits. Mismatched kits are a common source of instability, so use a matched kit from one pack.
- Skipping the log. The MemoryDiagnostics-Results entry stores the outcome even if you miss the screen notification.
Frequently Asked Questions
How long should a memory diagnostic run?
A quick Windows pass can finish in minutes, while thorough bootable runs often take hours depending on capacity and number of passes. Longer runs catch more intermittent errors, so use them when crashes keep occurring.
Where do I find Windows Memory Diagnostic results?
After the restart Windows may show a notification. If you miss it, open Event Viewer, go to Windows Logs, System, and filter for the MemoryDiagnostics-Results source to read the outcome.
Does passing the test mean my RAM is fine?
It means no errors were found during that run. Rare faults can still slip through, so if symptoms continue, repeat with a longer bootable test or investigate other parts such as the graphics card and power supply.
Can XMP or EXPO cause memory errors?
Yes. These profiles run memory beyond default speeds, and some CPUs and boards struggle with certain kits. Switching the profile off or choosing a lower speed is a standard first test.
Is it safe to test memory on a laptop?
Yes, the software tests are safe on any PC. Removing laptop memory is more variable, so follow the laptop maker’s service guide, or ask the maker or a technician if modules are not user accessible.
What should I do if one module fails?
Confirm by testing it alone in a known good slot at default settings. If it still errors, stop using it and contact the memory maker or seller for warranty replacement.
Related guides
More from Amazon
Programs that pair well with the guide above. Offers and eligibility are set by Amazon and may change.
Free shipping on eligible items, Prime Video and more. Eligible new members can start with a free trial.
Start a Prime free trialAd-free music streaming. Eligible new subscribers can start with a free trial.
Try Music Unlimited freeA Prime membership for ages 18-24 with a trial period. Eligibility is set by Amazon.
See Prime for Young AdultsAudiobooks and podcasts to listen to on the go. Eligible new members can start with a free trial.
Try Audible freeAs an Amazon Associate we earn from qualifying purchases.



