About this article: This article is reviewed against the cited sources. This is source research, not lab validation. Check the stated versions and your own requirements before making changes.
A Windows computer or server stops on a blue screen that reads NMI_HARDWARE_FAILURE, or a dump shows bug check 0x80. Nobody changed a setting that would cause it, and no setting seems to prevent it. Microsoft explains why on its page for the error: the behaviour is by design. The sections below set out what a non-maskable interrupt (NMI) is as far as Microsoft's page describes it, how to tell the two ways it happens apart, what is and is not configurable, and what to read after the event.
Everything before the Fix section only reads information.
What the error means
Microsoft's page (NMI_HARDWARE_FAILURE error when an NMI is triggered on Windows, page dated 2026-02-12, original KB number 2750146) describes a by-design behaviour. On a Windows computer, it says, "an NMI may be triggered by a user manually pressing an NMI switch on the computer, or because of a hardware error". In that event Windows stops executing and shows a blue screen that says "Your PC ran into a problem and needs to restart." with the error code NMI_HARDWARE_FAILURE.
The computer may then save a memory dump file and may restart automatically, depending on the settings under Startup and Recovery in Advanced system settings in the System control panel.
The Cause section explains why there is nothing to turn off. In Windows 7, Windows Server 2008 R2 and earlier, the response to an NMI depended on the NMICrashDump registry value. "In Windows 8 and Windows Server 2012, this behavior is not configurable. An NMI will always result in a bugcheck 0x80 (NMI_HARDWARE_FAILURE)." Microsoft says that is equivalent to the earlier behaviour with NMICrashDump present and set to 1. The page ends with: "This behavior is by design."
Microsoft's separate page on generating a crash dump (dated 2026-02-12) confirms that Windows 8 and later clients, and Windows Server 2012 and later servers, no longer need the registry key: "Setting this registry key on later versions of Windows has no effect." The same page reports what a deliberate NMI looks like at the screen: "You'll see a STOP 0x00000080 hardware malfunction." Hex 0x80 and 0x00000080 are the same number as the bug check 0x80 on the first page.
Likely causes
Microsoft's page names two causes, and no others:
| Cause | What it looks like |
|---|---|
| A person pressed an NMI switch | A blue screen at a time when someone had access to the switch or to a management console that can send an NMI |
| A hardware error | A blue screen with no deliberate action behind it |
The crash dump page explains why a person might do the first on purpose. Some computers cannot generate a crash dump from the keyboard. The page gives the example of Hewlett-Packard BladeSystem servers, which are managed through a browser-based interface and have no keyboard attached. For those, the page says, the way to get a complete or kernel dump is the NMI switch that causes an NMI on the system processor, enabled "in the BIOS or by using the Integrated Lights Out (iLO) Web interface". So an engineer trying to capture a dump of a hung server may have triggered the stop deliberately, and the blue screen was the intended result.
Microsoft's page gives no figure for how many stops a hardware error causes, and does not list which hardware errors lead to an NMI.
Prove the cause before changing anything
All of these only read.
- Ask who had access. Find out whether anyone was working on the machine, its management console or its chassis at the time of the stop, and whether anyone was trying to capture a dump from a hung machine. The first cause is a person; the quickest proof is a person saying so. On a hosted server, ask the provider whether an engineer sent an NMI at that time.
- Fix the time. Note when the blue screen appeared. The Event Viewer System log records the restart that follows, and Event 41 Kernel-Power and 6008 shows how to read it.
- Check for a dump file. Microsoft's page says the computer "may" save a dump. If one exists, open it on a copy in a debugger. Microsoft's page on analysing a kernel-mode dump file (dated 2025-01-24) says to start WinDbg with the
-zoption:
windbg -y <SymbolPath> -i <ImagePath> -z <DumpFileName>
and that .bugcheck shows the bug check code and its parameters. Confirm the code is 0x80.
- Look for hardware events around the same time, in the System log and in the hardware vendor's own management log. Microsoft's page names no event ID or log for NMI events, so none is given here.
- Compare with the WHEA stop. Microsoft's bug check page for WHEA_UNCORRECTABLE_ERROR (0x124, dated 2023-01-04) has a parameter 1 value of 0x3 for "A nonmaskable interrupt (NMI) error occurred." A stop with that code is a different bug check, 0x124, reported through the Windows Hardware Error Architecture. If your blue screen says WHEA_UNCORRECTABLE_ERROR, that is the stop to troubleshoot instead.
Example (illustrative): a file server at a Brisbane clinic stops with NMI_HARDWARE_FAILURE at 2:10 pm. The IT provider's record shows an engineer was connected to the server's management console at that time, trying to capture a dump from a hung process. That matches the switch cause: the stop was deliberate and nothing is wrong with the hardware. Had no one been connected, the hardware-error cause would stay open and the vendor's hardware log would be the next place to look.
Fix
Because Microsoft says the behaviour is by design and not configurable, there is no setting that stops Windows blue-screening on an NMI. What you can do depends on the cause.
If a person pressed the switch or sent the NMI
Nothing is wrong with Windows. The fix is a procedure change: the person who sends an NMI for a dump should tell the people using the machine, and the stop should be expected. The crash dump page warns that dumping more than 2 gigabytes of memory "may take a long time" and that the read-and-write process "can cause a prolonged server outage", and says that a complete memory dump should ideally be generated only "when you are explicitly requested to by the Microsoft Support engineer". These are Microsoft's words for the case where the dump is wanted.
If it was a hardware error
Microsoft's page gives no repair for the hardware itself. This is general advice, not from the page: record the time and the dump, then raise the fault with the hardware vendor or the hosting provider, who can read the platform's own error logs. Do not replace parts on the strength of this one stop code.
Make sure the dump setting will capture the next one
Disruptive step: the next change alters how Windows writes a dump when it crashes, and Microsoft's steps end with a restart of the computer. A restart interrupts everyone using the machine, and a larger dump takes more disk space and more time to write at the next crash.
If no dump was saved, check the Startup and Recovery setting. Microsoft's crash dump page says to make sure that Kernel memory dump, Active memory dump, Automatic memory dump or Complete memory dump is selected under Writing Debugging Information. First, record the current selection and the dump file path.
In Control Panel, select System and Security > System, select Advanced system settings, then the Advanced tab. In the Startup and Recovery area, select Settings. Make sure one of the memory dump types above is selected under Writing Debugging Information, then restart the computer.
To undo it: open the same dialog, select the entry you recorded, and restart again.
Do not set NMICrashDump on current Windows
The registry value NMICrashDump appears on older Microsoft pages. For Windows 8 and later and Windows Server 2012 and later, Microsoft says the key is not required and has no effect. Creating it adds a registry change that does nothing and complicates later troubleshooting, so leave it out.
Confirm the fix
- Where a person caused the stop, the people using the machine know the reason, and the next NMI is planned, with a dump setting that will capture it.
- Where hardware was suspected, the vendor has the time of the stop and the dump, and the machine runs through its usual busy periods with no further NMI_HARDWARE_FAILURE.
- The System log shows no further unexplained restarts.
What to watch afterwards
- Who has access to the NMI switch or the management console that can send one. Microsoft's crash dump page notes that the switch is enabled in the BIOS or the iLO web interface, so, as general advice, the access list on those interfaces is the place to look.
- Repeat stops without a person behind them. A single stop with a known cause is explained; a second with none points to the hardware.
- Hardware vendor firmware notes for the machine. Microsoft's page does not cover them, so this is general advice.
Read next
Related articles you may want next.
- TroubleshootingEvent 41 Kernel-Power and event 6008: find why a Windows Server restarted without a clean shutdownEvent 41 and 6008 mean an unexpected restart. Read the bug check code, events 1074 and 1001, and the memory dump to find the cause.Read article
- TroubleshootingStop code WHEA_UNCORRECTABLE_ERROR (0x124): what the first parameter tells you and what Microsoft says to checkWHEA_UNCORRECTABLE_ERROR 0x124 is a fatal hardware error. How to read parameter 1, check heat, memory and over-clocking, and keep a way back.Read article
- TroubleshootingStop code CRITICAL_PROCESS_DIED (0xEF): what it means and what to check firstBlue screen CRITICAL_PROCESS_DIED, bug check 0xEF: a critical Windows process ended. What it means, what to check first, Microsoft's general steps.Read article
Risks and limits
Microsoft's NMI page is short: it names two causes, says the behaviour is by design, and gives no diagnostic steps, no event IDs and no hardware list. The supporting steps come from the crash dump page, which is written for Windows 10 clients, and the WinDbg page. No behaviour specific to virtual machines is described, because none of these pages describes it.
Sources
- NMI_HARDWARE_FAILURE error when an NMI is triggered on Windows — Microsoft Learn, page dated 2026-02-12, accessed 2 December 2026
- Generate a kernel or complete crash dump — Microsoft Learn, page dated 2026-02-12, accessed 2 December 2026
- Bug Check 0x124: WHEA_UNCORRECTABLE_ERROR — Microsoft Learn, page dated 2023-01-04, accessed 2 December 2026
- Analyze a kernel-mode dump file by using WinDbg — Microsoft Learn, page dated 2025-01-24, accessed 2 December 2026
This article was originally published on .