Windows: Memory Diag

1. Overview Windows Memory Diagnostic (WMD) is a built-in memory testing tool included in all modern versions of the Windows operating system (Windows 7 through Windows 11). Its primary purpose is to detect malfunctions in physical RAM (Random Access Memory) that can lead to system instability, application crashes, Blue Screen of Death (BSOD) errors, and data corruption.

| Test Level | Duration | Pattern Coverage | Use Case | |------------|----------|------------------|-----------| | | ~5-10 min | MATS+ (Memory Address Test), INVC (Inverse Cache) | Quick check; low sensitivity. | | Standard (Default) | ~20-40 min | LRAND (Random pattern), Stride6 (6-bit stride), WMATS+ (Write MATS), WINVC | General diagnostics. Detects most common failures. | | Extended | 2-8+ hours | All Standard tests + MATS++ (cache disabled), Stride38, WSride, CHKMR3 | Thorough validation for intermittent or temperature-sensitive faults. | windows memory diag

# Trigger diagnostic on next boot Start-Process mdsched.exe -ArgumentList "/scheduled" $log = Get-WinEvent -LogName System | Where-Object $_.ProviderName -eq "MemoryDiagnostics-Results" $log[0].Message | Test Level | Duration | Pattern Coverage