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.
- Click the Start button, type regedit, and press Enter to open the Registry Editor. (Click “Yes” on the UAC prompt).
- In the left-hand sidebar, navigate to the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kbdhid\Parameters - (Note: If you are using an older PS/2 keyboard instead of USB, navigate to
\i8042prt\Parametersinstead). - Right-click in the empty white space on the right side of the window, select New, and click DWORD (32-bit) Value.
- Name the new DWORD exactly
CrashOnCtrlScrolland press Enter. - Double-click your new
CrashOnCtrlScrollentry and change the “Value data” from0to1. Click OK. - 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.
- Look at your keyboard. Find the Right Ctrl key (it must be the Ctrl key on the right side of the spacebar).
- Find the Scroll Lock key.
- 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.