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 start connection without any timeouts on it’s execution)..but PowerShell and registry can help us.
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 sole\Settings\Shared' #Turns off AutoConnect in VMM Console Set-ItemProperty -Path $path -Name AutoConnect -Value $false
Note: administrator rights are not required