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
- When to run the test
- Run Windows Memory Diagnostic with mdsched
- Open it from the taskbar search box instead
- What you see during the test
- Run the Extended test
- Read the results
- Find the results in Event Viewer
- What to do after the test
- Other steps Microsoft lists for stop errors
- Update drivers first
- Related guides
- Official sources
- More Windows guides
Quick answer: run the tool in five steps
| Step | What to do |
|---|---|
| 1 | Save your work and close all apps |
| 2 | Press Windows key + R, type mdsched, and select OK |
| 3 | Select Restart now and check for problems (recommended) |
| 4 | Wait while the test runs after the restart |
| 5 | Sign 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
- Save your work and close all apps.
- Right-click the Start menu and select Run, or press Windows key + R.
- Type
mdschednext to Open and select OK. - If User Account Control appears, enter credentials for an administrator account and select Yes.
- In the Windows Memory Diagnostic window, select Restart now and check for problems (recommended).
Your PC restarts and the diagnostic starts on its own.
Open it from the taskbar search box instead
- Select the search box in the taskbar and type memory.
- Select Windows Memory Diagnostic in the results.
- 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.
- On the Windows Memory Diagnostic Tool screen, press F1.
- Under Test Mix, use the arrow keys to change Standard to Extended.
- Press F10 to apply the setting and continue.
| Test mix | How to choose it | Trade-off |
|---|---|---|
| Standard | Default, no key press needed | Faster |
| Extended | F1, arrow keys, then F10 | More 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.
- Right-click the Start menu and select Event Viewer.
- Go to Event Viewer (Local) > Application and Services Logs > Microsoft > Windows > MemoryDiagnostics-Results > Debug.
- Select a message in the results pane to see its details.
| Event ID | Meaning according to Microsoft |
|---|---|
| 2001 | No 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.
| Step | Microsoft Learn wording |
|---|---|
| Updates | Install the latest Windows updates, cumulative updates and rollups |
| Firmware | Update the BIOS and firmware to the latest versions |
| Malware | Run Microsoft Safety Scanner or another virus scan |
| Disk space | Keep about 10 to 15 percent of the disk free |
| Drivers | Contact 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.
Related guides
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
- Microsoft Support: How to fix Error 0xA: IRQL_not_less_or_equal
- Microsoft Support: Windows doesn’t respond or stops working on Surface
- Microsoft Learn: Stop code error or bug check troubleshooting
More Windows guides
- Windows 11 New Search And Run Dialog: How To Get Them (2026)
- How To Open The Run Dialog In Windows 11 (2026)
- How To Turn Off Memory Integrity In Windows 11 (2026)
- How To Run SFC And DISM In Windows 11 (2026)
- How To Turn Off Windows 11 Telemetry And Diagnostic Data (2026)
- How To Uninstall ESET From Windows Step By Step (2026)
See all: Windows 11 Guides