Set up the Assets Discovery service

Still need help?

The Atlassian Community is here for you.

Ask the community

On Windows-based systems, Assets Discovery can be used as an optional scheduled service that runs periodically, scans your network, and exchanges information with Assets Discovery agents that may be running simultaneously in your network.


Configure the Assets Discovery service

  1. Navigate to your Assets Discovery directory and type discovery.exe -s in your terminal or command-line interpreter.
  2. Enter your password. If this is the first time you have used Assets Discovery you will be asked to enter and confirm a new password. This password must contain at least 8 characters including at least one uppercase, one lowercase, one numeric and one non-alphanumeric (symbol) character.
  3. Select the Service tab.
  4. Select Service Restart Interval - select the interval that will pass before the Assets Discovery service restarts. The default is 24 hours. When the interval is reached, the service will perform a self restart to release the allocated memory that can not release during the service process is running. It will not affect a running scan, the restart will only executed when there is a free time slot between the configured scan settings. When it's configured to 0, the function is disabled.
  5. Next, install the service as a user. Select Custom User Account and enter the username in the format Domain\Login and the password. This user must be a member of the default Administrator group.
    (info) The Standard System Account is selected by default. The service runs with system-level privileges. This is not recommended due to extensive privileges.

Install Windows Service as a custom user

If you have one or more Assets Discovery agents running on your network, use the Agent Settings to configure how they share information with the Assets Discovery service. More about agent settings 

Enable the Assets Discovery service

To enable the Assets Discovery service using the setup utility:

  1. Navigate to your Assets Discovery directory and type discovery.exe -s in your terminal or command-line interpreter.
  2. Enter your password. If this is the first time you have used Assets Discovery you will be asked to enter and confirm a new password. This password must contain at least 8 characters including at least one uppercase, one lowercase, one numeric, and one non-alphanumeric (symbol) character.
  3. Select the Service tab.
  4. Select Install Service. If you're using a Custom User Account, enter the username and password provided during the setup.

To disable the service, in the upper-right corner, select Uninstall.

You can also enable the Assets Discovery collector as a service using the command-line:

  1. As an administrator on your Windows or Linux system, open a command-line interpreter window.
  2. Go to your Assets Discovery directory and type discovery.exe -i in your terminal or command-line interpreter. For a Custom User Account, type: discovery.exe -i -user=<login> -password=<password>.

To disable the service, type discovery.exe -u.

Last modified on Jan 6, 2025

Was this helpful?

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