How to Use the Windows Memory Diagnostic Tool

Use the Windows memory diagnostic tool to check your RAM, run Standard or Extended tests, and find your results after Windows restarts.

Contents

Don't Miss the Good Stuff

Get tech news that matters delivered to your inbox.

To check your RAM with Windows Memory Diagnostic, save your work and close apps, press Windows + R, enter mdsched, select OK, then select Restart now and check for problems (recommended). These steps apply to Windows 11 and Windows 10 installations that include the tool.

The short version

  • Open the tool: Press Windows + R and run mdsched.
  • Choose your timing: Save your work before restarting, or schedule testing for your next startup.
  • Choose the test: The default Standard test runs automatically, while Extended testing is more thorough and takes longer.
  • Read the result: Check the notification after signing in or find the saved result in Event Viewer.

Method or optionWhat it doesRequirement or catch
RunOpens the tool with mdschedSupply administrator credentials if requested
Start searchFinds the tool by nameThe tool must be installed
Windows SearchFinds the tool using Windows + SAvailable route on Windows 11 and Windows 10
Control Panel searchFinds the memory diagnostic entryThe tool must be included in your installation
Immediate Standard testRestarts and begins the default testSave work and close apps first
Next startup testSchedules testing for your next startupSave work before restarting later
Extended testRuns more thorough testingTakes longer than Standard
Result notificationShows the result after you sign inMay take several minutes to appear
Event ViewerShows a saved resultRequires a recorded System log entry
Boot Manager tools menuAdds the diagnostic to the tools listRequires an existing entry and a configuration that displays the menu

Open Windows Memory Diagnostic

Save your work and close your apps before starting. Press Windows + R to open Run, then enter the following command in the Open: field.

mdsched

Select OK to open Windows Memory Diagnostic. If User Account Control requests administrator credentials, supply them and select Yes.

Choose when to restart and test

After saving your work and closing your apps, select Restart now and check for problems (recommended) to begin immediately. Your computer restarts and automatically runs the Standard tests. Allow testing to finish; Windows restarts automatically afterward.

If you want to test later, select Check for problems the next time I start my computer. Save your work before subsequently restarting the PC. The diagnostic runs during that startup.

Switch to Extended testing

For a more thorough check, press F1 while the diagnostic is running. Under Test Mix:, use the arrow keys to select Extended instead of Standard. Press F10 to apply your selection and continue testing.

The Extended test takes longer, so allow extra time for it to finish. Once testing completes, let Windows restart automatically, then sign in to read the result.

Read the result notification

After Windows restarts, sign in and watch for the Windows Memory Diagnostic notification near the taskbar clock. Microsoft says it might take a few minutes to appear. If you do not see it, check for a saved result in Event Viewer.

Find saved results in Event Viewer

Open Event Viewer, expand Windows Logs, then select System. Locate the MemoryDiagnostics-Results entry corresponding to your test and open it to read the result. This route requires a completed diagnostic with a recorded result in the System log.

Add the diagnostic to the Boot Manager tools menu

If your PC has an existing {memdiag} entry and a boot configuration that displays the Boot Manager tools menu, you can add the diagnostic to that list. Menu visibility depends on the boot configuration, so this route is not a universal startup key shortcut. Microsoft notes that BCDEdit changes can require adjustments to BitLocker or Secure Boot.

Open an elevated Command Prompt. Enter the following command to add the existing diagnostic entry to the end of the tools list.

bcdedit /toolsdisplayorder {memdiag} /addlast

When the Boot Manager tools menu is displayed, select the memory diagnostic entry. If your boot configuration does not display that menu, open the tool through Run instead.

Frequently Asked Questions

Can you open Run without using the keyboard shortcut?

Right-click Start and select Run. Enter mdsched in the Open: field and select OK.

Can you launch Windows Memory Diagnostic from Start search?

Select Start and type Windows Memory Diagnostic. Press Enter to open the tool on a Windows PC that has it installed.

What keyboard shortcut opens Windows Search for the diagnostic?

On Windows 11 or Windows 10, press Windows + S. Type Windows Memory Diagnostic and select Windows Memory Diagnostic.

Where can you find the diagnostic in Control Panel?

Open Control Panel and search for Memory. Select Diagnose your computer's memory problems to open the diagnostic on a Windows installation that includes the tool.

Share