make a windows 7 machine crash on BSOD

TheSENDER picture TheSENDER · Feb 6, 2011 · Viewed 22k times · Source

I'm trying to write a windows debug utility and I would need to automatically crash a Windows machine and make a Blue Screen Of Death appear.

I can obviously kill the csrss.exe process from the task manager, but the command TASKKILL /F /IM csrss.exe in a .bat file doesn't work.

Is there another way to make a Windows machine crash on bsod? Maybe some external library able to kill any process.

I would prefer to use a command line approach since I'm more familiar with it.

Answer

haxxy picture haxxy · May 24, 2012

You can do this in powershell with:

get-process | stop-process -force