TOTD: How to turn off VMM Console auto-connect

Hi, folks!

Here is the new tip of the day with a little trick inside that can save your time.

VMM Console has an ability to auto logon to the selected VMM server with predefined credentials. It works like a charm and is a really useful feature.
But if you have more than 1 role in VMM (for instance, you are assigned to 2 different roles/tenants and don’t have a global administrator rights) auto-connect can cause some inconveniences during connection.

VMM console settings are located in registry (HKCU hive)  and with auto-logon enabled console uses the last role/VMM server address as targets.
To connect to another instance and cloud (or in some other cases) we need to turn off auto-connection (‘cause VMM won’t show you drop-list with assigned roles as available for choosing).

Unfortunately, you cannot change this behavior from GUI (VMM starts connection without any timeouts on it’s execution)..but PowerShell and registry can help us. Update: see the comment from Michiel 🙂

To quickly revert auto-connect settings back to default just run these lines from PS:

#Path for AutoConnect string key
$path='HKCU:\Software\Microsoft\Microsoft System Center Virtual Machine Manager Administrator Con

#Turns off AutoConnect in VMM Console
Set-ItemProperty -Path $path -Name AutoConnect -Value $false

Note: administrator rights are not required

Gallery :

2 thoughts on “TOTD: How to turn off VMM Console auto-connect”

  1. Hi,
    there is a way that’s far more easy:
    When VMM is opened create a new connection using the button top-left in the ribbon. When the connection pane opens simply deselect autoconnect


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: