Tuesday, June 24, 2008

Generate a memory dump using a keyboard without the right Ctrl key

We quite often make use of the CrashOnCtrlScroll feature :

http://support.microsoft.com/?id=244139 Windows feature lets you generate a memory dump file by using the keyboard

However, many of the keyboards in our racks do not have a righthand Ctrl key. Previously we had to plug in a full sized keyboard but functionality has been added to allow the keys to be modified. I was slightly confused by the article, so to save anyone else any time head scratching :

To configurethe Left CTRL and SPACE BAR you would set :

Dump1Keys = 0x20 (hex)

Dump2Key = 0x3D (hex)

Or to use CTRL and D :

Dump1Keys = 0x20 (hex)

Dump2Key= 0x21 (hex)

The value for Dump1Keys being :

CRASH_R_SHIFT 0x01

CRASH_R_CTRL 0x02

CRASH_R_ALT 0x04

CRASH_L_SHIFT 0x10

CRASH_L_CTRL 0x20

CRASH_L_ALT 0x40

and Dump2Key being one of the following but converted to hex:

keyboard


No comments: