Share via


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

Issue:

VMM agent installation on a Hyper-V host or a file server fails with:

Error (2916)

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

WinRM: URL: [http://servername:5985], Verb: [INVOKE], Method: [Associate], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/scvmm/AgentManagement]

Unknown error (0x8033810f)

Resolution:

First, check the KB article: http://support.microsoft.com/kb/2742275

If steps 1-5 doesn't help check if winhttp on a VMM server or on a host\file server is configured to use a proxy server:

netsh winhttp show proxy

Check if your proxy server is blocking WinRM requests or set winhttp for a direct access:

netsh winhttp reset proxy