Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

4 Answers 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.

share|improve this answer

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.

share|improve this answer
    
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

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

share|improve this answer

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 )

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.