Windows Memory Diagnostic Mdsched Command ((new)) May 2026
| Code | Meaning | Recommended Action | |------|---------|---------------------| | No errors | No faults detected | Consider other components (CPU, storage, drivers) | | Single-bit error | Correctable ECC error (server RAM) | Monitor; may be cosmic radiation | | Multi-bit error | Uncorrectable fault | Replace the specific DIMM | | Address error | Faulty memory controller or motherboard slot | Test individual DIMMs in different slots |
| Parameter | Function | |-----------|----------| | (no args) | Opens the GUI dialog with two options: Restart now and check, or Schedule on next boot. | | /l | Runs the diagnostic in loop mode (continuous testing until manually stopped). | | /s | Shuts down the system immediately before starting the diagnostic. | | /r | Restarts the system immediately before starting the diagnostic. | | /c | Runs the diagnostic in extended cache mode (more thorough, longer duration). | | /? | Displays help. | windows memory diagnostic mdsched command
mdsched.exe [options]
A single pass with no errors does not guarantee 100% reliability. Some intermittent faults require thermal cycling or extended looping ( /l ). 6. Limitations and Comparison | Aspect | Windows Memory Diagnostic | MemTest86 (Professional) | |--------|---------------------------|---------------------------| | Test algorithms | 7 basic patterns | 13+ advanced (including row hammer) | | Error reporting | Event log only | On-screen with address/bit mapping | | ECC support | Reports corrected errors | Reports corrected + location | | USB bootable | No (requires Windows bootloader) | Yes | | Loop time | Unlimited ( /l ) | Configurable | | CPU cache control | Limited | Full enable/disable | | Code | Meaning | Recommended Action |
Abstract: The Windows Memory Diagnostic (WMD) tool, invoked via the mdsched.exe command, is a built-in utility in the Microsoft Windows operating system designed to detect random access memory (RAM) failures. This paper provides a comprehensive examination of the tool's architecture, execution workflow, test algorithms, result interpretation, and operational limitations. Understanding mdsched is critical for system administrators and forensic analysts for hardware validation and system stability troubleshooting. 1. Introduction Memory corruption is a leading cause of system instability (blue screen errors, application crashes, data corruption). While Error-Correcting Code (ECC) memory can detect and correct single-bit errors, consumer systems rely on non-ECC memory, necessitating software-based diagnostic tools. Microsoft's mdsched.exe provides a pre-boot environment for exhaustive memory testing without OS memory manager interference. 2. Command Syntax and Execution The command is executed from the Run dialog ( Win + R ), Command Prompt, or PowerShell with administrative privileges. | | /r | Restarts the system immediately
| Test Phase | Algorithm | Detection Capability | |------------|-----------|----------------------| | | Moving Inversions (8-bit pattern) | Simple stuck-at faults | | INVC | Inverse word write/read | Data line shorts | | LRAND | LFSR-based random pattern | Timing-sensitive errors | | Stride6 | 64-bit block writes with varying strides | Address line coupling | | WCHK3 | Write checkerboard pattern | Adjacent cell interference | | ERAND | Extended random pattern | Complex intermittent faults | | Stride38 | Aggressive cache-refreshing pattern | Row hammer vulnerabilities |