How to install Discovery Agents unattended

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

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles 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

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

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

    "C:\Program Files\Atlassian\Discovery Agent\Discovery_Agent.exe" -token <token>
    (info) The token is generated/fetched in the Discovery tool agent tab.


Last modified on Jan 20, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.