How to Connect and Enable Host based Connection for Virtual Environment?

Once you create/compose a virtual environment, you can connect to it for doing manual testing etc. Environment Viewer can offer you a Host based or a Guest based connection, depending on various scenarios.In summary, host based connections are are routed through Hyper-V hosts on which the virtual machines reside. Apart from meeting the OS requirements, […]

Once you create/compose a virtual environment, you can connect to it for doing manual testing etc. Environment Viewer can offer you a Host based or a Guest based connection, depending on various scenarios.

In summary, host based connections are are routed through Hyper-V hosts on which the virtual machines reside. Apart from meeting the OS requirements, you need to be an environment owner to get a Host based connection. Host-based connections are better for interacting with VMs when they're booting up. Also the screen resolution of the VM is preserved in a Host-based connection. Note: there can be only one active host based connection to an environment at any point of time.

In case you want to provide Host based connection to an another user (other than the Environment owner), you can update the owner of VMs. Follow these steps:

  • Install Lab Management GDR on Team Foundation Server. It's also recommended that you install the patch on Microsoft Test Manager (MTM) machine also.
  • Run this script using Power Shell 2.0

More Info: How to: Connect to a Virtual Environment

[Source]