How to force a Blue Screen of Death in Windows 11

To force a Blue Screen of Death in Windows 11, set the CrashOnCtrlScroll registry value to 1, restart, then hold the right Ctrl key and press Scroll Lock twice.

This guide covers the keyboard method, the power button and NotMyFault alternatives, crash dump settings, how to confirm the dump was written, and how to remove the setting afterwards.

Manually initiate a blue screen of death in Windows 11/10

Windows has a built-in keyboard crash that raises stop code MANUALLY_INITIATED_CRASH (bug check 0xE2). It works with USB keyboards, PS/2 keyboards and Hyper-V virtual keyboards once a registry value is set.

Save your work first. The crash stops Windows immediately, and anything unsaved is lost.

  1. Select Start, type cmd, right-click Command Prompt and select Run as administrator.
  2. For a USB keyboard, run reg add HKLM\SYSTEM\CurrentControlSet\Services\kbdhid\Parameters /v CrashOnCtrlScroll /t REG_DWORD /d 1 /f.
  3. For a PS/2 keyboard, or a laptop's built-in keyboard, also run reg add HKLM\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters /v CrashOnCtrlScroll /t REG_DWORD /d 1 /f.
  4. Inside a Hyper-V virtual machine, run reg add HKLM\SYSTEM\CurrentControlSet\Services\hyperkbd\Parameters /v CrashOnCtrlScroll /t REG_DWORD /d 1 /f in the guest.
  5. Restart the PC. The value is read only at startup.
  6. Hold down the rightmost Ctrl key and press Scroll Lock twice.
  7. Wait while the stop screen shows the percentage of the crash dump written, then let Windows restart.

Many laptops use the PS/2 driver for the built-in keyboard and the USB driver for an external one. Setting both values lets either keyboard trigger the crash.

Which way to force a blue screen should you use?

Your situation Use this Stop code you get
Desktop or laptop with a Scroll Lock key Right Ctrl + Scroll Lock twice after the CrashOnCtrlScroll registry change MANUALLY_INITIATED_CRASH (0xE2)
Laptop or tablet with no Scroll Lock key Custom key combination with Dump1Keys and Dump2Key, or the power button hold 0xE2, or MANUALLY_INITIATED_POWER_BUTTON_HOLD (0x1C8)
PC frozen so the keyboard does not respond Hold the power button for 7 seconds after the PowerButtonBugcheck change MANUALLY_INITIATED_POWER_BUTTON_HOLD (0x1C8)
You can sign in and want a crash from the command line Microsoft Sysinternals NotMyFault DRIVER_IRQL_NOT_LESS_OR_EQUAL (0xD1)
Server with no keyboard attached NMI switch on the hardware or its management console NMI_HARDWARE_FAILURE (0x80)
Hyper-V virtual machine Debug-VM with -InjectNonMaskableInterrupt from the host Depends on the guest's NMI handling

Enable a crash dump file before you force a blue screen

A forced crash is only useful if Windows writes a dump file. The dump settings apply to every kernel-mode crash, whether it was accidental or forced.

  1. Open Control Panel and select System and Security > System.
  2. Select Advanced system settings, then open the Advanced tab.
  3. Under Startup and Recovery, select Settings.
  4. Under Write debugging information, choose Automatic memory dump, Kernel memory dump, Active memory dump or Complete memory dump.
  5. Check the Dump file path. The default is %SystemRoot%\Memory.dmp; point it at a drive with enough free space if needed.
  6. Clear Automatically restart if you want the stop screen to stay visible instead of rebooting.
  7. Select OK and restart the computer.

Administrator rights are required to change these settings. A work PC may block the change through network policy.

Force a blue screen by holding the power button

Windows 10 version 1809 and later can crash on a long power button hold. This helps when the PC is frozen and the keyboard no longer responds.

The device needs a GPIO-based power button and firmware that routes the power event to Windows, which mainly means modern laptops and tablets.

  1. Open Command Prompt as administrator.
  2. Run REG ADD HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power /v PowerButtonBugCheck /t REG_DWORD /d 0x1 /f.
  3. Restart the PC if the value did not exist before. A change to an existing value takes effect without a restart.
  4. Press and hold the power button for 7 seconds.
  5. Release the button as soon as the black screen says Please release the power button.
  6. Let the percentage counter finish so the dump is written completely.

