Random app crashes, freezes and blue screens can all point to unstable RAM. Software faults can look much the same: the culprit might be a Windows update, a driver or a background service. Windows Memory Diagnostic lets you check the memory without downloading anything.
The tool starts before Windows loads. It writes data to RAM and checks for a match when it reads the data back. With the Windows kernel, drivers and background services out of the way, more memory is free for testing. You don’t need to reach the Windows desktop to run the check.
Start the test and find the report
If you can reach the desktop, press Win+R, type mdsched.exe and click OK. Choose the option to restart now and check for problems.
If Windows won’t start reliably, you can launch the diagnostic from Windows Boot Manager. You can also schedule it from the Windows Recovery Environment, which usually opens after several failed starts. Under Troubleshoot, select Advanced options and then Command Prompt. The command bcdedit /bootsequence {memdiag} schedules the test for the next restart, provided BCDEdit targets the correct boot configuration data store. Restart the PC to begin.
Testing starts automatically in Standard mode. The tool makes two passes and leaves the cache setting at Default. Press F1 to open the options. Use Tab to move between settings, the up and down arrows and spacebar to make selections, and F10 to apply them. Extended mode runs a wider set of tests. Extra passes give intermittent errors more chances to show up, but an Extended run with many passes can take hours.
If the tool detects an error, it flags it on screen and usually keeps testing. Once you’re back in Windows, press Win+R and run eventvwr.msc to open Event Viewer. Select System under Windows Logs. Click Find, enter MemoryDiagnostics-Results and choose Find Next to read the report.
What the result tells you
The report tells you whether the test found an error, not which part or setting caused it. On one How-To Geek writer’s PC, a longer test caught a memory error and helped the writer rule out Windows and the graphics drivers. The writer had adjusted the secondary memory timings and, through trial and error, traced the crashes to tREFI, the interval between memory refreshes. A higher value spaces refreshes farther apart, which can make errors more likely as the PC heats up over hours of use. Lowering tREFI from 65535 to 32768 stopped the crashes on that machine.
That adjustment was specific to one PC. Other possible causes include a faulty RAM stick, unstable EXPO settings, aggressive memory timings, a motherboard fault or an overclock on the CPU or Infinity Fabric. To narrow it down, try each memory stick separately, restore the memory’s standard speed and timings (the JEDEC defaults), and undo other overclocks.
A clean run doesn’t prove the memory is stable. If crashes persist, TestMem5 offers a configurable memory test within Windows, while y-cruncher stresses the system more broadly. For a second check that doesn’t depend on Windows running, MemTest86 boots from a USB drive.




Discussion