I used to have a Logitech K520 keyboard. I usually work connected to a remote server using "remote desktop." With the Logitech keyboard, the media keys (like volume) work on my computer even when connected to the remote server in full screen.

I have changed my keyboard to a Corsair k68 mechanical keyboard. With this new keyboard, the media keys do not work when connected to the remote server via RDP.

Does anyone know how to configure these keys to work only for the local computer instead of the remote servers?