Virtual VMM cannot connect to its own host


  • We have deployed virtual VMM 2016 rollup 4 on a Hyper-V 2012 R2 cluster and we noticed that VMM cannot connect to the host Hyper-V server where the VMM VM is hosted, if the VM migrated to another host the problem moves as well to the other host.


    VMM is unable to complete the request. The connection to the agent 'ServerName' was lost.

    WinRM: URL: [http://ServerName:5985], Verb: [ENUMERATE], Resource: [], Filter: []

    Unknown error (0x80338126)

    Anyone knows any fix for this issue?

    Thursday, May 31, 2018 8:56 AM

All replies

  • Hi! What OS are you running your your SCVMM2016 on?

    In the support page it says the following about a virtual VMM server ”Don't install on a server running Hyper-V.”.


    Best regards,

    • Edited by Leon Laude Thursday, May 31, 2018 10:25 AM fixed text
    Thursday, May 31, 2018 9:14 AM
  • Hello A Seyam,

    Firstly, please make sure the the network connectivity is available between the VMM server and the Hyper-V host.

    You can verity that by ping the IP address of Hyper-V host in the CMD on the VMM server.

    Please also make sure that the FQDN name of the Hyper-V host is resolvable. 

    In addition, what's the type of the virtual switch, standard or logical switch? If you are using logical switch, please check out the settings for logical network, virtual network. Please make sure you configure them correctly.

    Best regards,

    Andy Liu

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact

    Friday, June 1, 2018 6:18 AM
  • It seems no one understood the problem, if there was a problem with the OS or network connections the problem wouldn't disappear if the VMM VM migrated to another host and the problem started to appear on the other host!
    Sunday, June 3, 2018 6:29 AM
  • What you can try is remove the Hyper-V Cluster from VMM and add it back again. Occasionally this process solves strange errors in VMM. 

    Microsoft Certified Professional

    [If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

    Sunday, June 3, 2018 7:28 AM