Windows Agent Installer Reference
This page provides a complete reference for the NetXMS Windows agent installer command-line options. These options are used for silent (unattended) deployment of the agent.
For installation procedures, see Windows Agent Installation.
The installer ignores configuration file options (/CONFIGENTRY, /NOSUBAGENT, /SERVER, /SUBAGENT, etc.) if a config file already exists.
Use /FORCECREATECONFIG to delete and recreate the configuration file.
With /CENTRALCONFIG, a local config file is still generated, but the agent downloads the server-side configuration at every startup and overwrites the local file with it — so local config options are effectively superseded.
|
Configuration Options
| Option | Description |
|---|---|
|
Set server IP address or host name. Sets |
|
Enable configuration download from server on startup. When enabled, the agent reads its configuration from the management server instead of a local file. See Agent Configuration for details. |
|
Use local configuration file. This is the default behavior. |
|
Add any parameter to the configuration file during initial install. Can be specified multiple times to add multiple lines. Section names can be added this way as well. |
|
Set folder containing additional configuration files. Sets |
|
Set agent log file. Sets |
|
Set directory for storing files uploaded by management server(s). Sets |
|
Delete existing agent configuration file and recreate it. Settings stored by the installer in Windows registry are used if not explicitly specified by command-line parameters. See |
|
Ignore any settings from previous install that are not explicitly specified in the current run. This applies to settings changeable in GUI mode (e.g., list of selected subagents), which are stored in the Windows registry. |
Tunnel Configuration
| Option | Description |
|---|---|
|
Enable tunnel operation to the address specified with |
|
Disable tunnel operation. This is the default. |
Subagent Selection
| Option | Description |
|---|---|
|
Add subagent loading directive to the configuration file. Can be specified multiple times. Available subagents: |
|
Disable the named subagent. Can be specified multiple times. |
WINPERF subagent is enabled by default on Windows installations. Use /NOSUBAGENT=WINPERF to disable it.
|
Installation and Service Options
| Option | Description |
|---|---|
|
Set installation directory. Default: |
|
Reinstall the Windows service during upgrade. |
|
Comma-separated list of installation tasks. Prefix a task name with |
Inno Setup Standard Options
| Option | Description |
|---|---|
|
Run the installer without the wizard UI, showing only a progress bar. |
|
Run the installer without any UI at all. |
|
Suppress all message dialogs. Only effective when combined with |
|
Create a log file in the user’s TEMP directory detailing file installation actions. |
|
Same as |
Uninstallation Options
The uninstaller application is named unins000.exe (or similar unins???.exe) and is located in the agent installation folder (C:\NetXMS by default).
| Option | Description |
|---|---|
|
Run the uninstaller without the wizard UI, showing only a progress bar. |
|
Run the uninstaller without any UI at all. |
|
Suppress all message dialogs. Only effective when combined with |
|
Create a log file in the user’s TEMP directory. |
|
Same as |
|
Prevent automatic reboot even if it would be necessary. |
Examples
Basic silent install with server address:
nxagent-{product-version}-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /SERVER=10.0.0.1
Install with tunnel, custom subagents, and additional config entries:
nxagent-{product-version}-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /SERVER=10.0.0.1 /TUNNEL /SUBAGENT=UPS /SUBAGENT=FILEMGR /CONFIGENTRY=ZoneUIN=15 /CONFIGENTRY=[FILEMGR] /CONFIGENTRY=RootFolder=C:\
This generates the following entries in nxagentd.conf:
ZoneUIN=15
[FILEMGR]
RootFolder=C:\
Reinstall with forced config regeneration:
nxagent-{product-version}-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /FORCECREATECONFIG /IGNOREPREVIOUSDATA /SERVER=10.0.0.1 /SUBAGENT=WINPERF /SUBAGENT=FILEMGR
Uninstall silently:
"C:\NetXMS\unins000.exe" /SUPPRESSMSGBOXES /VERYSILENT /NORESTART