Can’t install/update 2008 R2 VMM Agent

scvmmvirtualhostvirtualization

I am trying to install and update agents using VMM 2008 R2. My VMM Service account has admin access to the VMM server and the host servers. Logged in as the service account, I can copy files from the VMM server to \hostserver\admin$ all day long.

When I try to install or upgrade an agent, I get an error saying "Agent installation could not access the ADMIN$ share on server FOOBAR"

I also enabled tracing for VMM and the trace logs are showing that the copy to admin$ is failing. However, I can manually access admin$ with the same account that I am using to run the job and with the VMM service account, so I don't think its a permissions/access issue.

Any ideas what else I could do?

Best Answer

I've been working with MS on this issue and it looks like it is a problem with the installer. Reviewing the logs, I can tell that the installer actually tries to copy over the x86 version of vmmagent.msi, which works fine, then use WMI to delete the file, and then tries to copy over the x64 file.

Both are named vmmagent.msi. The installer is getting a notification that the file has been deleted when in fact the deletion is not complete. When the x86 version is there and the installer is copying over the x64 bit version, the "Access Denied" error is popping up.

Until this is resolved in VMMM, I'll just install the agent manually with a script.