How to install Discovery Agents unattended

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Assets Discovery agents can be installed either manually on each of the remote hosts and running the Agent setup in silent mode.

Here we will show how to install Discovery Agents in an unattended way.

Solution

When you run the Setup wizard, Setup is running in interactive mode. It uses a graphical user interface (GUI) that prompts you for the required information. Alternatively, you can run Setup in silent mode. When Setup runs in silent mode, no GUI is displayed.

Use the following procedure to run the installation by entering parameters at the command prompt.

  1. Open a Command Prompt window.

  2. At the command prompt, type the following command to display all the options

    1 <Discovery_installation_path>\Discovery_Agent_Setup_x86.msi /?
  3. One of the options for a silent install is:

    1 start /wait msiexec -quiet -i <Discovery_installation_path>\Discovery_Agent_Setup.msi
  4. Then run this command to configure the token:

    1 "C:\Program Files\Atlassian\Discovery Agent\Discovery_Agent.exe" -token <token>

    ℹ️ The token is generated/fetched in the Discovery tool agent tab.

Updated on April 2, 2025

Still need help?

The Atlassian Community is here for you.