Holding past roughly 10 seconds triggers the firmware hard power-off and can corrupt the dump. On some ARM64 laptops the firmware timer is shorter, so release right after 7 seconds.

This method shows a black progress screen, not the usual stop screen, and records bug check 0x1C8.

How to force a blue screen from CMD with NotMyFault

NotMyFault is a free Microsoft Sysinternals tool by Mark Russinovich that crashes, hangs or leaks kernel memory on purpose. It needs no registry change and no restart, but it does need administrator rights.

Get it from the NotMyFault page on learn.microsoft.com, extract it, and open an elevated Command Prompt in that folder.

notmyfaultc64.exe /crash 0x01

Runs the 64-bit command-line version and selects crash type 0x01, a high IRQL fault in kernel mode. Other crash types include 0x02 buffer overflow, 0x03 code overwrite, 0x04 stack trash and 0x06 stack overflow.

You should see: Windows halts with a stop error (bug check 0xD1, DRIVER_IRQL_NOT_LESS_OR_EQUAL), writes the dump file and restarts.

To capture a complete dump, Microsoft's support article runs notmyfaultc64.exe /getdumptype = full before the crash command. The download also includes a GUI version for anyone who prefers to click a button.

How to force a Blue Screen Of Death in Windows 11
NotMyFault's Crash tab lists High IRQL fault (Kernel-mode) first, the same crash type as the /crash 0x01 command. (Image: Microsoft)

Force a blue screen in a Hyper-V virtual machine

From a Windows 11 host with Hyper-V enabled, you can crash a guest without touching its keyboard by injecting a non-maskable interrupt (NMI).

  1. On the host, right-click Start and open Windows PowerShell or Terminal as administrator.
  2. Run Debug-VM "VM name" -InjectNonMaskableInterrupt -Force, replacing VM name with the virtual machine's name.
  3. Watch the guest console for the stop screen and the dump progress counter.

Physical servers without a keyboard use the same idea: enable the NMI switch in the BIOS or the remote management console. Microsoft notes that a test NMI shows STOP 0x00000080, and that the NMICrashDump registry value has no effect on Windows 8 and later.

Change the key combination that forces a blue screen

Laptops without a Scroll Lock key need a different second key. Windows reads two values, Dump1Keys and Dump2Key, from a crashdump subkey for each keyboard driver.

When you define a custom combination, set CrashOnCtrlScroll to 0 or delete it.

  1. Open Command Prompt as administrator.
  2. Run reg add HKLM\SYSTEM\CurrentControlSet\Services\kbdhid\crashdump /v Dump1Keys /t REG_DWORD /d 0x2 /f to make the rightmost Ctrl the first key.
  3. Run reg add HKLM\SYSTEM\CurrentControlSet\Services\kbdhid\crashdump /v Dump2Key /t REG_DWORD /d 0x3d /f to make Spacebar the second key.
  4. Repeat both commands with i8042prt in place of kbdhid for a PS/2 or built-in laptop keyboard.
  5. Delete CrashOnCtrlScroll with reg delete HKLM\SYSTEM\CurrentControlSet\Services\kbdhid\Parameters /v CrashOnCtrlScroll /f and the matching i8042prt command.
  6. Restart, then hold the rightmost Ctrl and press Spacebar twice.

Dump1Keys is a bitmap for the first key: 0x01 right Shift, 0x02 right Ctrl, 0x04 right Alt, 0x10 left Shift, 0x20 left Ctrl, 0x40 left Alt. Add values together to allow more than one, such as 0x11 for either Shift key.

Dump2Key is an index into the keyboard driver's scan code table, not the scan code itself. The value 0x3d for Spacebar comes from Microsoft's own example.

