Published Dec 5, 2026, 4:00 PM EST Ismar is a Senior Author at How-To Geek. He previously worked as a writer, editor, and general manager at a content agency before joining the team in 2023. He began his writing career in 2021 after completing a BA in English Language and Literature. Beyond How-To Geek, Ismar has contributed to Red Stag Fulfillment and Authority Hacker. He has also worked on various SEO projects to help clients improve their search visibility. Ismar has been around Windows PCs since the age of three, so friends and family naturally chose him as the resident tech support. His projects often involve tinkering, such as disassembling mechanical keyboards and gaming mice to mod his beloved gear. He also enjoys pushing hardware to the max through overclocking while staying on a reasonable budget. An avid gamer, Ismar has logged thousands of hours across various genres, including first-person shooters, RPGs, racing games, and roguelites. When he is not at his desk, he is probably exploring other people’s phones to discover their quirks and features or experimenting with the latest AI tools. In his free time, Ismar enjoys spending time with his wife, working out at the gym, playing guitar and bass, cooking gourmet meals, and traveling. Above all else, he’s a proud cat owner. A PC can crash for a variety of reasons, but more often than not, all troubleshooting roads lead to RAM stability. Random app or system crashes, freezes, and unexplained BSODs all point in the direction of unstable memory, but you can't always know for sure until you actually run the tests. Thankfully, Windows has a built-in diagnostic tool that can test your RAM without you having to download anything. I've used it to troubleshoot many different configurations over the years, and most recently, I used it to find seemingly unexplainable crashes. Test your RAM without the usual distractions Troubleshooting RAM is one of the most frustrating experiences known to humankind. Okay, I'm exaggerating, but only a little. Part of the reason is that sometimes random system issues can look like they're related to RAM but actually stem from software. Maybe a Windows update went awry, a background service is glitching, or a faulty webcam driver is causing your system to BSOD once every three or four days. RAM instability can cause similar symptoms, which is why testing your memory outside the normal Windows environment is sometimes the best solution. That's where Windows Memory Diagnostic comes in. It writes test data to your RAM, reads it back, and checks for errors. Although it's part of Windows, it actually runs before Windows boots in a dedicated diagnostic environment. This means it can test your RAM without relying on your specific setup, allowing you to check memory even when your Windows installation is too unstable to boot reliably. Another benefit is that the Windows kernel, drivers, and regular background services aren't loaded, which means more of your usable RAM is available for testing. You can access Windows Memory Diagnostic before or after Windows loads Sometimes, only one of them is a viable option One of the best things about Windows Memory Diagnostic is that you don't even have to boot into Windows to test your RAM. In fact, when your RAM is extremely unstable, you might not even be able to boot into Windows without crashing (ask me how I know). Since Windows Memory Diagnostic is built into Windows' boot infrastructure and has its own dedicated bootable executable, you can launch it through Windows Boot Manager. You can also schedule it from the Windows Recovery Environment (WinRE) using Command Prompt and BCDEdit, provided you target the correct BCD store. WinRE typically appears after Windows detects multiple failed boot attempts. Once you're in, go to Troubleshoot > Advanced options > Command Prompt. Enter bcdedit /bootsequence {memdiag} and restart your PC. That being said, it's much easier to do from the OS. If you can boot into Windows for at least a minute, press Win+R, type mdsched.exe, and click OK. Then click Restart now and check for problems (recommended). Windows Memory Diagnostic will start testing your RAM automatically using its default configuration when you boot into it, which is a Standard test with two passes and Cache set to Default. You can change these parameters by pressing F1 to bring up the Options menu and using Tab, the Up/Down arrows, Spacebar, and F10 to configure them. An Extended test runs a much more thorough set of tests, while multiple passes increase the chances of catching errors that didn't appear initially. An Extended test with a lot of passes can take several hours, so be warned. If the test encounters an error, it'll indicate it on the screen, but it'll usually continue running its tests and generate a more detailed report after you boot into Windows. Once you're back in Windows, you can access the results through Event Viewer. Press Win+R, type eventvwr.msc, and click OK. Click Windows Logs > System in the left pane, then click Find on the right, type MemoryDiagnostics-Results, and click Find Next to bring up the results. I used Windows Memory Diagnostic to investigate my seemingly random system crashes I finally found the culprit While Windows Memory Diagnostic can report errors in your RAM, it's still largely up to you to figure out what caused them. I did a lot of things to my system, so unfortunately, troubleshooting my configuration took quite some time. Windows Memory Diagnostic helped me rule out things like Windows and my graphics card drivers, but since I tuned my secondary RAM timings, that's my usual suspect whenever my system crashes. After some trial and error, I was able to pinpoint the issue to an overly aggressive tREFI (Time Refresh Interval), which was set to 65535. A higher value tells the RAM to wait longer between refreshes, which can increase the likelihood of memory errors, especially at higher temperatures as the PC runs for hours. That's why a longer test caught the error and lowering the value to 32768 fixed the problem. Of course, this is just my specific example. A number of different issues can cause RAM instability: a faulty RAM stick, unstable EXPO settings, overly aggressive RAM timings, motherboard issues, and even a CPU or Infinity Fabric overclock. Some of the first troubleshooting steps you can try are testing one RAM stick at a time, reverting your RAM to the stock JEDEC clock and timings, and removing any other overclocks you might have. Windows' built-in RAM tester isn't the only way to check memory stability Windows Memory Diagnostic is your first stop when troubleshooting RAM, especially when you can launch it before Windows loads, but you should treat it as just one tool in your RAM-testing toolkit. While Windows Memory Diagnostic is fairly thorough and can catch many memory errors that cause frequent system crashes, a clean result doesn't guarantee that your RAM is completely stable. That's where third-party RAM diagnostics come in. TestMem5 is one of the better options out there. It's highly customizable and runs directly in Windows, making it convenient to use. Another good option is y-cruncher, although it's a broader system stress tester rather than a dedicated RAM diagnostic. And if you need a tool that tests RAM outside Windows, MemTest86 boots from a USB drive and runs independently of the operating system.
My random PC crashes turned out to be RAM, and a built-in Windows tool found the cause
Full Article
Original Source
Read the full article at Howtogeek →KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.