4

We have a Windows 2008 r2 server that we connect to via Remote Desktop Connection.

We want to use the "Crash on Ctrl-ScrollLock" key combination as described here (a vendor is asking us to send them memory dump):

http://support.microsoft.com/kb/244139

The synopsis of the kb article is: "...you can generate a memory dump file by holding down the right CTRL key and pressing the SCROLL LOCK key two times."

But, since it is VMWare session and we connect to it via RDC, it doesn't want to take that keystroke combination (i.e. no dump is performed).

Does anyone have any ideas on how to send that key combination through RDC...or perhaps cause a dump to happen another way?

user57984
  • 41
  • 1
  • 2

5 Answers5

4

You can't.

This manual crash functionality is embedded in the PS/2 and USB keyboard drivers in Windows, and keystrokes originating from remote desktop connections never go anywhere near those drivers.

Thus, you can only trigger this manual crash from a directly attached keyboard.

A workaround

[Edit: Luckily, there's a workaround. Please see David's answer, below.]

Michael Hampton
  • 244,070
  • 43
  • 506
  • 972
2

Try a 3rd-party utility to trigger the BSOD like NotMyFault https://docs.microsoft.com/en-us/sysinternals/downloads/notmyfault

1

I will admit I haven't tested this, but in your RDP session could you bring up the on screen keyboard and do it from there? Might be worth a shot.

Ben Pilbrow
  • 12,041
  • 5
  • 36
  • 57
  • That sounds like it might work. If not, the OP may be able to install a soft keyboard on the server and generate the keystrokes that way. – joeqwerty Oct 22 '10 at 20:48
0

Try running MSTSC.EXE, and experiment with the Keyboard options on the Local Resources tab.

Simon Catlin
  • 5,232
  • 3
  • 17
  • 20
0

You could try http://www.autohotkey.com/ with a script like

Send {Control down}
Send {scroll_lock 2}
Send {Control up}

( http://www.autohotkey.com/docs/commands/Send.htm )

TessellatingHeckler
  • 5,726
  • 3
  • 26
  • 44