How To Remove and Disable Windows Memory Diagnostic Tool
Windows 7 and Windows Vista comes with a memory diagnostic utility named as Windows Memory Diagnostic. Windows Memory Diagnostic is an utility that capable of scan, check and diagnose computer’s memory subsystem including physical RAM modules or sticks. Windows Memory Diagnostic probes for any problems, errors and defects on memory, and list the results in the lower right corner of desktop after rebooting, with details of which particular memory module causing the error, if any.
In some cases, after setting the system to run Windows Memory Diagnostic, PC system will always run the Windows Memory Diagnostic utility on every boot up, preventing Windows from starting up normally. The cause for the endless cycle of Windows Memory Diagnostic continue to run even after a successful memory diagnostic test is due to configuration error at BCD (Boot Configuration Data), a firmware-independent database for Windows Boot Manager boot-time configuration data. After a Windows Memory Diagnostic tool is instructed to run, it modifies BCD’s bootsequence entry to run {memdiag}, which in turn run the actual memory tester named memtest.exe (not a Win32 app) in \boot folder in DOS level.

However, BCD is not being updated after a successful diagnostic run and the bootsequence {memdiag} entry remained in BCD, thus creating a never ending cycle of memory diagnostic tests at startup. The resolution to fix the issue is easy though. Just follow the following step to rewrite the BCD to delete the bootsequence {memdiag} entry.
- Open a elevated privilege command prompt window as administrator.
- Type in the following command, follow by Enter to execute the command:
bcdedit /bootsequence {memdiag} /remove
- Restart the computer.
The Windows should boot normally into the desktop from now.
Note that toolsdisplayorder {memdiag} entry should not be changed, as the entry allows the memory diagnostic tool to be used when user are booting using Windows Boot Manager, which appear if user press space bar when the screen goes black right after the BIOS post or if system is dualboot or multiboot.
Related Articles
- Check for RAM Error or Defect in Windows 7 and Vista with Windows Memory Diagnostic
- Zune Device Diagnostic Tool Version 1.0
- Hack to Remove and Disable Send Feedback Tool in Windows 7 Beta
- Delete and Remove to Unlock EISA Hidden Recovery or Diagnostic Partition in Vista
- How to Disable (Uninstall and Remove) Windows Media Center in Vista
- How to Disable (Remove and Uninstall) Windows Defender in Vista
- Disable and Remove Half-Open TCP Connections Limit (to Unlimited) in Windows 7 and Vista SP2 with EnableConnectionRateLimitin Registry Key
- Remove and Disable Windows Vista Evaluation Watermark from Desktop
- Disable and Remove URGE Online Store in Windows Media Player 11 (WMP11)
- Tweak Windows Vista Virtual Memory (Change or Disable Paging File Size)










































November 17th, 2009 04:03
Jesse – you can use the windows dvd to boot from – after it loads and asks to install windows 7 you can select Repair from the link in the bottom left side of the window then select Command Prompt window with will allow you to enter the commands found in this article. Worked for me when I got caught in this loop.
October 8th, 2009 06:31
JesseKnows,
For Windows 7 and Windows Vista you would right click on “cmd.ex” and select “run as administrator.” If you require additional assistance with Windows 7, Microsoft does have an official Windows 7 Support Forum located here http://tinyurl.com/9fhdl5 . It is supported by product specialists as well as engineers and support teams.
If you are currently running Windows Vista and require asssitance as well, please go here: http://tinyurl.com/d5r9v3
Jessica
Microsoft Windows Client Team
October 6th, 2009 00:36
Huh? If the system is stuck in endless reboot cycle into memtest, how can I “Open a elevated privilege command prompt window as administrator.” etc.?