Today I had a need to manually trigger and sustain a Blue Screen of Death (BSOD) inside a Windows Server VM. The goal was to be able to trigger a BSOD so that I could work on the detection of powered on but failed VMs inside a server environment. All major hypervisors have this feature built in, but without testing it I do not want to enable the feature before we put it into production.
At first, I tried all of the usual tricks – running out of RAM, nailing the CPUs. Nothing worked. I’m happy to say that Windows stability is now an issue because it’s just so stable!
Voila! Use the USB keyboard registry key. Set it and reboot the machine. To trigger it, hold right-control and hit scroll lock twice.
BOOM! Immediate manually-initiated BSOD. Neat, huh?
Continue reading on DavidKlee.net.