Causing system crash from Keyboard – if you ever want to test ….. something.
USB Keyboard?
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\kbdhid\Parameters
CrashOnCtrlScroll – dword 0x01
Press CTRL and Scroll Lock twice, and you should get a BSOD, stop 0xE2, and a memory dump if not disabled.
HyperV Keyboards are in the key
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\hyperkbd\Parameters
Resources:
https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/forcing-a-system-crash-from-the-keyboard?redirectedfrom=MSDN