There are many situation when you would like to generate BSOD on a system to test few of scenarios.
Force Windows Vista to crash to Blue screen:
There is a registry hack that allows you to make Windows Vista crash to a blue screen of death whenever you want.
1. Open REGEDIT.
2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt
then click Parameters
3. Double-click on CrashOnCtrlScroll and set the value to 1 to enable this feature.
Restart the computer. Now when you hold down the CTRL key and press the SCROLL LOCK key two times, Windows Vista will automatically crash to a BSOD.
(More Info: click here)
An alternative way to force BSOD in C# --
To crash wondows (any OS):
C# program:
Process[] processes = Process.GetProcesses();
foreach (Process process in processes)
{
process.Kill();
}
Above code is enough to generate BSOD on any windows OS.
No comments:
Post a Comment