Install silently from Group Policy, Microsoft Intune, Configuration Manager, PDQ Deploy or a PowerShell loop. No enrollment secret is placed on the endpoint or the command line: every installation registers as pending, and you approve them together in Agent Fleet.
| Servers need | Package | Size | INSTALL_PROFILE |
|---|---|---|---|
| Server monitoring | zenplus-agent-core-x.y.z.exe / .msi | ~21 MB | infrastructure |
| Server monitoring + APM | zenplus-agent-x.y.z.exe / .msi | ~87 MB | combined |
| APM only | zenplus-agent-x.y.z.exe / .msi | ~87 MB | apm |
Download the packages from the download page or from your ZenPlus appliance (Agent Fleet → Download agent, no internet access needed). All packages are Authenticode-signed by Zentryc LLC. You can switch a server between profiles later from Agent Fleet (Change monitoring profile), so start with server monitoring if unsure.
Run as SYSTEM or from an elevated prompt. Replace the appliance address with yours.
zenplus-agent-core-x.y.z.exe /machine /quiet /norestart CONTROLLER_URL=https://zenplus.example.com INSTALL_PROFILE=infrastructure /log "C:\Windows\Temp\ZenPlusAgent-install.log"msiexec /i zenplus-agent-core-x.y.z.msi /qn /norestart CONTROLLER_URL=https://zenplus.example.com INSTALL_PROFILE=infrastructure /L*v "C:\Windows\Temp\ZenPlusAgent-install.log"zenplus-agent-x.y.z.exe /machine /quiet /norestart CONTROLLER_URL=https://zenplus.example.com INSTALL_PROFILE=combined /log "C:\Windows\Temp\ZenPlusAgent-install.log"msiexec /i zenplus-agent-x.y.z.msi /qn /norestart CONTROLLER_URL=https://zenplus.example.com INSTALL_PROFILE=combined /L*v "C:\Windows\Temp\ZenPlusAgent-install.log"Upgrades use the same command: an installed agent keeps its identity, credential, configuration and profile unless you pass a new one.
| Switch or property | Meaning |
|---|---|
/machine (/allusers) | All-users installation with the Windows service. Use this for servers. |
/user (/currentuser) | Current-user installation without the service, for evaluation. |
/quiet (/silent, /verysilent, /S, /qn) | No user interface. |
/norestart | Accepted for compatibility. Setup never restarts Windows. |
CONTROLLER_URL= (/controller-url) | Appliance address. Required on a first install; an upgrade keeps the saved one unless given. |
INSTALL_PROFILE= (/profile) | infrastructure, combined or apm. A first install defaults to infrastructure; an upgrade keeps the installed profile. |
CONTROLLER_CA_FILE= (/controller-ca-file) | PEM bundle for an appliance certificate issued by a private CA. TLS verification stays on. |
/log <path> (EXE) · /L*v <path> (MSI) | Write Setup's log. The folder must exist. |
/no-start-menu | Skip the Start Menu shortcut. |
/uninstall · /purge (PURGE=1) | Remove the agent; with purge, also its data. See Uninstall. |
Switches are case-insensitive and accept / or -. Unknown switches and properties are rejected (exit code 1639) rather than ignored. The server-monitoring package refuses the combined and apm profiles, and refuses to replace an installation whose applications are instrumented by APM.
Setup uses Windows Installer exit codes, which deployment tools already understand.
| Code | Meaning | Action |
|---|---|---|
| 0 | Installed, upgraded or removed | None |
| 1618 | Another ZenPlus installation is running, for example a self-update | Retry later. Intune and Configuration Manager do this automatically. |
| 1639 | Invalid switch, property or profile for this package | Fix the command line |
| 740 | Not elevated | Run as SYSTEM or an administrator |
| 1603 | Installation failed and was rolled back | Read the log file |
Use a computer startup script (runs as SYSTEM) that installs from a file share when the agent is missing:
$key = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\ZenPlus Agent'
if (-not (Test-Path $key)) {
$p = Start-Process '\\fileserver\software\zenplus-agent-core-x.y.z.exe' -Wait -PassThru -ArgumentList @(
'/machine', '/quiet', '/norestart',
'CONTROLLER_URL=https://zenplus.example.com', 'INSTALL_PROFILE=infrastructure',
'/log', 'C:\Windows\Temp\ZenPlusAgent-install.log')
exit $p.ExitCode
}You can also assign the MSI with Group Policy Software Installation, setting CONTROLLER_URL and INSTALL_PROFILE in a transform.
Wrap the EXE with the Microsoft Win32 Content Prep Tool, then configure:
| Setting | Value |
|---|---|
| Install command | zenplus-agent-core-x.y.z.exe /machine /quiet /norestart CONTROLLER_URL=https://zenplus.example.com INSTALL_PROFILE=infrastructure |
| Uninstall command | "%ProgramFiles%\ZenPlus\Agent\ZenPlusAgentSetup.exe" /uninstall /quiet |
| Install behavior | System |
| Detection rule | Registry · HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\ZenPlus Agent · value DisplayVersion · string equals x.y.z |
| Return codes | The defaults already treat 0 as Success and 1618 as Retry; other codes are failures. |
Create an application with a Script Installer deployment type. Use the install and uninstall commands above, detect with the same registry value, and set installation behavior to Install for system. Return code 1618 is a Fast retry by default.
PDQ Deploy: add an Install step with the EXE and the silent parameters above; success code 0.
$servers = Get-Content .\servers.txt
Invoke-Command -ComputerName $servers -ThrottleLimit 20 -ScriptBlock {
$p = Start-Process '\\fileserver\software\zenplus-agent-core-x.y.z.exe' -Wait -PassThru -ArgumentList @(
'/machine', '/quiet', '/norestart', 'CONTROLLER_URL=https://zenplus.example.com',
'INSTALL_PROFILE=infrastructure', '/log', 'C:\Windows\Temp\ZenPlusAgent-install.log')
[pscustomobject]@{ Server = $env:COMPUTERNAME; ExitCode = $p.ExitCode }
}Without a file share, each server can download from your ZenPlus appliance. The script checks the SHA-256 and the Zentryc LLC signature, then exits with Setup's exit code. Run it in an elevated PowerShell:
$s = Join-Path $env:TEMP 'zenplus-agent-install.ps1' Invoke-WebRequest -UseBasicParsing -Uri 'https://zenplus.example.com/api/v1/agents/install.ps1' -OutFile $s & $s -ControllerUrl 'https://zenplus.example.com' -InstallProfile infrastructure
The same command, filled in for your appliance, is in the appliance's Install agent dialog.
"%ProgramFiles%\ZenPlus\Agent\ZenPlusAgentSetup.exe" /uninstall /quiet
Add /purge to also delete %ProgramData%\ZenPlus\Agent (queued data, identity and logs). Uninstall first restores any applications ZenPlus instrumented for APM.