Skip to main content

Windows Remote Worker Agents - Command Line Parameters

Configure silent MSI mass deployments, upgrades, and removals for NetBeez Windows Remote Worker agents using command-line parameters in NextGen.

Written by Panickos Neophytou

The NetBeez Windows Remote Worker installer supports silent mass deployment through enterprise endpoint management tools such as Microsoft Intune, Microsoft Endpoint Configuration Manager (SCCM), Group Policy, or PowerShell scripts from the NetBeez Windows GitHub repository. This guide documents all supported MSI / EXE installer properties, silent installation syntax, upgrade rules, and uninstallation commands.

Unless you hide user service controls with DISABLECONTROL="1", options can also be modified after installation by right-clicking the NetBeez icon in the Windows System Tray.

In this article:

Available Installation Parameters

Parameter

Description

Default & Possible Values

AUTOSETUP (optional)

Selects automatic registration with your Server Secret Key or manual setup using explicit ports and TLS certificate.

Default: "1"

  • AUTOSETUP="1" — Automatic setup with secret key

  • AUTOSETUP="2" — Manual setup with ports and certificate

SECRETKEY (required when AUTOSETUP="1")

Your NetBeez Server Secret Key, located by Administrators in Settings → Information & Health under Server Information.

Example: SECRETKEY="caafc19ae7234fb5nb18111a21033cf0f425c599"

CERTSOURCE (required when AUTOSETUP="2")

Full file path to the server TLS certificate file.

Example: CERTSOURCE="C:\Temp\cert.pem"

DASHBOARDURL (required when AUTOSETUP="2")

Hostname or FQDN of your NetBeez server.

Example: DASHBOARDURL="acme.netbeezcloud.net"

PORT (required when AUTOSETUP="2")

Unencrypted agent communication port.

Example: PORT="20019"

SECUREPORT (required when AUTOSETUP="2")

TLS-secured agent communication port.

Example: SECUREPORT="20018"

WEBSOCKETPORT (required when AUTOSETUP="2")

WebSocket communication port (see WebSocket Connection Support).

Example: WEBSOCKETPORT="443"

AGENTNAME (optional)

Custom display name for the agent in Agents → Remote Workers.

Default: Windows machine hostname. Example: AGENTNAME="John-Laptop"

UUID (optional)

Explicit UUID to assign to the agent (for example, to preserve history when replacing a machine; see Replace Agent Preserving UUID).

Default: Random UUID generated on install. Example: UUID="A2A4E8E8-AB20-461B-A771-7372744F46DB"

AUTOUPDATE (optional)

Enables or disables automatic agent software updates when a newer release is available.

Default: "1"

  • AUTOUPDATE="1" — Auto-update enabled

  • AUTOUPDATE="" — Auto-update disabled

STARTONBOOT (optional)

Controls whether the NetBeez agent starts automatically when Windows boots.

Default: "1"

  • STARTONBOOT="1" — Start automatically on boot

  • STARTONBOOT="" — Manual start only

CREATESHORTCUT (optional)

Controls whether a NetBeez shortcut is placed on the Windows Desktop.

Default: "1"

  • CREATESHORTCUT="1" — Create Desktop shortcut

  • CREATESHORTCUT="" — Omit Desktop shortcut

INSTALLGROUP (optional)

Installs the agent for all Windows users on the machine or only the current user.

Default: "1"

  • INSTALLGROUP="1" — Install for all users

  • INSTALLGROUP="2" — Install for current user only

LAUNCHAPP (optional)

Controls whether the Windows System Tray desktop app launches immediately after installation completes.

Default: "1"

  • LAUNCHAPP="1" — Launch app after installation

  • LAUNCHAPP="" — Do not launch app immediately

VERSIONVALIDATION (optional)

Verifies that your NetBeez server supports the agent version being installed or updated (failing installation if the agent version exceeds server support).

Default: "1"

  • VERSIONVALIDATION="1" — Validate server compatibility

  • VERSIONVALIDATION="0" (or "") — Skip validation

DISABLECONTROL (optional)

Hides the Start, Stop, Restart, and Exit options in the System Tray menu so end users cannot stop monitoring.

Default: "0" / ""

  • DISABLECONTROL="" — Controls are available

  • DISABLECONTROL="1" — Controls are hidden

Silent Installation Examples and Syntax Notes

Run the MSI installer silently from an elevated Administrator Command Prompt using msiexec /qn /i:

msiexec /qn /i NetBeez_Agent_Installer.msi INSTALLGROUP="1" SECRETKEY="caafc1nae7234fb5nb28111a21033cf0f425c599" AUTOSETUP="1" AUTOUPDATE="1" STARTONBOOT="1" AGENTNAME="TEST_COMP_NAME"

If you use the NetBeez EXE Lite installer instead of the MSI package, pass SILENT in place of /qn.

  • Administrator Privileges Required: Silent installations (/qn or SILENT) must run from an Administrator Command Prompt or system-context MDM runner.

  • PowerShell Quoting: When invoking msiexec from PowerShell, wrap property values in doubled quotes—for example: STARTONBOOT=""1"" CREATESHORTCUT="""".

  • Never Leave Property Assignments Bare: Every specified property must have an explicit quoted value, even when empty. Use VERSIONVALIDATION="" (correct), never VERSIONVALIDATION= (incorrect).

Upgrading the Windows Agent

Upgrade an existing Windows Remote Worker agent in place by running the newer MSI installer interactively or silently as Administrator:

msiexec /qn /i NetBeez_Agent_Installer.msi

Important: Never uninstall the agent before upgrading. Uninstalling wipes the local configuration and UUID, causing a subsequent reinstall to generate a brand-new UUID and register as a duplicate device in Agents → Remote Workers.

Uninstalling the Windows Agent

Remove the NetBeez Windows Remote Worker agent from Windows Settings → Apps → Installed apps (Add or remove programs) or silently from an Administrator Command Prompt:

msiexec /qn /x NetBeez_Agent_Installer.msi

To remove the disconnected endpoint record from your NetBeez NextGen dashboard afterward, see Agent Configuration - Delete Agent or configure automatic cleanup of unreachable Remote Workers in Settings - Data Retention.

Did this answer your question?