Did you know that you can intentionally force a Blue Screen of Death on Windows 10? Now you do.

A "stop error," commonly known as the Blue Screen of Death (BSoD), is a nasty error that appears after a serious system crash. It's almost always a terrible thing to come across. However, there are rare times when you may need to force a blue screen error to test your system or an application's resiliency (or if you want to play a prank to a friend).

Whatever the reason, Microsoft actually has a documented process to modify the Registry to use a keyboard shortcut sequence to force a Blue Screen of Death on your Windows 10 computer using a PS/2 or USB keyboard with a Scroll Lock key.

If you landed on this guide, but you're hoping to fix a BoSD error, check our guide to troubleshoot the Blue Screen of Death on Windows 10.

In this Windows 10 guide, we'll walk you through the steps to force a BoSD error on your PC.

How to force a Blue Screen of Death error

Warning: This is a friendly reminder to let you know that editing the Registry is risky, and it can cause irreversible damage to your installation if you don't do it correctly. We recommend making a full backup of your PC and saving all of your work before proceeding.

  1. Use the Windows key + R keyboard shortcut to open the Run command.
  2. Type regedit, and click OK to open the registry.
  3. Browse the following path:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kbdhid\Parameters

  4. Right-click on the right side, select New, and then click on DWORD (32-bit) Value.

  5. Name the new DWORD CrashOnCtrlScroll and press Enter.
  6. Double-click the newly created DWORD and change its value from 0 to 1.

  7. Click OK to confirm the new value.
  8. Browse the following path:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters

  9. Right-click on the right side, select New, and then click on DWORD (32-bit) Value.

  10. Name the new DWORD CrashOnCtrlScroll and press Enter.
  11. Double-click the newly created DWORD and change its value from 0 to 1.

  12. Click OK to confirm the new value.
  13. Restart your computer to apply the new settings.

Once you complete these steps, you can use your keyboard to intentionally crash your computer by holding down the (right) Ctrl key, and pressing the Scroll Lock twice.

Windows 10 will then trigger a KeBugCheck and generate a 0xE2 error displaying a BSoD with a "MANUALLY_INITIATED_CRASH" message. This will also create and save a crash dump to your computer that can be used for debugging purposes.

If you no longer need to force a Blue Screen of Death, you can use the same steps mentioned above to revert the changes, but on step No. 3 and step No. 8, right-click and delete the CrashOnCtrlScroll DWORD.

Although we're focusing this guide on Windows 10, the same steps will work in Windows 8.1 and Windows 7.

More Windows 10 resources

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