I want a fairly easy way to BSOD a fresh install of Windows 7 or 8 on purpose. Preferably offline, with nothing to undo to get it back up and running again as normal, i.e. a reboot should fix the problem.
6 Answers
The easiest way on Windows that does not require downloads or anything is actually built right into Windows.
- Fire up the Registery Editor
- Navigate to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\kbdhid\Parameters - Add a new DWORD value called
CrashOnCtrlScrolland set it to 1 - Reboot
From then on, the key sequence RCtrl+ScrLk and then ScrLk again will trigger a BSOD. The only downsides is that the crash message on the BSOD states The end user manually generated the crash dump and some modern laptops don't have a ScrLk and/or RCtrl button.
You can manually revert the registry key to be safe, but as long as you don't touch that key combination again (which is really hard to do by accident) it won't happen again.
- Download Sysinternals Process Explorer
- Run Process Explorer as administrator
- Find
wininit.exe, right click, and kill it. - 0x000000F4
This works for Windows 7, not sure about Windows 8.
If you're doing it for research then really a bsod is probably not going to be that useful when you trigger it yourself since it's going to tell you what you already knew (that you killed it.) Occasionally it's useful when programming to capture the exact system state but it's one of those situation where if you were at that level then you'd know what you were doing. :)
As, according to the comments, this is for a prank, the Sysinternals BlueScreen Screen Saver is probably the best tool for the job.
- 356
You could over tweak in bios, maybe RAM. This would allow for a easy reboot and get the message "press F1 for default start up settings".
- 6,660
I cannot recall the process name off-hand, but I believe killing csrss.exe (while running taskmgr as admin) will instantly trigger a safe BSOD.
- 113
