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..."

Article translations Article translations
Close Close
Article ID: 2288932 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

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.

CAUSE

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 behaviour. 

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".)

RESOLUTION

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.

MORE INFORMATION

If User2 was logged onto Windows then the problem would not occur, as both sets of credentials match. If logged onto Windows as a local user account instead of a domain account then Credentials Manager would prompt for credentials when "Connect to VM" is clicked, as local accounts cannot be used on remote machines (and entering the credentials for User2 here would work).
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2288932 - Last Review: July 26, 2010 - Revision: 1.0
APPLIES TO
  • Microsoft System Center Virtual Machine Manager 2008
Keywords: 
KB2288932

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com