Udostępnij za pośrednictwem


Getting “alt-tab” to go to the virtual machine

I got asked this question on twitter the other day:

When using Hyper-V - how do I get “alt-tab” to go to the virtual machine and not to the parent partition?

I was surprised to find out that I had not blogged the answer to this one already.  It is quite simple to do.  If you open the Hyper-V Settings user interface (from the Hyper-V Manager) you can change the keyboard settings to one of the following options:

image

By default – key combinations like “alt-tab” will only go to the virtual machine when it is in full-screen mode.  If you change this option to “Use on the virtual machine” then these key combinations will always go to the virtual machine (this is usually what I change the setting to on my computers).

Cheers,
Ben

Comments

  • Anonymous
    August 25, 2011
    The comment has been removed

  • Anonymous
    August 30, 2011
    @Chris, I had the same thing happen. I was remoted into the vhost, so this fix is helpful, but still a bit of a challenge because the keystrokes are one hop removed from being on the host. At one point I hit <ctrl> <shift> <tab> and got to the "Services failed to start" OK button. Not sure if that is a golden answer. What would be TOTALLY awesome is if next to the Three Button CAD icon on the Virtual Machine Connection there was an option for a virtual keyboard, just like you can get for Windows Mobility... only a bit smaller so it will fit on the screen. In almost every instance of using the VMC, I am remoted into the vhost by RDC or some other remote desktop. This would be soooooooooo helpful. Hint, hint, hint, Ben...

  • Anonymous
    September 16, 2011
    i don have admin access to my Virtual Machine, so could you please help me to use Alt+Tab key inside a VM without this Hyper V settings. Thanks in advance!

  • Anonymous
    January 29, 2014
    thank you so much for this! it sounds so simple but it's been bugging me for a while!!!