Windows Agent Installer Command Line Options
If you are installing an agent version 21.x or lower, please use the legacy command line options.
Example Usage:
CMD
SentinelOneInstaller.exe -q -b -t <site_token>Powershell
./SentinelOneInstaller.exe -q -t <site_token>-b, --reboot_on_needOptional. Automatically reboot the endpoint when required to continue with the installation.
-t``site_Token or group_Tokenis the site token or group token.-q, --qnOptional unless you use a deployment tool to install the Agent (then it is mandatory).
Quiet mode. The installer does not show the status of the upgrade as it progresses, and does not automatically show a return code when the upgrade completes.
-a``installer_argumentsIf there is a web proxy between the endpoints and the Console, you must use the installer arguments to configure the proxy for the Agent in the installation command. To configure a proxy after the Agent is installed, you must use sentinelctl.
Important
If you add the
-qparameter you must use the-tparameter and enter the token.If you do not use
-qparameter, the-tparameter is optional in this step of the procedure. If you do not enter the token now, you must add it into the UI later.
| Optional Arguments | Description |
|---|---|
| SERVER_PROXY=mode | Set a proxy server between the Agent and its Management Console. Mode valid values:
|
| AGENT_LOGGING={true | false} | Disable Agent logging. |
| INSTALL_PATH_DATA="drive:\path" | Customize the path for Agent database, logs, and large data files. Requirements
|
| SERVER_PROXY_CREDENTIALS=user:pass | Set credentials to authenticate with the Management proxy. |
| IOC_PROXY=mode | Set a proxy server between the Agent and the Deep Visibility EDR data server. Mode valid values:
|
| FORCE_PROXY={true | false} | Prevent fallback to direct communication if the proxy is not available. Important! If the Management proxy or the Deep Visibility proxy is configured with |
| WSC={true | false} | Set the Agent installation to disable (true) or not disable (false) Windows Defender. |
| CUSTOMER_ID="Customer Identifier string" | Add a user-defined Identifier string to the endpoint. |
| VDI={true | false} | Install on Virtual Desktop Infrastructure or VMs with a Golden (Master) Image. Important: This property is NOT recommended for all VM installation types. See Installing Windows Agents on VM or VDI for when this property is recommended. |
Legacy Installer Options#
Notes: Options are case-sensitive.
Example Usage:
MSI
"C:\Users\usr\AppData\Local\Temp\SentinelInstaller.msi" /q /norestart UI=false SITE_TOKEN="51te70k3n"EXE
"C:\Users\usr\AppData\Local\Temp\SentinelInstaller.exe" /q /norestart /NOUI /SITE_TOKEN=51te70k3nExit codes:
From the same CMD or shell session that the installer was launched, run: echo %ErrorLevel%
- 0 = Success
- -1 (or other non-zero) = Failure
EXE Installer Options (agent version 21.x and older)#
| Action and Description | Option |
|---|---|
| Silent installation (no UI, no user interaction, no reboot). | /q, /QUIET, /s, /SILENT |
With a Silent installation switch, you can use an optional flag for endpoint reboot:
| /NORESTART /FORCERESTART /REBOOT |
| Install the Agent with the UI disabled (no tray icon or notifications). | /NOUI |
| Disable Agent logging. | /NOLOGGING |
| Assign Agents to a Site or static Group. | /SITE_TOKEN=string |
Customize the path for Agent database, logs, and large data files. Requirements
(Supported from Agent versions 3.6) | /INSTALL_PATH_DATA=drive:\path |
Set a proxy server between the Agent and its Management. Mode valid values:
| FQDN}:[port] |
| Set credentials to authenticate with the Management proxy. | /SERVER_PROXY_CREDENTIALS=user:pass |
Set a proxy server between the Agent and the Deep Visibility EDR data server. Mode valid values:
| FQDN}:[port] |
| Set the username and password to authenticate with the Deep Visibility proxy. | /IOC_PROXY_CREDENTIALS=”username:password” |
Prevent fallback to direct communication if the proxy is not available. Important! If the Management proxy or the Deep Visibility proxy is configured with | /FORCE_PROXY |
Set the Agent installation to disable or not disable Windows Defender.
| /WSCOFF |
| Add a user-defined Identifier string to the endpoint. | /CUSTOMER_ID="Customer Identifier string" |
Install on Virtual Desktop Infrastructure or VMs with a Golden (Master) Image. Important: This property is NOT recommended for all VM installation types. See Installing Windows Agents on VM or VDI for when this property is recommended. | /VDI |
MSI Installer Options (agent version 21.x and older)#
| Action and Description | Option |
|---|---|
| Silent installation (no UI, no user interaction, no reboot). | /q, /QUIET |
With a Silent installation switch, you can use an optional flag for endpoint reboot:
| /NORESTART /FORCERESTART |
| Install the Agent with the UI disabled (no tray icon or notifications). | UI=false |
| Disable Agent logging. | AGENT_LOGGING=false |
| Assign Agents to a Site or static Group. | SITE_TOKEN="string" |
Customize the path for Agent database, logs, and large data files. Requirements
(Supported from Agent versions 3.6) | INSTALL_PATH_DATA="drive:\path" |
Set a proxy server between the Agent and its Management. Mode valid values:
| FQDN}:[port] |
| Set credentials to authenticate with the Management proxy. | SERVER_PROXY_CREDENTIALS=user:pass |
Set a proxy server between the Agent and the Deep Visibility EDR data server. Mode valid values:
| FQDN}:[port] |
| Set the username and password to authenticate with the Deep Visibility proxy. | IOC_PROXY_CREDENTIALS=username:password |
Prevent fallback to direct communication if the proxy is not available. Important! If the Management proxy or the Deep Visibility proxy is configured with | FORCE_PROXY={true | false} |
| Set the Agent installation to disable (true) or not disable (false) Windows Defender. | WSC={true | false} |
| Add a user-defined Identifier string to the endpoint. | CUSTOMER_ID="Customer Identifier string" |
Install on Virtual Desktop Infrastructure or VMs with a Golden (Master) Image. Important: This property is NOT recommended for all VM installation types. See Installing Windows Agents on VM or VDI for when this property is recommended. | VDI={true | false} |