Skip to content
PCTestHub
Guide · Memory

How to Test Your RAM in Windows and Read the Result

Windows includes a free memory test. How to run it, where the result hides, when to use MemTest86 and what to do with errors.

In this guide

You don't need to install anything to test your RAM in Windows: Windows includes Windows Memory Diagnostic (mdsched), which restarts the PC and checks the memory before Windows loads. If you want a longer test, or the computer can't start Windows, use MemTest86 from a USB flash drive. This guide explains both, how to read the result and what to do if errors show up.

None of these tests erases your files. The only thing erased is the USB drive you use for MemTest86.

1. When it is worth testing your RAM

  • Recurring blue screens, especially MEMORY_MANAGEMENT or IRQL_NOT_LESS_OR_EQUAL: Microsoft lists the memory test among the steps for the latter. You can look up the code in Windows error codes or load the crash file into the Minidump analyzer.
  • Random restarts or freezes, programs that close on their own, or files that get corrupted when you copy them.
  • After adding or replacing memory, or after turning on an XMP or EXPO profile in the BIOS.

2. Windows Memory Diagnostic, step by step

  1. Save your work and close your programs: the computer is going to restart.
  2. Press Windows + R, type mdsched and press OK. Windows may ask for administrator permission.
  3. Choose Restart now and check for problems (recommended).
  4. The computer restarts into a blue screen that shows the test's progress. It takes a while and may look stuck: don't turn it off. When it finishes, Windows starts on its own.

3. Extended test: more thorough, slower

According to Microsoft, the Standard test runs by default. The Extended test is more thorough but takes longer. To change it while the test is running:

  1. Press F1 to open the options.
  2. Under "Test Mix", use the arrow keys to choose Extended.
  3. Press F10 to apply and continue.

It is worth running if the Standard test found nothing but the symptoms continue.

4. Where to see the result

When you sign in, Windows shows a notification with the result; Microsoft notes it may take a few minutes to appear. If you missed it:

  1. Search for Event Viewer in the Start menu and open it.
  2. Go to Applications and Services Logs › Microsoft › Windows › MemoryDiagnostics-Results › Debug.
  3. Each test appears as an event. Click the most recent one to see the details.
What you seeWhat it means
Event with ID 2001.According to Microsoft, no memory errors were detected.
The details say hardware errors were detected.The test found a problem: go to step 6.
There is no result at all.Most likely the test didn't finish: run it again and let it complete.

5. MemTest86: testing from a USB drive

MemTest86 is a memory test that boots from a USB flash drive, without Windows. It has a free edition, which is enough to check your RAM, and it is signed to boot with Secure Boot turned on. It helps when you want a longer test than Windows' or when the computer can't load Windows.

  1. From the official site, download the MemTest86 USB image for Windows (free edition).
  2. Unzip the file and run imageUSB, which comes with it.
  3. Choose the USB drive and create it. Everything on the USB drive is erased.
  4. With the USB drive plugged in, turn on the computer and open the boot menu (F12 on Dell and Lenovo, Esc then F9 on HP, F11 on MSI; the full table is in how to reset or reinstall Windows). Choose the USB drive.
  5. The test starts on its own. Let it finish every pass: according to MemTest86, the first pass is shorter than the following ones and results can differ from one pass to the next.

6. If errors show up

MemTest86 says every valid memory error should be fixed, even a single one or one that appears only now and then. The most common cause is a failed RAM module, but the test also exercises the processor and the motherboard. Its recommendations, from the simplest to the final one:

  1. Reseat the modules. With the computer off and unplugged, remove them and put them back (or move them to another slot): this cleans dirty or corroded contacts. Run the test again.
  2. Test the modules one at a time. If there is more than one, leave just one, test, and repeat with each: the one that fails is the one to replace.
  3. Turn off XMP or EXPO in the BIOS (or go back to the memory's default timings) and test again: if there are no errors that way, the memory can't hold that speed in your computer.
  4. Update the BIOS, which can fix memory incompatibilities. See how to do it safely in how to update your BIOS.
  5. Replace the failed module: according to MemTest86, it is the most common fix. To choose a compatible one, follow how to upgrade laptop RAM.

In many laptops the memory is soldered to the motherboard: if the test fails and there are no modules to remove, the repair is on the board, so take it to a repair service (or to the maker's support if it is under warranty).

Sources

Official sources checked on November 21, 2026. Menu names may vary with the Windows version.

Leer en español