Adding a Host to System Center 2012 Virtual Machine Manager SP1 fails with error 415

Article ID: 2818420 - View products that this article applies to.
Expand all | Collapse all

Symptoms

Adding hosts to System Center 2012 Virtual Machine Manager Service Pack 1 fails and error 415 may be present in the VMM job history. The verbatim of the error is:

Error (415)
Agent installation failed copying C:\Program Files:\Microsoft System Center\Virtual Machine Manager\agents\I386\3.1.6011.0\msiInstaller.exe to
\\servername\ADMIN$\msiInstaller.exe.

Recommended Action
1. Ensure <servername> is online and not blocked by a firewall.
2. Ensure that file and printer sharing is enabled on <servername> and it not blocked by a firewall.
3. Ensure that there is sufficient free space on the system volume.
4. Verify that the ADMIN$ share on <servername> exists. If the ADMIN$ share does not exist, reboot <servername> and then try the operation again.
 
An optional Details item may be logged as well that provides more information.  For example:

Details: The process cannot access the file because it is being used by another process
Details: The target account name is incorrect

Cause

This can occur if the ports normally opened during vmmAgent installation failed to be opened and/or the File Server role is not enabled.

Resolution

Step 1:  Verify that the Admin$ share is present and accessible by the VMM Run As Account

Log on to the VMM server using the credentials specified for the Run As Account used to run the job.  This account must be able to connect to \\<servername>\admin$ and copy a file to that share.  If this fails, proceed to step 2.

Step 2:  Verify that the Run As Account is a Local Administrator on the target machine

Log on to the target host and examine the local users and groups.  Verify that this account is a member of the local Administrators group.

Step 3: Open the required ports

To open the required ports, open Advanced Firewall settings, choose ‘Inbound Rules’ and scroll down to the bottom of the list. Make sure that the five items below are all enabled. In the first image below, only Windows Remote Management is enabled.

 

The image below shows all items enabled.

 

You can automate this by running the following commands (2 lines, may wrap on smaller displays):

netsh advfirewall firewall set rule group="Windows Management Instrumentation (WMI)" new enable="Yes"
netsh advfirewall firewall set rule group="Windows Remote Management" new enable="Yes"

Step 4: Enable the File Sharing role

If Step 1 above did not resolve the  issue, enable the 'File Server' role. In ‘Roles and Features’ place a check in ‘File Server’. Reboot is optional but recommended.

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2818420 - Last Review: July 8, 2013 - Revision: 4.0
Applies to
  • Microsoft System Center 2012 Virtual Machine Manager
Keywords: 
KB2818420

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com