How to Run a Memory Test on Windows 10

To run a memory test on Windows 10, press Windows + R, type mdsched.exe, press Enter, and choose Restart now and check for problems. Windows restarts, runs Windows Memory Diagnostic for several minutes, and then shows the result after you sign in. If any errors appear, one of your RAM sticks is likely faulty.

Save your work first. The test runs before Windows starts, so you can’t use the PC while it runs.

Note: Windows 10 reached end of support on October 14, 2025. Consumer Extended Security Updates (ESU) now run until October 12, 2027. The same tool works on Windows 11.

Quick Answer

Run mdsched.exe, select Restart now and check for problems, wait for the test to finish, and read the result after Windows restarts.

Run Windows Memory Diagnostic

  1. Save your work and close open apps.
  2. Press Windows + R, type mdsched.exe, and press Enter. You can also search for Windows Memory Diagnostic in Start.
  3. Select Restart now and check for problems (recommended).
  4. Wait while the blue test screen runs. The standard test takes about 10 to 20 minutes, depending on how much RAM you have.
  5. After Windows restarts and you sign in, a notification shows the result.
Memory diagnostic window with the Restart now and check for problems option highlighted
Choose Restart now to test immediately, or schedule it for the next startup.

Run a More Thorough Test

  1. While the test screen is running, press F1.
  2. Use the arrow keys to choose Extended under Test Mix.
  3. Press F10 to start. The extended test can take an hour or more.

Find the Results Later

  1. Right-click Start and select Event Viewer.
  2. Go to Windows Logs > System.
  3. Select Find in the right pane, type MemoryDiagnostics-Results, and press Enter.
  4. Read the General tab. “No errors” means the memory passed.

What the Results Mean

Result What to do
No errors detected RAM is probably fine. Look for other causes, such as drivers or storage.
Hardware problems were detected Test one RAM stick at a time to find the bad one, then replace it.
Test didn’t finish or PC froze That also points to a memory or stability problem. Reseat the RAM and try again.

When to Run a Memory Test

  • Blue screens with errors such as MEMORY_MANAGEMENT. See how to fix a Windows 10 blue screen.
  • Random freezes, restarts, or corrupted files.
  • After installing new RAM.

Troubleshooting

  • No result notification: Check Event Viewer as shown above.
  • The test passes but problems continue: Windows Memory Diagnostic can miss intermittent faults. Try the extended test, or test sticks one at a time. Our guide to running diagnostics on Windows 10 covers other hardware checks.
  • The PC won’t start after new RAM: Reseat the modules and make sure they match your motherboard’s supported type.

Frequently Asked Questions

Is Windows Memory Diagnostic accurate?

It catches most failing RAM. For stubborn problems, a longer third-party bootable memory tester can run more passes.

Does the test delete any files?

No. It only reads and writes test patterns to memory.

Summary

  1. Run mdsched.exe and restart.
  2. Press F1 for the extended test if needed.
  3. Read the result after sign-in or in Event Viewer.
  4. Replace RAM that shows errors.