Connecting to a VM in SCVMM fails with "Virtual Machine Manager lost the connection to the virtual machine..."
Published Feb 15 2019 03:39 AM 482 Views
First published on TECHNET on Jul 26, 2010

When authenticated to the System Center Virtual Machine Manager Self-Service Portal (SSP), selecting a Virtual Machine (VM) hosted on Windows Hyper-V and clicking "Connect to VM" results in the following error message being displayed on a white screen:

" Virtual Machine Manager lost the connection to the virtual machine because another connection was established to this machine. "

Consider the following scenario:

- 2 user accounts exist: User1 and User2
- User1 is not a configured in SCVMM anywhere
- User2 is a member of a Self-Service User role in SCVMM and is the owner of a VM
- User1 logs onto a Windows client and connects to the SSP where they authenticate as User2
- The VM owned by User2 is selected from the list and the "Connect to VM" button is clicked

In this scenario, the error message above is displayed.

The reason this can occur is because the credentials for the user account logged onto Windows (User1) are passed through instead of those used to authenticate to the SSP (User2).

By default the "Do not store my credentials" radio button is selected which causes this behavior.

User1 can be authenticated on the Hyper-V host, but Authorization Manager (AzMan) fails to find any record of their privileges to connect to the VM's console.(As authentication succeeds , it is not considered a "failed logon attempt".)

To resolve this issue, select the radio button "Store my credentials" on the logon page of the SSP. By doing this, the credentials entered here are passed through when "Connect to VM" is clicked.

For all the details and more information see our new Knowledge Base article below:

KB2288932 - Connecting to a Hyper-V VM in System Center Virtual Machine Manager using the Self Service Portal fails with "Virtual Machine Manager lost the connection to the virtual machine..."

J.C. Hornbeck | System Center Knowledge Engineer

Version history
Last update:
‎Mar 11 2019 08:31 AM
Updated by: