How to install Discovery Agents unattended

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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 Jul 31, 2024

Was this helpful?

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