Installation, repair, and uninstallation of the baramundi Proactive Agent with Silent Commands
Note
With the current version, it is no longer necessary to store a proxy.json file in the ProgramData directory. The proxy configuration can now be done directly via parameters in the installation command.
Silent Commands
Installation
.\baramundiProactiveAgent.exe /exenoui /qn ENROLLMENTTOKEN=<token> [PROXYURI=<uri> [PROXYUSERNAME=<username>] [PROXYSECRET=<secret>]] [OVERRIDE_INTERNET_CHECK=1]Overview of Parameters
Below you can see all available parameters:
(Please note the notice at the end of the article)
Parameter | Description | Required |
|---|---|---|
| URI of the proxy server | Yes, if |
| Username for proxy access | No |
| Password for proxy access | No |
| Disables the internet connection check (Value = 1) | No |
All four parameters are optional, but if PROXYUSERNAME or PROXYSECRET are specified, PROXYURI must also be specified.
The parameter OVERRIDE_INTERNET_CHECK controls whether the result of the internet connection check should be ignored. This allows you to install the Agent on systems where no direct internet connection is available (e.g. due to a required proxy connection).
Important
If the parameterOVERRIDE_INTERNET_CHECKis used, the check of the installation prerequisites is skipped. Therefore, it is required that all necessary installation prerequisites are ensured manually in advance. An overview of the required prerequisites can be found in the next section.
Installation Prerequisites
- Internet connection
- Operating Requirements
The agent automatically installs the components listed below during installation. If the parameterOVERRIDE_INTERNET_CHECKis used, no automatic check is performed – therefore, these components must be installed manually beforehand as a prerequisite. - Microsoft Visual C++ 2015-2022 Redistributable (x64) 14 or higher
- ASP.NET Shared Framework
- .NET Runtime
Uninstallation
.\baramundiProactiveAgent.exe /x // /qn
.\baramundiProactiveAgent.exe /uninstallinst "baramundi Argus Agent" /qn
Repair
.\baramundiProactiveAgent.exe /fa // /qnUpgrade (without EnrollmentToken)
.\baramundiProactiveAgent_NewVersion.exe /exenoui /qn [PROXYUSERNAME=<username> PROXYSECRET=<secret>]Enable logging
If you want to log the result of the setup, use:
/L*V "<Pfad>\install.log"Network checks
During installation, the system checks in two steps whether a network connection can be established.
- Checking the internet connection
Without an internet connection, the installation is canceled with an error. Details can be found in the setup log and the Windows event log. - Connection to: https://argus-enrollment.baramundi.cloud
If no connection to this URL can be established, the setup is canceled with an error message. The return code is 1603 and corresponding entries are written to the logs and event log.
Note
In a previous version of the article, the parameterOVERRIDE_ONLINE_CHECKwas incorrectly listed. This has now been corrected, the correct parameter isOVERRIDE_INTERNET_CHECK