Creating a program execution task

You can create a program startup task or command execution task.

If the standard output file or error output file reaches a size of 100 KB when the task is running, some of the data is deleted from the file. The file will not contain all the data.

To create a task for starting a program or executing a command:

  1. Select the Tasks section in the program web interface window.

    This opens the task table.

  2. Click Add and select Run program.

    This opens the task creation window.

  3. Configure the following settings:
    1. In the File path and Working folder fields, enter values in one of the following ways:
      • In the File path field, enter the full path to the executable file (for example, C:\Windows\System32\ipconfig.exe). Leave the Working folder field empty.

        When creating a task, the program does not check if the specified path to the executable file is valid.

      • In the File path field, enter the name and extension of the executable file (for example, ipconfig.exe). In the Working folder field, enter the working directory (for example, C:\Windows\System32\).
    2. In the Arguments field, enter additional options for running the file or task (for example, the /all argument).
    3. In the Description field, enter the task description. This field is optional.
    4. Configure the Task for setting, that is, the task scope:
      • If you want to run the task on all hosts of all servers, select the All hosts option.
      • If you want to run the task on selected servers, select the Specified servers option and on the right of the Servers parameter name select the check boxes next to the names of the servers on which you want to run the task.

        This option is available only when distributed solution and multitenancy mode is enabled.

      • If you want to run the task on selected hosts, select the Specified hosts option and list these hosts in the Hosts field.
  4. Click Add.

The program startup task or command execution task will be created. The task runs automatically after it is created.

Example:

To run the ipconfig /all command on the host with IP address 10.10.10.1:

  1. Select the Tasks section in the program web interface window.

    This opens the task table.

  2. Click Add and select Run program.

    This opens the task creation window.

  3. Configure the following settings:
    1. In the File path and Working folder fields, enter values in one of the following ways:
      • In the File path field, enter C:\Windows\System32\ipconfig.exe. Leave the Working folder field empty.
      • In the File path field, enter ipconfig.exe. In the Working folder field, enter C:\Windows\System32\.
    2. In the Arguments field, enter /all.
    3. In the Description field, enter the task description.
    4. Select the Specified hosts task scope.
    5. In the Hosts field, start entering characters of the IP address 10.10.10.1, and when this IP address is displayed in the drop-down list of search results below, select it.
  4. Click Add.

Users with the Security auditor role cannot create program running tasks or command execution tasks.

Users with the Security officer role do not have access to tasks.

See also

Managing tasks

Viewing the task table

Viewing information about a task

Creating a process termination task

Creating a data collection task

Creating a task to scan hosts using YARA rules

Creating a service management task

Creating a get file task

Creating a file deletion task

Creating a file quarantine task

Creating a quarantined file recovery task

Creating a copy of a task

Deleting tasks

Filtering tasks by creation time

Filtering tasks by type

Filtering tasks by name

Filtering tasks by file name and path

Filtering tasks by description

Filtering tasks by server name

Filtering tasks based on the name of the user that created the task

Filtering tasks by processing status

Clearing a task filter

Page top