How to force a Blue Screen of Death (BSoD) on Windows 11

Windows 11 force BSoD
Windows 11 force BSoD (Image credit: Future)

On Windows 11, a Blue Screen of Death (BSoD) – also referred to as a "stop error" and "bug check"– is an error that the system triggers during a critical problem. Although you never want to stumble upon this error, sometimes, you may need to force a bug check for different reasons, including testing the system or a program you're developing or playing a prank on someone. 

Regardless of the reason, Windows 11 includes an option you must enable through the Registry that allows you to invoke a key combo to force a Blue Screen of Death.

This guide will walk you through the steps to configure Windows 11 to force a Blue Screen of Death error.

Warning: This is a friendly reminder that editing the Registry is risky and can cause irreversible damage to your installation if you don't do it correctly. Before proceeding, it's recommended to create a backup of your computer.

How to force BSoD error on Windows 11

To intentionally generate a Blue Screen of Death on Windows 11, use these steps:

  1. Open Start.
  2. Search for regedit and click the top result to open the Registry.
  3. If you plan to use a USB keyboard, browse the following path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kbdhid\Parameters
  4. Right-click the Parameters key, select New, and then click on DWORD (32-bit) Value.

(Image credit: Future)
  1. Name the new DWORD CrashOnCtrlScroll and press Enter.
  2. Double-click the newly created DWORD and change its value from 0 to 1.

(Image credit: Future)
  1. Click the OK button.
  2. (Optional) If you plan to use a legacy PS/2 keyboard, browse the following path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters
  3. Right-click on the right side, select New and then click on DWORD (32-bit) Value.

(Image credit: Future)
  1. Name the new DWORD CrashOnCtrlScroll and press Enter.
  2. Double-click the newly created DWORD and change its value from 0 to 1.

(Image credit: Future)
  1. Click the OK button.
  2. (Optional) If you plan to use the Hyper-V keyboard on a virtual machine, browse the following path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\hyperkbd\Parameter
  • Quick note: The key is only available on devices with Hyper-V already enabled.
  1. Right-click on the right side, select New and then click on DWORD (32-bit) Value.
  2. Name the new DWORD CrashOnCtrlScroll and press Enter.
  3. Double-click the newly created DWORD and change its value from to 1.
  4. Click the OK button.
  5. Restart the computer to apply the settings.

Once you complete these steps, hold down the (right) "Ctrl" key and press the "Scroll Lock" twice to cause a Blue Screen of Death intentionally.

As you action the shortcut, the system will trigger a KeBugCheck and generate a 0xE2 error displaying a bugcheck with a "MANUALLY_INITIATED_CRASH" message. In addition, Windows 11 will also save a dump file for further debugging.

If you have to undo the changes, you can use the same steps, but on steps 3, 8, or 13, depending on the setting you enabled, right-click and delete the CrashOnCtrlScroll DWORD.

More resources

For more helpful articles, coverage, and answers to common questions about Windows 10 and Windows 11, visit the following resources:

Mauro Huculak

Mauro Huculak has been a Windows How-To Expert contributor for WindowsCentral.com for nearly a decade and has over 15 years of experience writing comprehensive guides. He also has an IT background and has achieved different professional certifications from Microsoft, Cisco, VMware, and CompTIA. He has been recognized as a Microsoft MVP for many years.