|

How To Run Windows Memory Diagnostic (2026)

Windows Memory Diagnostic is the built-in tool that tests your PC’s RAM for errors.

It runs outside Windows after a restart, so you need to save your work first.

This guide follows Microsoft’s own steps, including the Extended test and where to find the results afterward.

Table of Contents

Quick answer: run the tool in five steps

StepWhat to do
1Save your work and close all apps
2Press Windows key + R, type mdsched, and select OK
3Select Restart now and check for problems (recommended)
4Wait while the test runs after the restart
5Sign in and read the results notification

When to run the test

Microsoft lists running hardware and memory tests among its general steps for stop errors and blue screens.

Microsoft also recommends the Windows Memory Diagnostic on its IRQL_NOT_LESS_OR_EQUAL page, after you update drivers.

Microsoft’s Surface support page suggests it when Windows stops responding more than once.

Run Windows Memory Diagnostic with mdsched

  1. Save your work and close all apps.
  2. Right-click the Start menu and select Run, or press Windows key + R.
  3. Type mdsched next to Open and select OK.
  4. If User Account Control appears, enter credentials for an administrator account and select Yes.
  5. In the Windows Memory Diagnostic window, select Restart now and check for problems (recommended).

Your PC restarts and the diagnostic starts on its own.

  1. Select the search box in the taskbar and type memory.
  2. Select Windows Memory Diagnostic in the results.
  3. Select Restart now and check for problems (recommended).

Both routes open the same tool, so use whichever you find faster.

What you see during the test

Microsoft says the tool shows its progress on screen after the restart.

The screen may look inactive while the test runs, so avoid turning the PC off.

Windows restarts again by itself when testing finishes.

Run the Extended test

Standard tests run by default, and Microsoft says the Extended test is more thorough but takes longer.

  1. On the Windows Memory Diagnostic Tool screen, press F1.
  2. Under Test Mix, use the arrow keys to change Standard to Extended.
  3. Press F10 to apply the setting and continue.
Test mixHow to choose itTrade-off
StandardDefault, no key press neededFaster
ExtendedF1, arrow keys, then F10More thorough, takes longer

Read the results

When the tests finish, the device restarts to the sign-in screen.

After you sign in, a Windows Memory Diagnostic notification shows the result, and Microsoft says it may take a few minutes to appear.

Find the results in Event Viewer

If you missed or dismissed the notification, you can still read the result in Event Viewer.

  1. Right-click the Start menu and select Event Viewer.
  2. Go to Event Viewer (Local) > Application and Services Logs > Microsoft > Windows > MemoryDiagnostics-Results > Debug.
  3. Select a message in the results pane to see its details.
Event IDMeaning according to Microsoft
2001No memory errors were detected

Microsoft’s page does not describe other event IDs, so read the message details for anything else.

What to do after the test

Microsoft gives no specific repair steps for a failed memory test on its page, and points to its guide for resolving blue screen errors.

Microsoft’s Surface page continues with the Error Checking tool, which scans the hard drive for errors.

Our guide to checking and repairing drive errors in Windows 11 covers that step.

Other steps Microsoft lists for stop errors

The memory test is one item in Microsoft Learn’s general checklist for blue screens, so work through the rest if it finds nothing.

StepMicrosoft Learn wording
UpdatesInstall the latest Windows updates, cumulative updates and rollups
FirmwareUpdate the BIOS and firmware to the latest versions
MalwareRun Microsoft Safety Scanner or another virus scan
Disk spaceKeep about 10 to 15 percent of the disk free
DriversContact the vendor for updated drivers if the message names a driver

Microsoft says that if no driver update exists, you can disable the related service, and it also mentions clean boot and rolling back a driver.

Change one thing at a time so you can tell which step fixed the crashes.

Update drivers first

Microsoft’s IRQL_NOT_LESS_OR_EQUAL page puts driver updates ahead of the memory check.

  • Turn on receiving updates for other Microsoft products in Windows Update advanced options.
  • Install everything under Optional updates.
  • Check for updates, install all of them, and restart.
  • If Windows Update offers no driver update, check the device manufacturer’s website.

If the crash names a memory stop code, see how to fix the MEMORY_MANAGEMENT blue screen.

If Windows shows less RAM than you installed, see RAM not detected or showing less than installed.

For general crashes, start with blue screen of death errors on Windows 11.

Official sources

Leave a Reply

Your email address will not be published. Required fields are marked *