How to manually create a crash dump file

本文介绍了如何通过修改注册表项HKEY_LOCAL_MACHINESystemCurrentControlSetServicesi8042prtParameters下的CrashOnCtrlScroll值来使系统在特定按键组合下触发蓝屏崩溃。适用于PS/2键盘,对于USB键盘则需使用kdbhid服务。

From: Advanced Windows Debugging

In the registry key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\i8042prt\Parameters, create a value named CrashOnCtrlScroll, and set it equal to REG_DWORD 0x1 (or any nonzero value). After the system has rebooted, you can generate a crash by holding down the rightmost CTRL key and pressing the SCROLL LOCK key twice. This causes the system to call KeBugCheck() with a bug check code of 0xE2 (MANUALLY_INITIATED_CRASH).

 

from http://www.cnblogs.com/XiaoHui/archive/2008/05/18/1202217.html

ps: 这有另外一篇文章介绍这个东东

http://www.liutilities.com/products/registrybooster/tweaklibrary/tweaks/10418/#RelatedRegistryTweaks

再次ps:这篇文件只针对ps/2键盘,如果是usb键盘,需要使用kdbhid服务。另外我在虚拟机测试不成功,但是物理机成功。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值