Windows 11/10 has a Memory Diagnostic Tool that you can use to check for possible memory problems, including testing the Random Access Memory (RAM) on your computer. The tool helps you identify memory issues and typically takes 20 minutes to complete.

How to run Windows Memory Diagnostics Tool in Windows 11
If Windows 11/10 detects a possible memory problem, you will receive a notification. Click the notification to open it. If you wish to run Windows Memory Diagnostics Tool on-demand, do the following:
- Open Control Panel and type ‘memory‘ in the search bar. Click on ‘Diagnose computer memory problems’ to open it.
- Alternatively, you can also type ‘mdsched‘ in Start search and hit Enter to open it.
- Choose between two options for when to run the Memory Diagnostics Tool.
- You can Restart now and check for problems.
- Or you can select Check for problems the next time I start my computer.

If you choose to restart your computer and run the tool immediately, ensure that you save your work and close all open programs. The Memory Diagnostics Tool will run automatically when you restart your Windows system.
Two Test Passes will be run.

Advanced options for running the Memory Diagnostics Tool:
For most users, letting the Memory Diagnostics Tool run automatically is the recommended option. However, advanced users might want to adjust the tool’s settings. When the Memory Diagnostics Tool starts, press F1.
You can adjust the following settings:
- Test mix. Choose what type of test you want to run: Basic, Standard, or Extended. The choices are described in the tool.
- Cache. Choose the cache setting you want for each test: Default, On, or Off.
- Pass count. Type the number of times you want to repeat the test.
The default is Standard, and it includes all the Basic tests, plus LRAND, Stride6, WMATS+, WINVC, etc.

The Basic test covers MATS+, INVC, and SCHCKR.

The Advanced test includes all Basic and Standard tests plus Stride38, WSCHKA, WStride-6, CHCKR4, WCHCKR3, ERAND, Stride6, CHCKR8, etc.

If you change your options, press F10 to save and start the test.
Else you may press Esc to continue running the default test.

It might take several minutes for the tool to finish checking your computer’s memory.
Read: Windows Memory Diagnostic Tool stuck?
Once the test is completed, Windows will restart automatically. If the tool detects errors, you should contact your computer manufacturer for information about fixing them since memory errors usually indicate a problem with the memory chips in your computer or other hardware problem.
This post will show you how to check Windows Memory Diagnostic results.
You may also want to try some Advanced Memory Diagnostic on Windows, with Memtest86+, and maybe check out some more PC Stress Test free software.
TIP: You can test RAM using free tools like MemTest, MemTest64, MemTest86, MemTest86+, etc.
Is Windows Memory Diagnostic tool any good?
It’s an excellent program and a free tool to check if there is anything wrong with your RAM. If the tool shows any symptom of an issue, then you can further check with another program. Along with the standard checking tool, it also offers checks such as ERAND, Stride6, CHCKR8 to find problems with the installed RAM.
Read: How to run System Diagnostics using System Information Tool?
Why does Windows Memory Diagnostic Tool take so long?
It doesn’t perform a single test and provide a result. Instead, it runs multiple tests, and if it finds a problem, it notifies you. Combined with the amount of RAM, it takes even longer. Use this tool when you have a memory issue and want to verify the problem before replacing it.
Read: Windows Memory Diagnostic displaying no results.
Can I exit Windows Memory Diagnostic Tool?
It only tests memory, so it should be fine even if you exit in between. However, you will need to force the PC to shut down to exit the tool. I would still suggest waiting it out. Keep the PC plugged in, and do something else in the meantime.
Read: Windows stuck on Black Screen after running Memory Diagnostic
Can RAM suddenly go bad?
Any hardware can malfunction over time or due to a manufacturing defect. The same applies to RAM. If everything appears to be in order, a memory test can help determine whether the RAM is the issue. If there is a fault, replace it with new RAM.
TIP: See this post if you receive Only part of a ReadProcessMemory or WriteProcessMemory request was completed message.