Is there a way to disable command-tab in Microsoft Remote Desktop connection for Mac OS X?

3

On my Mac, I use Microsoft's Remote Desktop app to connect to a Windows box. I can see in the preferences how to map the Command key to Alt, and the Option key to the Windows key, so that the Alt and Windows keys are in the same physical layout on my Mac RDP connection as they are on the actual Windows keyboard. That is, the Alt key (Command) is directly to the left of the space bar, and the Windows key (Option) is directly to the left of that.

But if I set it up that way, I can't use Alt-Tab on the Windows machine--the Mac intercepts it and treats it as a Command-Tab to switch away from the RDP app. I know some programs are able to prevent this--VirtualBox and VMWare, for instance, let you use Command-Tab as Alt-Tab inside a windows guest. (In fact, one solution to this I had was to use a Windows virtual machine on the mac, only to use that to RDP into another machine!)

Short of creating a windows virtual machine, is there any way I can get the Mac RDP app to send Command-Tab as Alt-Tab to the remote Windows machine?

Micah

Posted 2009-07-28T02:14:37.820

Reputation: 131

Answers

5

Try using CoRD instead of Microsoft's RDP client.

Alan

Posted 2009-07-28T02:14:37.820

Reputation:

3Project appears to be deprecated/abandoned, last comment on the site is: 2013-10-23: CoRD don't seem to work on 10.9 Mavericks. Check back next week. :( – Adam Parkin – 2017-12-08T18:43:38.827

3

Is Option-Tab not working? In RDP from a Mac I have gotten used to using the Option key as my Windows Alt. Using this allows me to maintain the Command key for my Mac hot keys and have the actions for alt register in my RDP window.

akf

Posted 2009-07-28T02:14:37.820

Reputation: 3 781

Yes, if I map Option to Alt instead of Command, then Option-Tab works as Alt-Tab. But that drives me bonkers! I want the Alt key to be in the equivalent place on the keyboard whether I'm using the Windows box locally, or remotely from my Mac, and that means that Command should be the Alt key. And I want to use the Option key as the Windows key (which works fine--but I want my Alt-Tab!) – Micah – 2009-07-28T02:36:02.590

I am with you. If I could correct you just a bit - you want the key next to your space bar on your left thumb + tab to work. On my MacBook Pro, the option key actually has 'alt' written above it! – akf – 2009-07-28T03:25:08.540

That's right. My apple full-size keyboard that came with my Mac Pro also has "Alt" written above the option key, and if I plug that keyboard into a Windows box, the Option key becomes Alt and the Command key becomes the Windows key. But, as you say, my fingers want to use the key to the left of the spacebar as Alt.

I'll edit the question for clarity... – Micah – 2009-07-28T04:08:57.157

2

Native within OSX, you can remap existing menu items. If your application has a menu item for CMD+TAB, you are in luck.

For me, I needed to disable (or remap) CMD+W when using Microsoft Remote Desktop (muscle memory would press CMD+W to close a tab within a remote session and would accidentally close my remote session). I originally tried karabiner but it was way overkill for this.

How to remap a command for specific application:

  1. Check your application menus for the command you want. NOTE THE exact COMMAND NAME. RDP Menu options example
  2. Within System Preferences -> Keyboard -> Shortcuts Tab -> App Shortcuts pane -> Click the + button to add new application specific command remap App shortcuts control panel
  3. Create a new remap for your application. Note: The Menu Title has to match exactly to the command you identified in step 1. Creating new App shortcut remap
  4. Enjoy your newly remap/"disabled" key shortcut (remap it to some crazy combo to effectively disable it): Close command remapped to new key combination

PotatoFarmer

Posted 2009-07-28T02:14:37.820

Reputation: 121

1

Old post, but here's a great solution. Use the mac app Karabiner. https://pqrs.org/osx/karabiner/

It allows you to do several things with remote desktop.

Go to the Change Key tab and look under For Applications

Chris Beshore

Posted 2009-07-28T02:14:37.820

Reputation: 11

2please, do not link solutions. Rather write the important part here, since after the website disapears, it will not be helpful to anyone. – Jakuje – 2015-10-30T16:47:02.870

The link is to the mentioned app. – Dave M – 2015-10-30T17:16:56.677

Yup. Link is for convenience. – Chris Beshore – 2015-10-31T20:45:50.537

0

You could do this:

  1. Swap the Command key and Option key in Mac Keyboard Preferences.
  2. Set Alt to Option (default) in RDP Client Preferences and set Windows Start to Command.

This gives you the same layout as a Windows keyboard on Remote Desktop, though it does affect the remainder of your Mac applications. I find that it's not that big of a deal to get used to swapped option and command keys on the Mac. I spend a lot of time in an RDP session and I spend another 30% of my time on a PC, so it's just easier to use that layout for me.

atroon

Posted 2009-07-28T02:14:37.820

Reputation: 2 496