Keyboard Ninja: Kill Windows with the Blue Screen of Death in 3 Keystrokes
Have you ever wanted to show off your keyboard ninja skills by taking down Windows with just a couple of keystrokes? All you have to do is add one registry key, and then you can impress your friends… or use it to convince people to switch to Linux.
This isn’t a bug, it’s a “feature” in Windows that is designed to let users trigger a crash dump for testing purposes. There’s even a whole Microsoft KB article on the subject.
To enable this feature, open up regedit and then browse down to one of these keys, depending on your keyboard type:
USB Keyboard
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kbdhid\Parameters
PS/2 Keyboard
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters
Now right-click on the right-hand pane and add a new DWORD key named CrashOnCtrlScroll, giving it a value of 1.
Reboot your computer, and when it starts back up you can trigger the Blue Screen of Death by using the following keyboard shortcut:
Hold down Right Ctrl and hit Scroll Lock twice
To remove this “feature” you can just delete the registry key and then restart your computer again.
Please note that following this article WILL crash your computer… really isn’t very useful, but it’s lots of fun =)
Daily Email Updates
You can get our how-to articles in your inbox each day for free. Just enter your name and email below:
| Similar Articles | Featured Wiki Articles |
| Latest Software Reviews | Quick Linux Tips |
| Geek Arcade | Popular Forum Threads |


