How to Manually Force a Windows 11 ‘Blue Screen of Death’ (For Testing Crash Dumps)

When a severe hardware failure or corrupted driver causes Windows 11 to crash, the operating system displays a Blue Screen of Death (BSOD) and generates a “Memory Dump” file (usually a `.dmp` file). System administrators and software developers analyze these dump files to pinpoint exactly which driver caused the crash.

However, if you are configuring a new crash-logging server or testing a custom debugger, you cannot wait for the system to randomly crash on its own. You need to intentionally crash the operating system on demand. Fortunately, Microsoft built a hidden feature into the Windows Registry that allows you to manually force a genuine Blue Screen of Death simply by pressing a secret combination of keys on your keyboard.

How to Manually Force a Windows 11 Blue Screen of Death

You must enable the manual crash feature in the Windows Registry before you can trigger it.

  1. Click the Start button, type regedit, and press Enter to open the Registry Editor. (Click “Yes” on the UAC prompt).
  2. In the left-hand sidebar, navigate to the following path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kbdhid\Parameters
  3. (Note: If you are using an older PS/2 keyboard instead of USB, navigate to \i8042prt\Parameters instead).
  4. Right-click in the empty white space on the right side of the window, select New, and click DWORD (32-bit) Value.
  5. Name the new DWORD exactly CrashOnCtrlScroll and press Enter.
  6. Double-click your new CrashOnCtrlScroll entry and change the “Value data” from 0 to 1. Click OK.
  7. Close the Registry Editor and restart your computer to load the new setting into memory.

Warning: The following step will instantly crash your computer. Save all your work before proceeding.

  1. Look at your keyboard. Find the Right Ctrl key (it must be the Ctrl key on the right side of the spacebar).
  2. Find the Scroll Lock key.
  3. Hold down the Right Ctrl key, and while holding it, press the Scroll Lock key twice rapidly.

Windows 11 will instantly freeze and display a Blue Screen of Death with the extremely specific stop code: MANUALLY_INITIATED_CRASH. The operating system will cleanly generate a memory dump file for your testing purposes and then automatically reboot your PC.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.