How to Run Memory Diagnostics in Windows
Principal Smart Home Architect & Hardware Benchmarks Editor at TechnyTech Testing Lab · CompTIA A+ & IoT Security Specialist · B.S. Computer Systems · 12+ years testing home mesh networks, smart security cameras, desktop GPUs, and cross-platform consumer electronics
Your PC is crashing, freezing, or throwing up a BSOD, and you suspect faulty RAM. Running a memory test is the fastest way to confirm it. Here’s how to run memory diagnostics in Windows using the built-in tool, no extra software needed.
The Windows Memory Diagnostic Tool (MDT) is Microsoft’s official utility for detecting RAM issues, and it’s available on Windows 10 and 11. As of 2026, it supports all modern DDR3, DDR4, and DDR5 modules. Let’s start with the quickest way to launch it.
how to run memory diagnostics in Windows
Press Windows + R, type mdsched.exe, and hit Enter. Choose to restart now or schedule the test for later. The tool runs automatically on reboot.
Results appear in Event Viewer after completion.
When to Run a Memory Test in Windows (And How to Know It’s Needed)
If your system crashes randomly, apps freeze, or you see errors like MEMORY_MANAGEMENT or PAGE_FAULT_IN_NONPAGED_AREA, your RAM might be failing. These are classic signs of bad memory modules.
Other red flags include frequent app crashes, slow performance despite high specs, or your PC failing to boot. The Windows Memory Diagnostic Tool (MDT) is designed to catch these issues early. Manufacturer specs confirm that RAM degradation can cause silent data corruption over time.

Image source: Bing (Web (fair-use with source credit))

Image source: Bing (Web (fair-use with source credit))
The Fastest Way to Start Windows Memory Diagnostic
The quickest method is through the Run dialog. Press Windows + R, type mdsched.exe, and hit Enter. You’ll see two options: restart now and check for problems, or check for problems the next time you start your computer.
If you prefer the GUI, go to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Memory Diagnostic. Either way, the tool requires a reboot to run. Per Microsoft’s documentation, this ensures a clean environment free from running processes that could interfere.
How the Tool Works: Basic vs. Standard vs. Extended Tests
The Windows Memory Diagnostic Tool offers three test types: Basic, Standard, and Extended. Basic is the fastest, scanning for obvious errors in a few minutes. Standard adds more thorough checks, while Extended runs a deep scan that can take over an hour for large RAM capacities.
Each test writes and reads data patterns to your RAM to detect faults. The Extended test is best for intermittent issues, as it repeats checks multiple times. As of 2026, the tool supports up to 2TB of RAM in Windows 11 Pro.

Image source: Wikimedia Commons / ElooKoN (CC BY-SA)
Step-by-Step: 3 Ways to Run the Diagnostic
Method 1: Run Dialog
Press Windows + R, type mdsched.exe, and hit Enter. Select your preferred restart option.
Method 2: Command Prompt
Open Command Prompt as admin, type mdsched.exe, and press Enter. Follow the same restart prompts.
Method 3: Windows Recovery Environment (WinRE)
If Windows won’t boot, restart your PC and hold Shift while clicking Restart from the login screen. Navigate to Troubleshoot > Advanced options > Windows Memory Diagnostic.
How to Find and Read Your Test Results
The tool doesn’t show results on screen after completion. Instead, open Event Viewer and navigate to Windows Logs > System. Look for entries labeled MemoryDiagnostics-Results.
You can also search for "MemoryDiagnostics" in Event Viewer’s filter. The log file includes pass/fail status, test type, and error codes if any issues are found. Microsoft’s documentation notes that a clean result means no errors were detected during the test.

Image source: Bing (Web (fair-use with source credit))
What to Do If Errors Are Found (Hardware vs. Software Fixes)
If the test reports errors, first try reseating your RAM sticks. Power down your PC, open the case, and firmly reinsert each module. Dust or loose connections can cause false positives.
If errors persist, test one stick at a time to isolate the faulty module. Replace any defective RAM. For software-related issues, run sfc /scannow and chkdsk in Command Prompt to repair system files.
Manufacturer specs confirm that RAM failures often require hardware replacement.
Common Mistakes That Waste Time or Miss Problems
Running the test without closing apps can lead to inaccurate results. Always save your work and restart immediately when prompted. Skipping the Extended test may miss intermittent issues.
Another mistake is ignoring the Event Viewer logs. The tool doesn’t display results on screen, so you must check manually. Also, avoid interrupting the test, as this can corrupt the process and require a full restart.
FAQs
How long does the Windows Memory Diagnostic take?
The Basic test takes 5 to 10 minutes. Standard runs 15 to 30 minutes, while Extended can exceed an hour for large RAM capacities.
Can I use my PC while the test runs?
No. The tool requires a reboot and runs in a pre-boot environment. You won’t be able to use your PC until it completes.
What if the test freezes or doesn’t start?
Restart your PC and try again. If the issue persists, use the Windows Recovery Environment (WinRE) method. Corrupted system files may require a repair install.
Does the tool work on all Windows versions?
Yes, it’s available on Windows 10 and 11. Older versions like Windows 7 also include it, but support ended in 2020.
How do I know if my RAM is faulty?
If the test reports errors, your RAM may be failing. Physical damage, overheating, or manufacturing defects are common causes. Replace the faulty module if confirmed.
Can I test RAM without restarting?
No. The Windows Memory Diagnostic Tool requires a reboot to ensure a clean testing environment free from running processes.





















