Daniel's Tech Blog

Cloud Computing, Cloud Native & Kubernetes

System Center 2012 R2 VMM – VM Console Connect Error (0x0003, 0x0000)

This week at one of my customers I got an error during the VM console connect that was initiated over the VMM console.

Virtual Machine Manager lost the connection to the virtual machine for one of the following reasons.
Another connection was established to the console of this machine
The virtual machine has been shut down or put into the saved state
The user credentials provided do not have the necessary privilege to connect
(0x0003, 0x0000)

If you use your favorite search engine, the search engine will point you directly to the following KB article by Microsoft.

-> http://support.microsoft.com/kb/2986796/en-us

I double checked the access permissions and could not find a mismatch there. So what is the cause of this error?

As an IT administrator you have two user accounts. One for your daily work and one for the administrative work. In this situation your administrator user account is a member of the administrator role in VMM and you are logged in with your normal user account on your workstation.

If you start the VMM console you will type in your administrator user account credentials.

image

Everything is correct. But your VMM console process is not running in the administrator user account context because you have started the VMM console within your normal user account context. That is the reason why the VM console connect fails! You must start the VMM console with the option “run as different user” using your administrator user account credentials.

image

Then the VMM console connect succeeds. As you have seen it is a permission issue because your normal user account does not have the permission on the VMM.

VMM console VM console connect VMM user role
Running VMM console in the normal user account context with specific credentials Normal user account Normal user account Administrator user account
Running VMM console as different user in the administrator user account context with specific credentials Administrator user account Administrator user account Administrator user account
WordPress Cookie Notice by Real Cookie Banner