How to check the forced blue screen wrote a dump file

  1. After the restart, open File Explorer and go to C:\Windows.
  2. Look for MEMORY.DMP with a timestamp that matches the crash. Automatic, kernel and complete dumps go there by default.
  3. If you chose a small memory dump, open C:\Windows\Minidump instead. Each crash gets its own file with the date in the name.
  4. Install WinDbg from Microsoft, open it, select File > Open Crash Dump (or press Ctrl + D) and choose the file.
  5. Run !analyze -v in the command window.
  6. Confirm the bug check code: 0xE2 for the keyboard, 0x1C8 for the power button, or 0xD1 for NotMyFault crash type 0x01.

No dump file usually means Write debugging information was set to (none), or the page file on the system drive was too small to hold the dump.

Check forced blue screen dump file by opening MEMORY.DMP in WinDbg
After WinDbg loads the dump, click the !analyze -v link or type it at the kd> prompt for the full bug check details. (Image: Microsoft)

MANUALLY_INITIATED_CRASH blue screen and other stop codes explained

A stop code tells you what halted Windows. Forced crashes use codes that clearly mark the crash as deliberate, which keeps them apart from real faults in a dump analysis.

Stop code Hex value What it means
MANUALLY_INITIATED_CRASH 0xE2 The keyboard crash combination was pressed after the registry change
MANUALLY_INITIATED_POWER_BUTTON_HOLD 0x1C8 The power button was held for 7 seconds with PowerButtonBugcheck enabled
DRIVER_IRQL_NOT_LESS_OR_EQUAL 0xD1 NotMyFault crash type 0x01, or a real driver accessing memory at the wrong IRQL
NMI_HARDWARE_FAILURE 0x80 A non-maskable interrupt, from a server NMI switch or a hardware fault
BAD_POOL_CALLER 0xC2 A thread made a bad memory pool request, usually a faulty driver
DAM_WATCHDOG_TIMEOUT 0x1EB The Desktop Activity Moderator did not unfreeze user processes in time after resume from modern standby

On Windows 11 version 24H2 and later, the stop screen uses a simpler layout that shows the stop code and, when available, the module name.

Turn off the forced blue screen setting

Remove the values once testing is done, so nobody triggers a crash by accident.

  1. Open Command Prompt as administrator.
  2. Run reg delete HKLM\SYSTEM\CurrentControlSet\Services\kbdhid\Parameters /v CrashOnCtrlScroll /f.
  3. Run reg delete HKLM\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters /v CrashOnCtrlScroll /f if you set the PS/2 value.
  4. Run reg delete HKLM\SYSTEM\CurrentControlSet\Control\Power /v PowerButtonBugCheck /f if you enabled the power button crash.
  5. Delete any Dump1Keys and Dump2Key values under the crashdump subkeys in the same way.
  6. Restart the PC.

Fix BAD_POOL_CALLER blue screen on Windows 11

These two stop codes appear on their own, not because of a forced crash. Microsoft's fixes for each are below.

BAD_POOL_CALLER (0xC2) blue screen on Windows 11

A driver made an invalid memory pool request, often at the wrong IRQL or by freeing the same memory twice.

  1. Remove or update any driver you installed shortly before the crashes started.
  2. Type verifier in an elevated Command Prompt to open Driver Verifier Manager, and enable the memory pool checks for the suspect drivers only.
  3. Restart and use the PC until the next crash; the dump now names the faulting driver.
  4. Search Control Panel for Memory and select Diagnose your computer's memory problems to rule out faulty RAM.
  5. Open Event Viewer > Windows Logs > System and find the MemoryDiagnostics-Results entry for the test result.
  6. Turn Driver Verifier off again with verifier /reset once the driver is identified.

DAM watchdog timeout blue screen in Windows 11 (DAM_WATCHDOG_TIMEOUT, 0x1EB)

The Desktop Activity Moderator could not unfreeze user session processes in time after the PC resumed from modern standby.

  1. Note when the crash happens; this code points at waking from sleep on a modern standby device.
  2. Install pending updates in Settings > Windows Update, including optional driver updates.
  3. Check the PC maker's support site for a newer BIOS or UEFI firmware and chipset drivers.
  4. Open the dump in WinDbg and run !analyze -v to see which process or driver held up the resume.

How to check why a blue screen happened in Windows 11

How to know what caused a blue screen

