Summon Blue Screens of Death (for testing purposes only, of course)

Blue Screen
Blue Screen
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!

I finally found a registry hack that allows you to manually initiate a crash over at MSDN.

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.

54321
(0 votes. Average 0 of 5)
Leave a reply

Your email address will not be published. Required fields are marked *