Func _EnableKernelModeDumps()
#cs
;HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl
; set the LogEvent DWORD value to 1 (This should already be on)
; set the SendAlert DWORD value to 1 (This should already be on)
; set the AutoReboot DWORD value to 0 (If you want the system to sit at the bluescreen)
;set the CrashDumpEnabled DWORD value to 2 (For Kernel Memory Dump)
;
#ce
RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl", "CrashDumpEnabled", "REG_DWORD", 0x00000002)
EndFunc ;==>_EnableKernelModeDumps