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 option | What it does | Requirement or catch |
|---|---|---|
| Run | Opens the tool with mdsched | Supply administrator credentials if requested |
| Start search | Finds the tool by name | The tool must be installed |
| Windows Search | Finds the tool using Windows + S | Available route on Windows 11 and Windows 10 |
| Control Panel search | Finds the memory diagnostic entry | The tool must be included in your installation |
| Immediate Standard test | Restarts and begins the default test | Save work and close apps first |
| Next startup test | Schedules testing for your next startup | Save work before restarting later |
| Extended test | Runs more thorough testing | Takes longer than Standard |
| Result notification | Shows the result after you sign in | May take several minutes to appear |
| Event Viewer | Shows a saved result | Requires a recorded System log entry |
| Boot Manager tools menu | Adds the diagnostic to the tools list | Requires 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.
mdschedSelect 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} /addlastWhen 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.