Hyper-V Connection Lost

Page 1 of 3 123 LastLast

  1. Posts : 1
    Windows 8
       #1

    Hyper-V Connection Lost


    I am having trouble establishing a stable connection to a Windows 10 VM and the issue appears when I activate enhanced mode. The error message that I'm getting quite often is the following: "The connection was lost because another user connected to the virtual machine." There is no one else connected to it. After doing some research online, I discovered that others are also experiencing this issue. For what it's worth, Windows 8 is the host OS and one of the suggestions was to install the optional Windows update KB3071740, however that did not solve it. Has anyone found a workaround? It is frustrating not having the ability to run Windows 10 in enhanced mode in Hyper-V.
      My Computer


  2. Posts : 5,478
    2004
       #2

    Do you have a password set for the user of the account in the Windows 10 VM? If you don't then it will keep disconnecting you.

    I had this problem last week and I'm sorry I can't find the link with the reason but my connections (through both RDP and console) are much better after adding one. They still time out but don't disconnect any more.
      My Computer


  3. Posts : 1
    Win 10
       #3

    halasz said:
    Do you have a password set for the user of the account in the Windows 10 VM? If you don't then it will keep disconnecting you.

    I had this problem last week and I'm sorry I can't find the link with the reason but my connections (through both RDP and console) are much better after adding one. They still time out but don't disconnect any more.

    I had similar problem, got solved once I set VM user password.
      My Computer


  4. Posts : 2
    Windows 10 Pro x64
       #4

    thx setting a password for the logon ID also solved the problem for me too
      My Computer


  5. Posts : 17,661
    Windows 10 Pro
       #5

    woodawoo said:
    thx setting a password for the logon ID also solved the problem for me too
    Just for posterity and future readers of this thread:

    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 and when you do not want to set a password for the user account needed to sign in to a Hyper-V vm, you can't use Enhanced mode and need to switch to basic Virtual Machine Connection view (in vm window, open the View menu and unselect Enhanced Mode):

    Hyper-V Connection Lost-2016_01_24_04_12_181.png

    Notice that when the password is set and Enhanced Mode used, you need to use password to sign in to your vm; You cannot sign in with PIN even when set. To sign in with PIN you have to exit the Enhanced Mode.

    If you have multiple user accounts set up in your vm and you are signed in on an account with password in Enhanced Mode and you then switch user on that same vm to another account without a password, you need to stop Enhanced Mode and return to basic Virtual Machine Connection view. In other words, the Enhanced Mode can work with a user account on a vm but not work with another user account on that same vm depending on if the current sign-in account has a password set or not.

    Kari
    Last edited by Kari; 24 Jan 2016 at 06:25.
      My Computer


  6. Posts : 1
    Windows 10 x64
       #6

    Same here, setting up password on the user solved the issue (silly issue if you ask me).
    Thanks for the tip
      My Computer


  7. Posts : 9
    Windows 10 Education x64
       #7

    I'm trying to use a Windows 10 VM to make a manual image via SCCM and SCCM requires that the account has no password set or it wont work! Madness! I've un-ticked Enhanced Mode on the View menu and all seems fine for now.
      My Computer


  8. Posts : 112
    Win 7 Ultimate
       #8

    FazzaGBR said:
    I'm trying to use a Windows 10 VM to make a manual image via SCCM and SCCM requires that the account has no password set or it wont work! Madness! I've un-ticked Enhanced Mode on the View menu and all seems fine for now.
    So it wont have disconnections without Enhanced mode?
    Kari - your thoughts/ experiences?
    Anyone else?
      My Computer


  9. Posts : 17,661
    Windows 10 Pro
       #9

    xbliss said:
    So it wont have disconnections without Enhanced mode?
    This is very clear and simple:


    • Hyper-V Virtual Machine Connection normal mode

      • Can be used without issues (not disconnecting a running session) with a vm running any Windows desktop or server version as well as with any Linux version regardless of bit architecture
      • Sign in user account may but don't have to have a password set

    • Hyper-V Virtual Machine Connection enhanced mode

      • Can be used without issues (not disconnecting a running session) with a vm running Windows 8 or later desktop version or Windows Server 2012 or later server version as well as CentOS 7 Linux or later and Red Hat Enterprise Linux versions
      • Enhanced Mode works with both bit versions of supported operating systems
      • Sign in user account must have a password set

    Kari
      My Computer


  10. Posts : 3,257
    Windows 10 Pro
       #10

    Kari said:
    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.
    Actually, Enhanced mode does in fact work without a password. As in, it allows you to enter Enhanced mode, and login (which RDP alone doesn't allow you to do).

    The problem appears to be that the VM client tries to re-open the non-enhanced session at the same time, which if you don't have a password set causes it to re-log you into the non-enhanced console automatically. This causes your Enhanced session to be terminated again, since Windows only allows one login at a time.

    It didn't used to do this, this was something that started happening in recent versions.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:40.
Find Us




Windows 10 Forums