Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know if it is possible to either make RDP ignore media keys (ie let the local system process them rather than the remote system), or capture them before RDP processes them, and send them directly to the local system?

Basically I have a setup in which I have a media player playing music on my local system, and when I RDP into various systems I want to still be able to control the media player with the media keys, rather than the remote system interpreting them.

I found one solution that utilises a small app on the remote machine that captures the media keys (well, configurable for any keystroke) and sends them back to an agent on the local system. It seems a rather convoluted way and since I RDP into VMs or KVM switches I.E. not always a Windows RDP host directly I can't run the client-side app on them.

Any suggestions would be welcomed.


share|improve this question
up vote 1 down vote accepted

AFAIK this isn't possible. The Windows RDP clients do not allow this level of granularity for keyboard input.

share|improve this answer
Is it possible for some other to intercept the keys before RDP receives them, for instance foobar2000 constantly 'watching' the media key states via an API hook? – Tim Jones Mar 3 '11 at 20:15
I guess that would depend on where they're intercepting the calls. It would probably be possible, but I'm not aware of anything that does it that I could point to as an example. I work on the CoRD project and we get the gripe/request all the time that people don't want to send <key>, they want it used locally; its just not feasible to implement. You can either send all keystrokes remotely, or none. Picking and choosing gets to be far too complicated too quickly. – peelman Mar 3 '11 at 20:40
Ah cool, I've used CoRD before. Great app. Looks like I might have to look into doing something myself with a hook DLL to intercept the keystrokes as they come in. – Tim Jones Mar 3 '11 at 20:57
Best of luck with that :) – peelman Mar 3 '11 at 21:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .