Skip to main content
Anthony_E
Staff
Staff
October 29, 2024

Technical Tip: Installing the Reveal Agent using the Windows CLI

  • October 29, 2024
  • 0 replies
  • 509 views
Description This article describes how to install the Reveal Agent using the Windows CLI.
Scope FortiDLP.
Solution

The Reveal Agent can be installed via msiexec using the /i flag with the corresponding MSI package. For example:

 

msiexec /i agent_x64_release_signed.msi

 

Silent installation:

 

msiexec /i agent_x64_release_signed.msi /qn

 

Add the /qn for silent execution. Note that this may cause a restart on install or upgrade if the /norestart flag is not supplied.

 

Further documentation can be found in the Microsoft Documentation

 

Silent install, no restart:

 

msiexec /i agent_x64_release_signed.msi /qn /norestart

 

Note:

some tools such as SCCM/Configuration Manager will monitor for the return code and may still trigger a reboot even if the /norestart flag is supplied. Consult the deployment tool's documentation for further instructions.

 

Automatic Enrollment on install:

It is possible to specify either an enrollment code or a path to an enrollment bundle file as part of the CLI installation process.

 

For example:

msiexec /i agent_x64_release_signed.msi /qn /norestart ENROLL_CODE=v1.xxxxxx

 

Return codes & Logging:

To log the output of the Windows installer, add the /L*v flag. For example:

 

msiexec /i agent_x64_release_signed.msi /qn /norestart /L*v agent-install.log

 

The usual successful return codes for the agent installation are:

  • 0: Success, no restart required.
  • 3010: Success, some files in use, reboot required to complete.
Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!