Windows Memory Diagnostic Tool in Windows 11 (Beginner’s Guide to Testing Your RAM)

If your Windows 11 PC keeps crashing, freezing, or showing a blue screen of death (BSOD), one of the first suspects is often RAM (memory). Faulty RAM can cause random problems that are hard to explain: apps closing unexpectedly, files getting corrupted, or Windows 11 crashing with strange error codes. That’s where the Windows Memory Diagnostic Tool comes in. This built-in utility checks your computer’s RAM for errors, prevents crashes and data loss.

In this article you’ll learn:

  • What the Windows Memory Diagnostic Tool actually is
  • What it can and cannot do (very important)
  • How to run Windows Memory Diagnostic in Windows 11 step by step
  • How to test your RAM safely and what to expect during the scan
  • When you might want to use a third‑party tool like MemTest86
  • How to read Memory Diagnostic Tool results in Windows 11
  • What to do if Windows Memory Diagnostic Tool gets stuck or never finishes

What Is the Windows Memory Diagnostic Tool?

The Windows Memory Diagnostic Tool is a built‑in RAM test utility provided by Microsoft in Windows 11 (and earlier versions like Windows 10).

Its purpose is simple:

Check your computer’s RAM (memory) for hardware errors.

If your RAM is unstable, damaged, or faulty, you might see:

  • Random blue screen of death (BSOD) errors
  • Programs that crash with no clear reason
  • Freezes or lockups, especially under heavy load (games, video editing, large files)
  • Occasional file corruption or install failures

The Windows Memory Diagnostic Tool does not fix your RAM. It is not a repair tool. Instead, it is a testing tool that helps you answer a key question:

“Is my RAM likely to be bad or unstable?”

Once you know that answer, you can decide what to do next (for example, replace a faulty RAM stick or run more advanced tests).

What the Windows Memory Diagnostic Tool Can and Cannot Do

Understanding the limits of this tool is just as important as knowing how to run it.

What it can do

  • Run a series of memory tests on your RAM.
  • Detect many common hardware errors in your memory modules.
  • Help you confirm whether frequent crashes may be related to bad RAM.
  • Log the results into Event Viewer, so you can review them later.

What it cannot do

  • It does not repair or fix RAM. If the tool finds errors, the solution is usually to replace the faulty memory.
  • It does not guarantee that your RAM is perfect, even if it says “no errors found”. Some subtle or intermittent issues may need more advanced tools.
  • It does not run inside normal Windows 11; it reboots into a special testing mode.

Think of it as a doctor’s test, not the treatment:

  • The tool can tell you, “Something is wrong with this RAM.”
  • But it cannot heal that RAM – only replacement or support from a technician can do that.

When Should You Use Windows Memory Diagnostic in Windows 11?

You don’t need to run memory tests every day. But you should think about using the Windows Memory Diagnostic Tool when you notice:

  • Repeated BSOD / blue screen errors, especially with codes related to memory (like MEMORY_MANAGEMENT, PAGE_FAULT_IN_NONPAGED_AREA, etc.).
  • Random reboots or freezes when running heavy programs or games.
  • Installers or programs are crashing with no clear pattern.
  • You’ve recently added or changed RAM and problems started afterwards.

In all of these cases, running Windows Memory Diagnostic to test your RAM is a good first step in troubleshooting.

How to Use Windows Memory Diagnostic in Windows 11 (Step by Step)

There are several ways to open the tool. You only need to use one of them.

Step 1: Save your work

The Windows Memory Diagnostic Tool will restart your PC. Before doing anything:

  • Save all open documents.
  • Close programs and browsers.

Step 2: Open Windows Memory Diagnostic

You can open it in different ways. Use whichever feels easiest.

Method A: Using the Start menu search

  1. Click the Start button or press Win on your keyboard.
  2. Type Windows Memory Diagnostic.
  3. Click the Windows Memory Diagnostic app when it appears.
Open windows memory diagnostic tool

Method B: Using the Run dialog (mdsched.exe)

  1. Press Win + R on your keyboard to open the Run dialog.
  2. Type:
mdsched.exe
  1. Press Enter.

Step 3: Choose how to run the test

When the Windows Memory Diagnostic window opens, you’ll see two main options:

  • Restart now and check for problems (recommended)
  • Check for problems the next time I start my computer

For most users:

  • Click Restart now and check for problems (recommended).
windows memory diagnostic tool

Your PC will restart, and instead of loading Windows 11 normally, it will boot into the Windows Memory Diagnostic environment.

Step 4: Let the test run

After reboot, you’ll see a blue screen (not a BSOD, but a test screen) that says Windows Memory Diagnostic.

  • By default, the tool runs a Standard test.
  • You’ll see a progress bar and information about the test status and pass count.