The stop code and the faulting module are stored in the dump file and the system log.

  1. Note the stop code and any .sys file name shown on the stop screen.
  2. Open Event Viewer > Windows Logs > System and look for critical errors at the time of the crash.
  3. Open C:\Windows\MEMORY.DMP or the newest file in C:\Windows\Minidump in WinDbg.
  4. Run !analyze -v and read the bug check code, parameters and probable cause.
  5. Look up the code in Microsoft's bug check code reference on learn.microsoft.com.

Why a PC suddenly gets a blue screen

A new driver, new hardware, failing memory, file system errors or corrupted system files are the usual triggers.

  1. Remove or update recently added drivers, services or hardware.
  2. Open Device Manager and check for devices marked with an exclamation point.
  3. Run sfc /scannow from an elevated Command Prompt to repair corrupted system files.
  4. Run Windows Memory Diagnostic and check the drive for file system errors.
  5. Keep 10 to 15 percent of the system drive free, and check the PC maker's site for a BIOS or UEFI update.

Specific stop codes have specific fixes, such as the PAGE_FAULT_IN_NONPAGED_AREA blue screen. Updates have triggered stop errors too, as when KB4586781 caused blue screens on Windows 10.

Check why a blue screen happened with WinDbg !analyze -v output
The analysis names the stop code and its arguments; this example shows CRITICAL_PROCESS_DIED (ef) from a Windows 10 dump. (Image: Microsoft)

Forced blue screen in Windows 11 FAQ

How do I purposely blue screen Windows 11?

Add the CrashOnCtrlScroll DWORD with a value of 1 under the kbdhid or i8042prt Parameters registry key, restart, then hold the right Ctrl key and press Scroll Lock twice. Windows halts with MANUALLY_INITIATED_CRASH and writes a dump file.

How do I force a blue screen from CMD?

Run Microsoft Sysinternals NotMyFault from an elevated Command Prompt with notmyfaultc64.exe /crash 0x01. It crashes Windows straight away with stop code 0xD1, without a registry change or a restart beforehand.

How do I force a blue screen on Windows 10?

The same methods work on Windows 10. The USB keyboard crash works on every Windows 10 version, and the power button hold crash needs Windows 10 version 1809 or later.

Is it safe to force a blue screen of death?

It does not damage hardware, but it stops Windows instantly, so unsaved work in open apps is lost. Save and close everything first, and remove the registry values when testing is finished.

How does a blue screen work?

When Windows detects a condition that makes it unsafe to keep running, it halts in a bug check. If crash dumps are enabled, it writes memory to a dump file, shows the stop code and restarts.

Why does Ctrl + Scroll Lock not cause a blue screen?

The registry value is usually on the wrong driver key or the PC was not restarted. Set CrashOnCtrlScroll under both kbdhid and i8042prt, restart, and use the rightmost Ctrl key, not the left one.

How do I stop the PC restarting before I can read the blue screen?

Open Advanced system settings, select Settings under Startup and Recovery, and clear Automatically restart. The stop screen then stays visible until you power the PC off.

How do I determine what caused a blue screen?

Open the latest dump file from C:\Windows\MEMORY.DMP or C:\Windows\Minidump in WinDbg and run !analyze -v. It reports the bug check code, its parameters and the probable faulting driver.

How do I fix a blue screen error?

Remove or update recently added drivers and hardware, run sfc /scannow, run Windows Memory Diagnostic, and install Windows and BIOS updates. Then look up the specific stop code in Microsoft's bug check reference.

Philip Celasco

Philip is a Texas-based technology writer and IT administrator at Techdows.com with more than 10 years of experience creating practical content for everyday users and professionals. He specializes in web browsers, particularly Chromium-based platforms such as Google Chrome, Microsoft Edge, Brave, and Opera. Through his work as an IT administrator, Philip has hands-on experience managing devices, configuring browser policies, troubleshooting software and network issues, and helping people resolve problems that affect productivity and security. His articles are based on practical testing and real-world technical experience. He covers browser settings, extensions, performance problems, privacy controls, security features, and Windows troubleshooting. Outside work, Philip enjoys the quieter side of life in Texas and stepping away from the screen when he can. He has two kids, two cats and loves to play golf with his mother during the weekends.

Leave a Reply

Your email address will not be published. Required fields are marked *