Windows includes a hidden feature that can be used to manually trigger a system crash and generate a Blue Screen of Death (BSOD). This feature is mainly useful for developers, system administrators, and advanced users who need to test crash-dump settings or verify how Windows handles an unexpected system failure.
By default, pressing Ctrl + Scroll Lock does nothing. However, Windows can be configured to recognize a specific keyboard combination and intentionally trigger a crash.
This should only be enabled on a test computer or when you have a specific reason to generate a crash dump. A manually triggered crash can cause unsaved work to be lost and may restart the computer.
The steps are slightly different depending on whether you use a physical keyboard or a laptop keyboard, but the Windows configuration itself is similar.
Method 1: Enable the Keyboard Crash Option Using the Registry
The easiest way to enable the manual crash keyboard shortcut is through the Windows Registry.
Before modifying the Registry, save your work and make sure you understand that incorrect Registry changes can affect Windows.
Follow these steps:
- Press Windows + R.
- Type:
regedit
- Press Enter.
- If User Account Control appears, select Yes.
- Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kbdhid\Parameters
The kbdhid key controls settings associated with USB HID keyboards.
If you are using a PS/2 keyboard, the relevant location can be different.
For a USB keyboard, right-click an empty area in the right pane and select:
New > DWORD (32-bit) Value
Name the new value:
CrashOnCtrlScroll
Double-click it and set Value data to:
1
Click OK.
The value should now appear as:
CrashOnCtrlScroll REG_DWORD 0x00000001 (1)
Do not change other Registry values unnecessarily.
Method 2: Enable Crash on Ctrl+Scroll Lock for a PS/2 Keyboard
If your keyboard uses the legacy PS/2 keyboard driver rather than the USB HID driver, Windows uses a different Registry location.
Open Registry Editor and navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters
In the right pane:
- Right-click an empty area.
- Select New.
- Choose DWORD (32-bit) Value.
- Name it:
CrashOnCtrlScroll
- Double-click the new value.
- Set Value data to:
1
- Click OK.
The important part is that the value must be created under the keyboard driver that Windows is using.
Most modern computers use USB or wireless HID keyboards, so the kbdhid location is more commonly relevant.
Method 3: Enable the Setting Using Command Prompt
You can also configure the Registry from an elevated Command Prompt instead of manually navigating through Registry Editor.
For a USB HID keyboard, open Command Prompt as administrator and run:
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kbdhid\Parameters" /v CrashOnCtrlScroll /t REG_DWORD /d 1 /f
Windows should report that the operation completed successfully.
For a PS/2 keyboard, use:
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters" /v CrashOnCtrlScroll /t REG_DWORD /d 1 /f
This creates or updates the required Registry value.
Using Command Prompt can be useful when configuring multiple test machines because you do not need to manually browse through Registry Editor each time.
Make sure Command Prompt is running with administrator privileges. Without elevation, Windows may deny the Registry modification.
Method 4: Restart Windows to Apply the Change
The keyboard crash setting does not normally become active immediately after changing the Registry.
Restart Windows after creating the CrashOnCtrlScroll value.
To restart:
- Save your open files.
- Close applications.
- Open Start.
- Select the Power button.
- Click Restart.
You can also restart Windows from Command Prompt:
shutdown /r /t 0
After Windows starts again, the keyboard driver should load the updated configuration.
Do not test the shortcut before restarting and assume that it is active. The driver needs to load the updated Registry setting.
Method 5: Trigger the Manual Crash
After restarting Windows, you can test the configuration.
Press and hold the right Ctrl key.
While holding it, press the Scroll Lock key twice.
The sequence is:
Right Ctrl + Scroll Lock + Scroll Lock
On systems where the setting has been correctly configured, Windows should intentionally trigger a system crash.
You may see a blue-screen error screen, followed by an automatic restart.
Any unsaved data can be lost, so close applications and save important work before performing this test.
If nothing happens, do not repeatedly press the shortcut. Check the Registry location, keyboard type, and whether Windows was restarted after the configuration change.
Method 6: Use a Laptop’s Scroll Lock Key
Many modern laptops do not have a dedicated Scroll Lock key.
If your laptop keyboard does not include Scroll Lock, you may need to use an alternative keyboard combination provided by the manufacturer.
Some keyboards provide Scroll Lock through an Fn combination. The exact shortcut varies between laptop models.
You can also connect an external keyboard that has a dedicated Scroll Lock key.
Before testing, verify that Windows actually receives the Scroll Lock key input.
The important requirement is that Windows receives the equivalent of the Scroll Lock key twice while the right Ctrl key is held down.
Do not assume that every laptop’s Fn combination will work identically.
Method 7: Disable the Crash Shortcut After Testing
Once you have finished testing, it is a good idea to disable the manual crash shortcut.
Open Registry Editor again and return to the location where you created CrashOnCtrlScroll.
For a USB HID keyboard:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kbdhid\Parameters
For a PS/2 keyboard:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters
Find:
CrashOnCtrlScroll
Double-click it and change the value from:
1
to:
0
Alternatively, you can delete the CrashOnCtrlScroll value.
Restart Windows after making the change.
You can also use Command Prompt to disable the setting by changing the value to zero:
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kbdhid\Parameters" /v CrashOnCtrlScroll /t REG_DWORD /d 0 /f
Restart the computer afterward.
Disabling the setting prevents an accidental Ctrl+Scroll Lock combination from intentionally crashing the system.
Method 8: Check Crash-Dump Settings Before Testing
If your purpose is to test Windows crash dumps, check the dump configuration before triggering the crash.
Open Settings and search for Advanced system settings.
You can also press Windows + R and enter:
sysdm.cpl
Then:
- Open the Advanced tab.
- Under Startup and Recovery, select Settings.
- Look for the Write debugging information section.
- Check which type of memory dump Windows is configured to create.
- Confirm the location where the dump file will be stored.
The exact options available can vary between Windows versions and configurations.
A crash dump can help developers and administrators investigate driver or kernel problems. If you are testing a particular application or driver, make sure the dump configuration is appropriate before intentionally crashing the system.
After Windows restarts, dump files can be examined using appropriate Windows debugging tools.
Conclusion
Windows 11 and Windows 10 can be configured to intentionally trigger a system crash using the Ctrl + Scroll Lock keyboard sequence. The feature is primarily intended for testing crash handling and memory-dump configurations rather than everyday troubleshooting.
For a USB keyboard, the CrashOnCtrlScroll Registry value is normally configured under the kbdhid parameters key. Systems using a PS/2 keyboard use the i8042prt parameters key instead.
After creating the setting, restart Windows and use Right Ctrl + Scroll Lock + Scroll Lock to trigger the crash. Remember that this immediately interrupts Windows and can result in lost unsaved data.
When testing is finished, disable the setting and restart Windows again. Keeping the manual crash shortcut disabled during normal computer use reduces the chance of accidentally triggering a system crash.
FAQs
1. What does Ctrl+Scroll Lock do in Windows?
When the appropriate Registry setting is enabled, pressing Right Ctrl + Scroll Lock + Scroll Lock can intentionally trigger a Windows system crash. This feature is mainly used for crash-dump and system testing.
2. Why does Ctrl+Scroll Lock not work on my computer?
Check that CrashOnCtrlScroll has been configured under the correct keyboard driver Registry key and restart Windows afterward. Also make sure you are using the right Ctrl key and that your keyboard can send the Scroll Lock input.
3. Can I use this feature on Windows 11?
Yes. The manual crash keyboard setting is available in Windows configurations that support the relevant keyboard driver mechanism. The Registry location depends on the keyboard driver being used.
4. Should I leave CrashOnCtrlScroll enabled?
It is generally better to disable it after testing. The shortcut intentionally crashes Windows, so leaving it enabled creates a possibility of an accidental system crash.
Quick Summary
- Create the
CrashOnCtrlScrollRegistry value under the appropriate keyboard driver. - Set its value to
1and restart Windows. - Use Right Ctrl + Scroll Lock + Scroll Lock to trigger the test crash.
- Disable the setting and restart Windows when testing is complete.