For many users, the Standard test is enough for a first check.

Memory diagnostic Standard test

If you want to change the test type (this is optional):

  • Press F1 to open Options.
  • You can choose between:
    • Basic – Quick check.
    • Standard – Default balance of time and depth.
    • Extended – More thorough, but much longer.
  • Use the arrow keys to select a test type.
  • Press F10 to apply and return to the test.
Memory diagnostic test advanced

Then wait. The tool may perform multiple passes depending on the settings.

Step 5: Wait for your PC to reboot

When the test finishes:

  • Your computer will automatically restart.
  • Windows 11 will then boot normally.
  • A notification may appear in the corner saying that no memory errors were detected, but this doesn’t always show up.

Whether or not you see that message, it’s best to check the detailed results in Event Viewer, which we’ll cover later.

How Long Does Windows Memory Diagnostic Take?

The time depends on:

  • How much RAM you have (more RAM = longer tests).
  • Which test type you choose (Basic, Standard, Extended).

As a rough guide:

  • Basic/Standard tests on 8–16 GB of RAM might take anywhere from 5 to 30 minutes.
  • Extended tests can take an hour or more, especially on larger amounts of RAM.

Don’t interrupt the test unless absolutely necessary. Let it complete all passes so you get a reliable result.

Is Windows Memory Diagnostic Tool Enough, or Should You Use MemTest86?

This is a common question and a good one.

The Windows Memory Diagnostic Tool is:

  • Built‑in (no download required)
  • Easy for beginners to run
  • Good as a first test for obvious RAM problems

However, many advanced users and technicians feel it’s not the most sensitive or thorough test compared to dedicated tools.

When to consider MemTest86 (or similar tools)

If you:

  • Still get BSODs or crashes even though Windows Memory Diagnostic reports no errors.
  • Want a more advanced and thorough RAM test.
  • Are comfortable creating and booting from a USB drive.

…then you may want to try a third‑party tool such as MemTest86.

MemTest86:

  • Runs directly from a bootable USB stick (outside Windows).
  • Performs many different, deep memory patterns and tests.
  • Is widely used and respected by technicians to catch subtle RAM issues.

For most beginners, this is optional. A good approach is:

  1. Start with Windows Memory Diagnostic Tool.
  2. If it finds errors → RAM is almost certainly bad, consider replacing it.
  3. If it finds no errors but problems continue → consider MemTest86 or see a professional technician.

How to Read Windows Memory Diagnostic Tool Results in Windows 11

One confusing thing: after the test finishes, Windows 11 may reboot without clearly showing the results on screen.

But don’t worry – the results are stored in Event Viewer.

Here’s how to read them.

Step 1: Open Event Viewer

  1. Press Win + X and choose Event Viewer.
    – or –
  2. Press Win + R, type:
eventvwr.msc

…then press Enter.

Event Viewer may take a few moments to open.

Step 2: Navigate to Memory Diagnostic results

In Event Viewer, follow this path in the left sidebar:

  1. Expand Windows Logs.
  2. Click on System.

Now you’ll see a long list of system events in the middle pane.

To make it easier:

  1. On the right‑hand side, click Filter Current Log….
  2. In the Event sources dropdown, scroll and tick MemoryDiagnostics-Results.
  3. Click OK.

The list will now show only events related to the Windows Memory Diagnostic Tool.

Step 3: Interpret the result

Look for an event with MemoryDiagnostics-Results as the source. Double‑click it to open.

You’ll typically see one of these types of messages:

  • “The Windows Memory Diagnostic tested the computer’s memory and detected no errors.”
    This means no obvious RAM problems were found by this tool.
  • “The Windows Memory Diagnostic tested the computer’s memory and detected hardware errors.”
    This strongly suggests that one or more RAM modules are faulty or unstable.
How to Read Windows Memory Diagnostic Tool Results

If errors were detected, the event may also include extra details, but for most beginners, the key takeaway is:

  • No errors → RAM seems fine based on this test (but not 100% guaranteed).
  • Errors detected → RAM is very likely bad, and you should consider replacing it or testing modules one by one.

What to Do If Windows Memory Diagnostic Tool Finds Errors

Remember: the tool does not fix RAM. If it reports errors, the problem is with the hardware itself.

Here are your realistic options:

  1. If your PC is under warranty
    • Contact the manufacturer’s support (Dell, HP, Lenovo, etc.).
    • Explain that Windows Memory Diagnostic Tool detected memory errors.
    • They may ask for screenshots or logs, then arrange RAM replacement or repair.
  2. If you installed the RAM yourself (desktop PC)
    • Power off the PC and unplug it.
    • Open the case and reseat the RAM (remove and firmly reinsert it).
    • Test again.
    • If errors continue, test one stick at a time (if you have multiple) to find the bad module.
    • Replace the faulty RAM stick with a new one of compatible type and speed.
  3. If you’re not comfortable opening your PC
    • Take the PC to a trusted local technician or service center.
    • Show them the diagnostic result and describe your symptoms.