Doesn’t the “convince people to switch to linux” seem a little mean?
Chuma,
There’s a lot of Linux fans that are readers of this site… figured I’d mention that angle as well =)
Interesting. I saw that message for real in an elderly Micron running XP Home whenever I ran a program for updating my Garmin GPS. Only incidence in 6 years.
@Tregonsee,
I was trying to write an article a while back that needed a BSOD screenshot… I couldn’t figure out how to kill Windows… I don’t think I’ve had an actual BSOD in years.
Fun to crash your computer?! I don’t get it.
Don’t you think that whole “convince people to switch to Linux” seems a out of place? This is an actual feature, no need for the quotes. It may be intended for advanced users and/or developers, but it’s still a feature.
Memory dumps are _very_ useful for debugging purposes. Even if you have little knowledge of debugging, it’s fairly easy to read the output of a simple “!analyze -v” in WinDbg or send a minidump to a skilled friend.
Sometimes though, the system doesn’t crash, but grinds to a halt or freezes. If there is any hope of debugging, you will need a memory dump though. You can manually generate a memory dump using the CrashOnCtrlScroll PS/2 keyboard driver feature or, of course, you can use a serial console if you have that handy.
It is generally a good idea to configure Windows to perform a full memory dump before though. See
http://unixsadm.blogspot.com/2.....lysis.html for details.
This was just meant as a humorous look at a feature in Windows… don’t take it so seriously guys!
Sure, no offense meant. Just wanted to point out that while it’s a fun joke to play on friends or a neat way of getting a nice screenshot (say with VMware) it can also be very useful when your production server is freezing for no apparent reason and you’re forced to dive in and “save the day”
.
Most people see a BSOD as a horrible horrible thing. I see it as a wonderful feature of Windows, that protects your data from getting corrupted (how can the OS write safely to a filesystem if it’s not sure of it’s integrity for example? One reason crash dumps are done in swap). Instead of doing a BSOD, the OS could just write random corrupted data on your disk for example, and you wouldn’t like that very much. It’s also a way to obtain very useful debugging information.
And, just one more thing: the vast majority of crashes are caused by faulty hardware (usually bad memory without ECC – a simple memtest86 will reveal that) or overheating CPUs (check sensors for CPU, GPU, system etc). A simple check of S.M.A.R.T (look at reallocs) parameters of your disk is good too. And after that, over 90% of crashes are caused by 3rd party drivers (especially those that aren’t signed or verified). A simple go with Driver Verifier and WinDbg and an update will point that out quick enough.
Mihai,
I didn’t take offense =)
You are exactly correct, it’s always hardware or really bad drivers that cause a BSOD, in my experience…
stueycaster. I can see when it’s fun to crash your computer.
When you want to push something to the limit and then deduct 0.005% to run it
You are friggin’ weird if you think everyone would just switch to linux based on his funny windows comment.
I’m a firm believer in running everything well within it’s limitations. Things last longer and have far fewer problems that way. I will never overclock because it makes excess heat. I drive slowly because that way I never find myself tailgating. I accelerate slowly because it uses far less gas and at best it saves only a few seconds travel time anyway. I used to play in bands and I found that the musician that always played as fast as they can annoyed the listeners.
There’s really no need to push computers to their limits. What do you do, set up your computers side by side with your friends and have races to see which one is faster?
Push things to their limits? I don’t get it.
stuey, i bet you’re a blast at parties. I guess it was also foolish for man to land on the moon, and scale Mt. Everest. Pushing things to the limit is a basic human instinct.
Pushing the limits is OK, if it comes for free. The same stuff was going on when the 80386 80486 processors was around. Do you still think that a turbo button makes sense for a computer if it goes from 8 Mhz to 12 Mhz ? Back that time, it did…
Actually I am a lot of fun at parties. I’m so easy going that I can get along with anybody. When I played music for people they went nuts.
It’s ok for people to push personal limits and stuff like that. But don’t push limits with machinery or computers. That’s good for nothing but breaking stuff.
BSODs are SOMETIMES useful, disabling them is probably a bad idea.
This could be useful for those who urgently need to get out of doing some work! Hey folks, my computer keeps on Blue screening!……(btw I’m joking so don’t take offence!
@David:
That’s a great idea! I need a new computer, mine keeps crashing! =)
This is probably a silly question, -but what is a “scroll lock key”? I am unfamiliar with this nomenclature.Maybe we call it by a different name, but I don’t seem to have an ’scroll lock’ ability.
I love it… the boss comes over while you’re goofing off and you don’t have time to shut stuff down… hit the bluescreen key!
You’re surfing porn when your wife/girlfriend comes over and can’t close all those windows fast enough? Use the bluescreen key!
This is the best article ever!
It is a useful setting though not for a workstation. I have had to set that up several times as a forced a crash dump was needed for servers that had some memory leak issues.
It worked on my computer! I have a PS/2 Keyboard, and it’s a key called “i8042prt” in HKLM\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters. CrashOnCtrlScroll value works well and I have four memory dumps! I think I can wind my classmates up by doing this when I get back to school! Everybody will find it funny!
On my laptop, I will think I can get a USB keyboard to work, but not on my special keyboard because it’s not a PS/2 connection. It’s a Microsoft Launch Manager from Acer connection.
You shouldn’t crash your computer just to hide porn or w/e, a simple bash file will take care of all your needs.
For example, you can have it set to close the browsers instantly [this is really quick]:
tskill iexplore /a
tskill firefox /a
Or you could have it shutdown:
tsshutdn 0 /powerdown /delay:0
Or reboot:
tsshutdn 0 /reboot /delay:0
Or logoff [this is really quick]:
logoff
Or hibernate:
RunDll32.exe powrprof.dll,SetSuspendState
So, as you can see, there are less destructive yet just as effective methods. You can set these as macros and execute them from the command prompt, or have the batch file as a shortcut somewhere convienent. Whatever words best for you. I should mention that the above codes work well with XP, I’m sure there may be variations with Vista.
Also, there are ways to edit the reg with a batch file, so in this way, you can automate the advice in this article if you still wanted to crash the comp.
Typo: bash = batch, words = works. Just wanted to clear that up. :]
Be fair – add instructions for “crashing” a Linux box the same way
>Be fair – add instructions for “crashing” a Linux box the same way
For people who are actually geeks there is a reason for this. If you have an app that stops the system from responding normally but does not actually crash the OS this can be VERY helpful in finding the cause of the problem because it forces Windows to create a crashdump log that can be investigated to see what processes are running and what function calls they are executing when the problem occurs. Get a couple dumps with the same information and you have something to point to either to your own programmers or the vendors.
I don’t think you can convince ANYONE to use Linux, it’s just not made for the regular person.
Its not only a feature for crashing but can be used to switch to one machine from another when sharing a monitor
so stupid…..to active a feature to show off….
if it is a build-in one..ok…but install…reboot..bla bla..who do you think you can impress?….
try harder next time…
(nope i am NOT using win or anz other m$ products…)
Sounds like fun. However, I’m no computer expert, but there’s a line there that says “the end- user manually generated the crashdump.” That could kind of tip your friend off if they actually bother reading the message. Not to mention you need time to enter the registry key and reboot while they don’t see…
Actually, in the article you say to add it to HKLM/Settings/CurrentControlSet/Services/kbhid/Parameters but in your screen shot it shows the information that is listed under HKLM/Settings/CurrentControlSet/Services/kbhid. When I add the CrashOnCtrlScoll DWORD value under the Parameters key it doesn’t work but when I put it under the kbhid key it works like a charm. Just thought I would mention that.
@Tom
There are two places that it can be set, based on which type of keyboard you have. You must have a usb keyboard, wheras I was using a machine with a ps/2 keyboard (a virtual machine, actually).
As soon as I saw this my first thought as: LOL
Good work
I fail to see why the heck someone would want to kill there machine?
Actually I’m having this problem, how do I solve it?
Anybody know how to get this to work on XP with a USB keyboard? Seems to only work for Server 2003.
Anderew said: I fail to see why the heck someone would want to kill there machine?
It is for system developers. Say you wrote some system service or driver that complelety hangs the system. You can force a crash dump and be able to investigate what was happening at the moment that the crash dump was created (by opening the crash dump in a debugger on your dev box, and investigating it).
Normally developers would connect a kernel debugger and be able to break in at any time, but this can be a good substitute if the issue only occurs at a customer site.
Funny – The Geek is such as home user.
For some reason, my crappy computer that I built only keeps the screen on for about half a second and then reboots. Anyone know why?
BTW, great article
This would be a great April fool joke.
LMAO :=D
“Aaron Moorley
For some reason, my crappy computer that I built only keeps the screen on for about half a second and then reboots. Anyone know why?
BTW, great article ”
Yes, because you have your computer to reset on a BSOD
Actually this is a very useful feature. When you cause the bluescreen of death a dump file is created (if Windows is configured to do so) and you will have a snapshot of what was going on when you caused the crash. i.e. loaded drivers, what’s in memory (depending on crash type) So for example if a driver is causing your system to ‘hang’ using the Ctrl+Scroll lock you can open the created dump file in Windows debugging tools and identify the culprit.