5.6

Table Of Contents
Procedure
1. On your VCM Collector, open Windows Explorer and navigate to the Agent files directory at
C:\Program Files (x86)\VMware\VCM\AgentFiles.
2. Copy the CMAgentInstall.exe file from the Collector to the target machine or a shared network
location.
The CMAgentInstall.exe file is located in the path relative to the installed software on the Collector.
3. On the target machine, use Windows Explorer and run the installation in either normal or silent mode.
n
For normal mode, run CMAgentInstall.exe.
n
For silent mode, run CMAgentInstall.exe /s INSTALLPATH=%Systemroot%\CMAgent
PORT=26542 CERT=C:\<folder_without_spaces>\vcm_cert.pem.
The %Systemroot% environment variable specifies the directory where Windows is installed, which is
typically \WINNT or \WINDOWS.
Use the following options for the installation.
Option Action
CMAgentInstall.exe Executable file used to install the Agent.
/s Indicates a silent install. When you run CMAgentInstall.exe
from the command line, VMware recommends that you install
the Agent in silent mode.
To use the silent mode, you must unlock the Agent before you
can proceed with the installation. To unlock the Agent, use the -
UNLOCK option.
The syntax is CMAgentInstall.exe /s
INSTALLPATH=%Systemroot%\CMAgent PORT=26542
CERT=C:\<folder_without_spaces>\vcm_cert.pem.
To relock your managed machine, you must submit a lock
request from the VCM Collector. To submit the lock request,
click Administration and select Settings > General Settings >
Installer. Edit the Lock Agent after it is installed? setting to lock
the managed machine.
INSTALLPATH Location to install the Agent files.
PORT
Port number used for HTTP Agents.
The default value is 26542.
If you do not include the PORT parameter, VCM uses DCOM and
does not install the communication socket listener service. The
certificate is not required.
CERT
Indicates the certificate that you generated or specified on the
Collector during the Collector installation. The location of the
certificate file is in the fully qualified path, local to the relative to
the installed software on the Collector. By default the path is
C:\Program Files (x86)\VMware\VCM\CollectorData\
[certificate name].pem.
If you include PORT, but do not use a certificate, you must use
vCenter Configuration Manager Administration Guide
94
VMware, Inc.