Install an Agent Using the Command Line

You can install agents by providing input through the command-line.

Available Command-line Options

The table below lists the command-line options that are available when you are installing a MOM Agent by using the Agent Setup Wizard (MOMAgent.msi).

Option Description
INSTALLDIR The destination folder for installing the agent. The default value is ProgramFiles\Microsoft Operations Manager 2005.
CONFIG_GROUP The management group name.
MANAGEMENT_SERVER The primary Management Server for the agent.
ADD_CONFIG_GROUP Used to add the agent to another management group for multi-homing.
AM_CONTROL The agent control level: either Full or None.
ACTIONSUSER The user name for the MOM Agent Action Account, if you want to use an account other than the default Local System account.
ACTIONSPASSWORD The password for the MOM Agent Action Account, if you want to use an account other than the default Local System account.
ACTIONSDOMAIN The domain of an account to use for the MOM Agent Action Account. If you want to use an account other than the default Local System account.
CHANGE_CONFIG_GROUP Used to change the agent management group. Set this value to 1, and then indicate the management group using the CONFIG_GROUP option.
REMOVE_CONFIG_GROUP Used to remove an agent from a management group. Set this value to 1, and set the management group to remove by using the CONFIG_GROUP option. When the last management group is deleted from the agent configuration, the agent is uninstalled.
SECURE_PORT The secure port to use for agent communication. The default value is 1270.
REQUIRE_AUTH_COMMN Enables mutual authentication. To enable mutual authentication, set this value to 1. If this value is set to zero, mutual authentication is not used. The default value is zero.
ALT_MANAGEMENT_SERVER Another Management Server in the same management group. The agent contacts this Management Server only if the primary Management Server (MANAGEMENT_SERVER) is unavailable during the installation process.

Example command-line syntax

To run the Agent Setup Wizard

  1. Log on to the agent computer with an administrator account.
  2. Close all open applications.
  3. Run the Agent Setup Wizardfrom the command line.

See Also

Computer Discovery Rule Dialog Box| Create and Run a New Computer Discovery Rule