Hyper-V another user connected to virtual machine

Hello,
I created a new Hyper-V machine and installed Windows 10 Pro on it. After installation I created a default user with no password, for faster login.

When you start the machine and connect to it, windows will automatically login with this user, because it has no password. But then you will lose the connection with following error: "The connection was lost because another user connected to the virtual machine. Try to connect again. If the problem persists, contact your system administrator."

This happens because of the Hyper-V Enhanced Mode, which you can disable here;
image
Hyper-V Enhanced Mode is based on RDP (Remote Desktop Protocol). Remote desktop connections by default, including Hyper-V Enhanced Mode connections only work with accounts that have a password set.

If you don’t want to use a password for your Hyper-V machine, you have to have use the Basic Virtual machine connection.


Posted May 17 2016, 10:23 AM by Holger Vetter
developers.de is a .Net Community Blog powered by daenet GmbH.