Do not ignore RAM errors. Faulty memory can lead to:

  • Data corruption
  • More frequent BSODs
  • Unreliable system behavior

What to Do If Windows Memory Diagnostic Tool Is Stuck or Never Finishes

Sometimes, users report that Windows Memory Diagnostic Tool gets stuck on the testing screen, with the progress bar not moving for a very long time.

Here’s how to handle that.

1. Be patient – it might just be slow

If you chose the Extended test and you have a lot of RAM (16 GB, 32 GB, or more), it can look like it’s stuck when it’s just taking a long time.

  • If the percentage is slowly changing, the test is probably still running.
  • For large memory and extended tests, leaving it for 1–2 hours is not unusual.

2. If it’s really frozen (no progress for a long time)

If the percentage, time, and test stage don’t change at all for a long period (for example, over an hour), it may truly be stuck.

In that case:

  1. Force a restart by holding down the power button until the PC turns off.
  2. Turn the PC back on.

If Windows 11 boots normally afterward, do the following:

  • Try running the Standard test instead of Extended.
  • If it always freezes at the same point, it could actually be a sign of:
    • Very bad RAM that can’t even be scanned properly.
    • A deeper system or firmware issue.

In that scenario, consider:

  • Testing RAM modules one at a time (if you can safely open your PC).
  • Using a more advanced tool like MemTest86 from a USB stick.
  • Seeking help from a technician.

3. If the PC can’t boot Windows after a stuck test

If after the test gets stuck and you restart, Windows 11 doesn’t boot properly:

  • Try entering Windows Recovery Environment (WinRE) (e.g., by forcing a few failed boots).
  • Use Startup Repair, System Restore, or Safe Mode to recover the system.

This is rare, but if it happens, you may be dealing with serious hardware faults, not just a glitch in the tool.

Is Windows Memory Diagnostic Tool Enough for Most Users?

For many home users and beginners, the Windows Memory Diagnostic Tool is:

  • Easy to use
  • Free and already installed with Windows 11
  • Good enough to answer: “Is my RAM obviously bad?”

If:

  • The tool reports no errors, and
  • Your PC behaves normally afterward

…you can usually move on to other troubleshooting areas (drivers, disk, software).

If:

  • The tool reports errors, you can treat that as a strong sign that it’s time to replace RAM or get professional help.

For power users, gamers, or people who suspect very subtle RAM problems, tools like MemTest86 offer deeper testing – but that’s an extra step rather than a replacement for the built‑in tool.

Final Thoughts

The Windows Memory Diagnostic Tool in Windows 11 is one of the simplest ways to test your RAM when you suspect memory problems.

It helps you:

  • Quickly check for serious RAM errors without installing anything extra
  • Get clear, logged results in Event Viewer
  • Decide whether you should replace RAM, use a more advanced tester, or look elsewhere for the cause of crashes

Just remember:

  • It is a diagnostic tool, not a repair tool. It won’t fix bad RAM – it only detects it.
  • A clean result doesn’t guarantee perfect memory, but it’s a good sign.
  • If the tool detects errors or gets stuck repeatedly, treat that as a red flag and consider hardware replacement or professional diagnosis.

Frequently Asked Questions

What does the Windows Memory Diagnostic Tool do in Windows 11?

The Windows Memory Diagnostic Tool tests your PC’s RAM for hardware errors. It runs outside normal Windows, performs memory checks, and logs the results so you can see if faulty RAM might be causing crashes or blue screen errors.

Can Windows Memory Diagnostic fix RAM problems?

No. The tool only detects possible memory errors; it does not repair RAM. If the test finds hardware problems, the real fix is usually to reseat, replace, or professionally test the RAM modules.

How do I start Windows Memory Diagnostic in Windows 11?

In Windows 11, search for “Windows Memory Diagnostic” from the Start menu or run mdsched.exe from the Run dialog (Win + R). Then choose “Restart now and check for problems” and let the PC reboot and run the test.

Where can I see the results of Windows Memory Diagnostic?

After the test, open Event Viewer (eventvwr.msc), go to Windows Logs > System, and filter for the source “MemoryDiagnostics-Results”. The event text will say whether errors were detected or if no memory problems were found.

What should I do if Windows Memory Diagnostic Tool is stuck or never finishes?

If the progress doesn’t move for a long time, force a restart by holding the power button. Try running a Standard test instead of Extended, test one RAM stick at a time, or use a more advanced tool like MemTest86. Persistent hangs can be a sign of very bad RAM or deeper hardware issues.