How can I make my keyboard's media keys work when an elevated program has focus?

8

3

When I hit my media keys when using Visual Studio 2010 normally, they control Media Player Classic just fine. When I launch VS2010 with elevated privileges, I have to select another program in order for the keys to work. How can I make the media keys work even when I have a program with elevated permissions with focus?

Eagle-Eye

Posted 2013-03-18T00:52:02.447

Reputation: 194

Answers

4

Depending on what type of keyboard you have there are different supporting applications enabling special features like the media buttons.

Microsoft mice and keyboards use the IPoint and IType applications for this. I have solved the issue with special functions provided by these applications by setting the "Run with highest privilege" on the Windows Task Scheduler activities that are responsible for starting the IPoint and IType applications when a user log in. This way the special features will also be available in admin sessions in Visual Studio.

If your keyboard is from another manufacturer you could probably find the software installed to support your keyboard and try running it with elevated privileges (run as admin) to test it.

Per Salmi

Posted 2013-03-18T00:52:02.447

Reputation: 749

My keyboard is using the Windows generic drivers. I have the same problem with the media keys not working when elevated programs are in focus. Is there a way to elevate the generic keyboard driver? – Matt Chambers – 2017-11-13T21:41:47.243

1Sorry, but I do not know if or how to solve that situation with the generic driver. The possibility to solve it for the IPoint and IType apps was based on the fact that they were separate apps. – Per Salmi – 2017-11-16T10:47:55.557