Article ID: 2818420 - View products that this article applies to.
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:
This can occur if the ports normally opened during vmmAgent installation failed to be opened and/or the File Server role is not enabled.
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):
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.
(http://go.microsoft.com/fwlink/?LinkId=151500)for other considerations.
Article ID: 2818420 - Last Review: July 8, 2013 - Revision: 4.0