How to Enable or Disable BSOD Crash on Ctrl+Scroll Lock in Hyper-V Virtual Machine

information   Information
A blue screen error (also called a stop error) can occur if a problem causes your PC to shut down or restart unexpectedly (aka: crash). When you experience this type of error, you won’t be able to see things like the Start menu or the taskbar on the screen when your PC is turned on. Instead you might see a blue screen with a message that your PC ran into a problem and needs to restart.

Windows has a hidden feature that you can enable to be able to manually force a BSOD by holding down the rightmost Ctrl key, and press the Scroll Lock key twice while in a Hyper-V gen 1 or gen 2 virtual machine (guest OS).

When used, the system calls KeBugCheck and issues bug check 0xE2 (MANUALLY_INITIATED_CRASH). Unless crash dumps have been disabled, a crash dump file is written at this point.

This tutorial will show you how to enable or disable to manually force a BSOD crash on Ctrl+Scroll Lock in a Hyper-V virtual machine guest in a Windows 8 and Windows 10 host.

You must be signed in as an administrator to be able to enable or disable the BSOD crash on Ctrl+Scroll Lock feature.

Note   Note
The downloadable .reg files below will add and modify the DWORD value in the registry key below.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\hyperkbd\Parameters

CrashOnCtrlScroll DWORD

(delete) = Disable
1 = Enable


EXAMPLE: Hyper-V BSOD Stop Code: MANUALLY_INITIATED_CRASH
Enable or Disable BSOD Crash on Ctrl+Scroll Lock in Hyper-V-hyper-v_bsod.png



Here's How:

1. While in the Hyper-V virtual machine, do step 2 (enable) or step 3 (disable) below for what you would like to do.


 2. To Enable BSOD Crash on Ctrl+Scroll Lock in Hyper-V

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Enable_Hyper-V_BSOD_CrashOnCtrlScroll.reg

Download


 3. To Disable BSOD Crash on Ctrl+Scroll Lock in Hyper-V

NOTE: This is the default setting.

A) Click/tap on the Download button below to download the file below, and go to step 4 below.

Disable_Hyper-V_BSOD_CrashOnCtrlScroll.reg

Download

4. Save the .reg file to your desktop.

5. Double click/tap on the downloaded .reg file to merge it.

6. If prompted, click on Run, Yes (UAC), Yes, and OK to approve the merge.

7. Restart the computer inside the Hyper-V virtual machine to apply.

8. You can now delete the downloaded .reg file if you like.


That's it,
Shawn