Using Virtual Machine Connection (stand alone)

Using Virtual Machine Connection (stand alone)

  • Comments 4

While you are probably used to connecting to a virtual machine from the Hyper-V manager snap-in, it is possible to just run the Virtual Machine Connection directly.  On a computer where you have the Hyper-V management tools installed, go to the Hyper-V directory under Program Files and you will find vmconnect.exe.  Launching this program will display a dialog that allows you to specify the Hyper-V server and virtual machine to connect to.

vmconnect.exe also supports having the Hyper-V server and virtual machine name passed as command line parameters.  This way you can easily make your own shortcuts for controlling specific virtual machines - with a command like this:

"C:\Program Files\Hyper-V\vmconnect.exe" localhost "Test virtual machine"

You can also connect to a virtual machine using its GUID, which is useful if you have multiple virtual machines with the same name, by running:

"C:\Program Files\Hyper-V\vmconnect.exe" localhost -G {insert your GUID here}

One thing that you should be aware of is that while the Hyper-V manager snap-in almost always runs elevated, Virtual Machine Connection does not.  So to avoid authentication issues you will either need to run it "As Administrator" or you will need to add your personal account the the Hyper-V Administrators role under the Authorization Management tool.


Leave a Comment
  • Please add 4 and 4 and type the answer here:
  • Post
  • Ben,

    Thanks again for your great blog and all the info you give us!  

    I am in the process of evaluating Hyper-V for possible use by our programming development team.  The main reason for our interest is multi-processor support.  From what I see so far this is only “supported” in windows 2008 and partially supported in windows 2003.  I was able to create an xp vm that at least appears to be using multi processors.  Does this really not work, or what?   If not will it  be supported in the release version?

    Another question I have is how to manage a vm from an xp system.  Again from what I can find you have to use the Hyper-V management tools for vista.  Are we really going to be required to have vista installed just to manage a vm?  Is there another way for multiple users to access different vms on the server from the desktop (running xp).

    Thanks much!


  • Something a bit offtopic here.

    But, i check almost daily with a google-search to see if there are updated VM additions for Windows 2008. I would be really happy if you told us immediatly when they are available, so that i only have to keep on reading your blog to see when/if they come out ;)

    I'm now used to my windows 2008 VMs running far slower than my other VM's, but i would install the new additions the moment they are released.

    Any word on the update to VS2005 already? Anywhere when i can get the beta? or the beta of the new additions?

  • Ron -

    With "supported" multi-processor configurations it means that we have tested them and will provide support if you encouner issues with them.  Other OSes might work - but no guarantees are made.

    We have no plans for management from XP systems at this point in time.



  • Does VMConnect work for untrusted remote hosts?

Page 1 of 1 (4 items)