大网数据广告活动
启动与系统组件

Error 415 adding hosts to SCVMM

· 52CE 我爱测

Fixes an issue in which you can't add hosts to System Center 2012 Virtual Machine Manager Service Pack 1 and receive error 415.

This article fixes an issue in which you can't add hosts to System Center 2012 Virtual Machine Manager Service Pack 1 and receive error 415.

Original product version:   System Center 2012 Virtual Machine Manager Service Pack 1
Original KB number:   2818420

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:

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.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 04/09/2024
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。