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.
You can do this in powershell with:
get-process | stop-process -force