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.
- Use the Windows key + R keyboard shortcut to open the Run command.
- Type regedit, and click OK to open the registry.
Browse the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kbdhid\Parameters
Right-click on the right side, select New, and then click on DWORD (32-bit) Value.
- Name the new DWORD CrashOnCtrlScroll and press Enter.
Double-click the newly created DWORD and change its value from 0 to 1.
- Click OK to confirm the new value.
Browse the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters
Right-click on the right side, select New, and then click on DWORD (32-bit) Value.
- Name the new DWORD CrashOnCtrlScroll and press Enter.
Double-click the newly created DWORD and change its value from 0 to 1.
- Click OK to confirm the new value.
- 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:
- Windows 10 on Windows Central – All you need to know
- Windows 10 help, tips, and tricks
- Windows 10 forums on Windows Central
We may earn a commission for purchases using our links. Learn more.

We're going to see tons of game delays this year and that's OK
We'll be seeing a lot of games delayed throughout 2021, more than were delayed in 2020. Right now, you should only depend on playing things that were originally supposed to release last year. Here's why that's OK.

AMD's Radeon RX 6000 GPUs have arrived. Here's where to find them.
AMD's Radeon RX 6000 GPUs aren't easy to find, and you might be wondering which models are available where. Check out the retailers and models you can expect to buy when stock normalizes.

These are the biggest PC announcements from CES 2021
CES 2021 was different in that it wasn't held at a physical location. Instead, companies relied on press kits and virtual presentations to showcase all the new products. We've rounded up the best PC-related announcements in case you happened to miss the show.

These are the best PC sticks for when you're on the move
Instant computer, just add a screen! That’s the general idea of the ultra-portable PC Compute Sticks, but it can be hard to know which one you want. Relax, we’ve got you covered.