The fastest way to run Windows Memory Diagnostic is to press Windows key + R, type mdsched.exe, press Enter, and choose “Restart now and check for problems.” The PC reboots into a blue test screen, runs a memory scan, and then returns to Windows, where a notification shows the result.
As an Amazon Associate we earn from qualifying purchases at no extra cost to you.
Top 3 picks at a glance
Quick Steps
- Save your work and close your games and launchers.
- Press Windows key + R, type mdsched.exe, and press Enter. You can also search the Start menu for “Windows Memory Diagnostic.”
- Choose Restart now and check for problems, or choose the second option to run the test at the next boot.
- Let the PC restart. A blue diagnostic screen appears and the test starts by itself.
- When it finishes, Windows restarts and signs you in. The result appears as a notification, and you can read the log in Event Viewer if the notification disappears.
What the Tool Is For
Windows Memory Diagnostic is the memory test built into Windows. It checks installed RAM for errors. It is most relevant when a PC shows symptoms that can point to unstable memory: random blue screens, apps that crash without a pattern, corrupted files that keep returning, or a system that restarts under load. These symptoms have many causes, so a clean result does not close the case, and an error result does not tell you which module is bad on its own.
Choosing a Test Mode
While the blue test screen is running, the keyboard gives access to options. Pressing F1 opens the options page, where you can change the test mix, the cache setting, and the number of passes. Use Tab to move between fields and F10 to apply and resume.
| Test mix | Depth | Best used when |
|---|---|---|
| Basic | Fewest tests, shortest run | A quick sanity check |
| Standard | Default mix, more thorough than Basic | First run for most users |
| Extended | Most tests, longest run | Intermittent problems that a standard run misses |
The passes setting controls how many times the selected tests repeat. More passes take longer but can catch faults that appear only occasionally. An extended run with several passes can take a long time on a large amount of RAM, so start it before you leave the PC unattended.
Finding the Results After the Restart
The result notification can be missed, especially if the PC signs in while you are away. To read the log:
- Right-click Start and open Event Viewer.
- Expand Windows Logs and click System.
- In the right pane choose Find and search for MemoryDiagnostics-Results, or use Filter Current Log and pick that source.
- Open the newest entry. It states whether the memory diagnostic found errors.
If no entry appears, the test may not have completed, for example because it was interrupted by pressing Esc or powering off.
Interpreting the Outcome
| Result | What it suggests | Sensible next step |
|---|---|---|
| No errors detected | No fault found in that run | Try an extended run or a longer third-party test if symptoms persist |
| Hardware problems detected | Possible bad module, slot, or unstable memory settings | Remove memory overclock, test one module at a time, contact the maker |
| Test never finishes or PC freezes | Could be instability or a fault | Reset memory settings to defaults and retry |
| No log found | Test did not complete | Run it again and leave it alone |
Gaming PC Specifics: XMP, EXPO, and Stability
Many gaming systems run memory above the baseline speed using a profile such as Intel XMP or AMD EXPO. Those profiles are enabled in the BIOS, and the menu names differ by motherboard maker, so check the board manual. If the diagnostic reports errors with a profile on, a sensible approach is to return to default memory settings and test again. If the errors vanish, the profile may be unstable with that particular board, CPU, or kit, and the memory or board maker’s support pages may list compatible settings or a BIOS update. Changing BIOS options can cause instability and, depending on the maker, may affect warranty terms, so keep adjustments conservative.
Also remember that unplugging the PC and reseating RAM is a hardware task: turn the system off, unplug it from the wall, and ground yourself before touching the modules. If you are not comfortable, ask a technician.
Isolating a Bad Stick
- Power down and unplug the PC.
- Remove all but one module, using the slot recommended in the motherboard manual.
- Run the diagnostic and note the result.
- Repeat with each module alone, then try the same module in a different slot.
If errors follow one module across slots, that stick is the likely culprit. If errors follow a slot regardless of module, the slot or board may be the issue. Contact the RAM or motherboard maker for a warranty process rather than prying at the hardware.
Alternatives to the Built-In Tool
| Tool | Type | Notes |
|---|---|---|
| Windows Memory Diagnostic | Built in, boots to a test screen | Convenient, no download |
| MemTest86 | Third-party, boots from a USB drive | Widely used by reviewers for longer tests; runs outside Windows |
| Motherboard memory tools | Maker-specific, in BIOS on some boards | Availability varies, see the manual |
Technical outlets commonly suggest running a longer test, sometimes through several passes, when symptoms are intermittent. Because a short run can miss faults that appear only at certain temperatures or with certain data patterns, treat one clean pass as evidence rather than proof.
Common Mistakes
- Interrupting the test. Pressing keys beyond the option shortcuts, or powering off, leaves no result.
- Testing only with the memory overclock on. If you see errors, retest at default speed to separate a bad module from an unstable profile.
- Assuming a pass means the RAM is fine. Intermittent faults can slip through a single standard run.
- Mixing up symptoms. Blue screens can come from drivers, storage, power, or heat. Check driver updates and drive health too.
- Forgetting to save work. The tool restarts the PC right away if you choose the immediate option.
Frequently Asked Questions
How long does Windows Memory Diagnostic take?
It depends on how much RAM is installed and which test mix and pass count are chosen. A standard run is shorter than an extended one, and more passes add time. Plan for a longer wait if you choose extended with multiple passes.
Can I use my PC while the test runs?
No. The test runs before Windows loads, so the PC is unavailable until it finishes. If you chose to run it at the next boot, you can keep working until you next restart.
Where do I see the memory diagnostic results?
A notification usually appears after sign-in. If you missed it, open Event Viewer, go to Windows Logs and then System, and look for entries from the MemoryDiagnostics-Results source.
Does a clean result guarantee my RAM is healthy?
No. A clean run means that test found nothing in that pass. For stubborn crashes, many technical sources suggest a longer or different test, such as an extended run or a bootable tool like MemTest86.
Should I run it with XMP or EXPO enabled?
Test both ways if you suspect instability. Running at the memory’s default settings shows whether the hardware is sound, and running with the profile on shows whether your real configuration is stable. Check your motherboard manual for the profile menu name.
What should I do if errors are reported?
Return memory settings to default, retest, and then test modules individually in different slots. If errors persist with a single module, contact the memory maker or retailer’s warranty channel. Avoid continuing to use a PC that is corrupting data, and back up important files first.
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.


