Creating a program execution task

You can run 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.

    The tasks table opens.

  2. Click the Add button and select Run program.

    The task creation window opens.

  3. Specify the following parameters:
    1. If you want to run the program as SYSTEM, in the Settings settings group select the Run as SYSTEM check box.

      The check box is cleared by default. The program will be run on behalf of the current user.

    2. Select one of the following actions:
      • If you want to run a program using the command line (cmd.exe) or execute a command, select the Execute command option and type the command in the Command field.
      • If you want to run a program directly, select the Run a file option, specify the full path to the file in the File path field and the startup keys in the Arguments field.

        You can also specify the path to an alternate data stream of this file.

    3. Description—Task description. This field is optional.
    4. Working directory—Working directory of the program that you want to run.
    5. If you want to display a task run notification to the user of the computer on which the task is running, select the Notify user about the task execution check box on the right of the Notification parameter name.
    6. Task for—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 the Add button.

The program startup task or command execution task will be created.

Example:

To completely reject the network interfaces of a host by executing the command on behalf of the current user on all hosts, proceed as follows:

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

    The tasks table opens.

  2. Click the Add button and select Run program.

    The task creation window opens.

  3. Specify the following parameters:
    1. In the Settings group, select the Execute command option and enter the command netsh interface set interface admin=disable in the Command field.
    2. In the Description field, enter the task description.
    3. Select the All hosts task scope.
  4. Click the Add button.

    Run the command for disabling each network interface.

    Disable the network interface connecting the host with the Central Node component in the last turn.

After the task has been successfully performed, the host network interfaces will be disabled.

See also

Managing tasks

Viewing the task table

Viewing information about a task

Creating a process termination task

Creating a file download task

Creating a file deletion task

Creating a file quarantine task

Creating a quarantined file recovery task

Creating a copy of a task

Deleting a task

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