With Hyper-V RC0 now available, [Update: 26th June 2008. Hyper-V RTM is now available. RC0 is pre-release software] the ideal solution for controlling VMs remotely is to use the Hyper-V management tools from another Windows Server 2008 machine, or from Vista SP1 - the Vista tools being available shortly. However, many people like to use a Remote Desktop (mstsc) session to the Hyper-V parent partition, and use Virtual Machine Connection in that session. In Hyper-V beta, mouse control in this scenario is erratic and effectively unusable (Ben has more information here). For that reason, we now explicitly block mouse capturing in Hyper-V RC0 when using Virtual Machine Connection over a TS session and display a message that the Mouse is not captured in the Remote Desktop session.
Maybe I've been using computers for way too long, but clearly from email's I been receiving, many people struggle to use Windows without a mouse. Once you get the hang of it, I promise, it really isn't that hard. The secret sauce is knowing a few key presses or how to get to a command prompt. Many times, a command prompt is sufficient, so let's start with one way. (Obviously this also assumes you are not using a Server Core installation). Take a look at the toolbar and menu in Virtual Machine Connection. You can either click the icon on the far left, or select Ctrl-Alt-Delete from the Action menu.
From here, you can hit Tab 4 times to select "Start Task Manager" and hit Enter.
By default, Windows Task Manager is always on top of other windows. While that sometimes isn't a bad thing, once you start a command prompt, it can get in the way. So, you can use Options/Always On Top to change that behaviour. You do that by Alt+O to select Options, then just hit Enter as Always On Top is the first action on the menu.
Getting to a command prompt AND being able to see it's contents is now pretty simple. From Task Manager, select File (Alt+F) and New Task (Enter), type cmd and hit Enter.
But what if you aren't logged on as local administrator, and want a command prompt run as administrator? Now you need a few more of those "secret sauce" keys. The first step is being able to get to the start menu. For that, Alt-Home is your friend. The command prompt is by default pinned to the start menu.
So you can press the arrow up key a few times. But that still doesn't get round the case where you want to run it as an administrator. This is where the next key sequence, Shift-F10, comes in. Move up to the Command Prompt item using up-arrow and press Shift-F10. This displays the context menu, the equivalent of right-clicking on something. You then have the option of "Run as administrator"
What if I wanted to get to the drop-down menu in a command prompt (the one at the top-left) to maximize it or use Edit/Mark and Edit/Paste? Well for that, you need Alt-Delete.
What if I had a few applications running, and I want to switch between them. The answer is the keys Alt+PageUp and Alt+PageDown. These are the equivalent to Alt-Tab and Alt-ShiftTab in a regular machine.
With that set of keyboard knowledge, plus remembering Tab and Shift-Tab to change focus from one control to another in a window, you can pretty much navigate Windows in a VM in it's entirety.Of course, Hyper-V has another trick up it's sleeve which also helps. Under Hyper-V settings on Hyper-V Manager, you can choose where to redirect Windows key combinations. The default setting though is for they keys to be used on the physical computer.
Usually with the above knowledge, you can get far enough to install service packs where needed, and the integration services for Hyper-V so that you get mouse control back again. Happy keyboarding. Time to throw that mouse away? I challenge you ;)
Ok, this just sucks. Please pardon my french. I feel like typing so many four letter words it is NOT funny.
I AM a keyboard guy. I have been for 27 YEARS. I don't touch the mouse if I can help it.
I'm migrating from Virtual Server 2005 R2 SP1 to Hyper-V. And in terms of remote control, NOTHING beats VMRC. This new Virtual Machine Connection thing in Hyper-V sucks big time.
So I have a VHD from VS2005 with additions uninstalled. I copy the VHD to Hyper-V and create a new machine. I start the machine. I go to Install Integrations. I tell it OK to update HAL and reboot. When rebooting, the Find New Hardware wizard appears, then the Integrations install dialog appears. I read from several places that I have to cancel the Find New Hardware wizard before the Integrations will install.
But guess what! I can't! Mouse won't capture (at least it would capture without Additions in every version of Virtual PC/Server). Alt-Tab doesn't switch between applications in the VM (like VMRC does), it switches between apps in the host. Windows key and CTRL-ESC go to host rather than VM. Alt-Space and Alt-Hypen go to host rather than VM. Nothing I try lets me get rid of the wizard. I go Googling and come across this post, which actually helped...
Click the CAD button, hit T for Task Manager, use arrow keys to select the Find New Hardware "application" (probably have to ctrl-tab to that page), then use the keyboard shortcut to switch to the application (ctrl-s?).
FINALLY I can cancel the darn wizard.
Would somebody PLEASE create a version of VMRC that has all the functionality that VS 2005 R2 SP1 VMRC.exe had but is able to connect to Hyper-V machines.
Not to mention that I very, very, often remotely manage my VMs (not Virtual Server, but the actual VMs) using VMRC.exe. At 440K and no install, just throw it on my USB drive and I can access my VMs from anywhere.
Why in the world has Microsoft crippled Hyper-V remote connectivity so much compared to Virtual Server ?!?!?!?
Hyper-V HW & SW requirement: http://technet.microsoft.com/en-us/library/cc816844.aspx Hyper-V RTM
WOW...GREAT JOB GUYS
Yet another reason to just use Linux
In the start the mouse din't work for me eigther.
The i startet to configure the hyper-v server up without a mouse, What a Pain !
Then, when i was about to install the virtuel network trough the Panel, Action - Insert Integration servises setup disk.
The Hyper-v Server should restart, after it again was ready for login, the mouse Worked !!!
Just wanted to pass this greatfull adwise out, and hope it will work for the rest of you with the same problem :-)
This hap hazzard approach to deploying an incomplete product is yet another reason Microsoft doesn't get it. I just installed Windows Server 2008 and configured my first Hyper V machine and when I try to get into the guest OS to finish configure I am denied the mouse. A mouse is an essential piece of equipment if you expect to use any version of Windows (except for DOS). Why would Microsoft push out a product like Hyper V without the if the mouse? I've work in command line systems before (UNIX and Cisco IOS) but they are designed to be used by a keyboard only, Windows is not designed like this. I guess my choice is clear go with VMware.
Good article, and works in most cases. However, one of the MS developers who worked on the Windows Home Server 2008 installer forgot to allow you to tab to certain options, thereby eliminating any workaround. Sucks
"Maybe I've been using computers for way too long, but clearly from email's I been receiving, many people struggle to use Windows without a mouse."
What a joke.
This is highly disappointing. I think it's something that should have been sorted before it even hit beta.
I gave up on building my first hyper-v VM because I refuse to use a bandaid workaround to such a obvious problem. It is a total PITA.
Brendon - Is there a specific reason you need to use TS to the Hyper-V machine to install a guest OS? if you configure remote management (eg using HVRemote for easiest configuration) or use the console of the Hyper-V machine, you will be able to use the mouse inside the guest operating system during OS installation. Once you install the Integration Services in the VM, you will no longer be in captured mouse mode.
My Hyper-v server is a headless box, with no monitor. People would also have problems getting physical access in some colocation environments.
The reason I made the comments above was due to frustration. I had already done the HVremote setup (both machines in a workgroup), but was annoyed that it was necessary and had too much stuff open to do a reboot at that time. I regularly use Vmware ESX , Microsoft virtual server 2005 and vmware server. In those products, you can rely on the simplest of things like the mouse just working.
Installing the integration services doesn't help while you're still doing the build.
John, yes, I may give you an example of situation where mouse is ABSOLUTELY needed. When install Windows XP as guest OS, after second or third reboot it stops with dialog telling about some screen resolution ajustments. At this time there are no task manager, Windows button and other stuff mentioned above. Integration services disk aren't recognized at this moment as well. And the worst thing - this is a system MODAL dialog, and it is NOT ACTIVE. So there are no keyboard shortcut to change focus to this dialog's "OK" button...
Just because _you_ can't make it work doesn't mean it doesn't do it...
if you set the hyperv settings to pass through windows key combos (like alt-tab) you can very easily ok it...
@lots of other people:
You seem to be missing the point that this is only disabled when you rdp into the host os... if you're running the vmc from your local workstation as you should be, its no issue... granted it's unfortunate that mouse doesn't universally work, but from a macro infrastructure scale this model works.
This is dumb! I'm trying to set up XP for testing, on a Hyper-V server in another state, and I'm certainly capable of using keyboard shortcuts - BUT there's a point at which XP goes to a black screen and says "To Improve the appearance of visual elements, Windows will automatically adjust your screen resolution" with just an OK box. There is no keyboard shortcut that will press that OK button - no tabs, space, alt-this-that-other-thing that I've found to click on the OK button. Nothing.
This is before I can install the Integration components. Didn't anyone at Microsoft test this? No other VM solution I've ever seen has this kind of limitation.
Just installed Windows Xp in Hyper-V. At the dreaded "To Improve the appearance of visual elements, Windows will automatically adjust your screen resolution" dialog, press ALT + PAGE UP (equivalent of ALT + TAB) to move the focus to the dialog box. Dismiss it with an ENTER (equivalent of a click on the OK button). Use TAB and SHIFT + TAB to move the focus around on the next few dialog boxes.
And try to do this with booting to Hiren's BootCd 9.x & try to use something
While the keyboard works fine in the menu, once the mouse DOS driver loads, there is no more mouse OR keyboards (at least on my PS2 mouse/keyboard via USB converter)