ESET Online Help

Search
Select the topic

Windows scripts

Windows AMP file scripts syntax

Checks

Check

Parameter

Note

Product Activated

 

Fails if the product is not activated.

Suggested action: Activate

Product Installed

 

Fails if the product is not installed.

Suggested action: Deploy w Activate

Protection Status

 

Reports status.

Flags if the status is not “Fully Protected”.

Scans

 

Reports if new scans have been performed since last checked.

Threats

 

Flags if new threats have been detected.

Suggested action: Perform In-Depth scan

Was Configured

age (in following format: n[m|h|d] as in 4d for 4 days, or 2h for 2 hours…)

Flags if the last configuration change was performed earlier than age parameter.

Was Updated

age (in following format: n[m|h|d] as in 4d for 4 days, or 2h for 2 hours…)

Flags if the last update was performed earlier than age parameter.

Tasks

Task

Parameter

Note

Activate

“XXXX-XXXX-XXXX-XXXX-XXXX|user password public_key” (use license key, ESET MSP Administrator 2, ESET Business Account or ESET PROTECT Hub username, password, and public key)

 

Configure

Configuration file path.

 

Deactivate

Product {EEA|EES|EFSW|EMSX}

“XXXX-XXXX-XXXX-XXXX-XXXX|user password public_key” (use license key, ESET MSP Administrator 2, ESET Business Account or ESET PROTECT Hub username, password, and public key)

 

Deploy w Activate

 

 

Repair

Product {EEA|EES|EFSW|EMSX}

“XXXX-XXXX-XXXX-XXXX-XXXX|user password public_key” (use license key, ESET MSP Administrator 2, ESET Business Account or ESET PROTECT Hub username, password, and public key)

This task reruns the following checks and acts on the issues as necessary:

If the product is not installed, Repair attempts installation

If the product is not activated, Repair attempts activation

If new threats were detected, Repair starts an In-depth scan

In all cases, Repair performs a signature update

On-demand Scan

Targets: “|” (pipe) separated list of Files, Folders or Macros, examples:

“c:\users\john\file.tmp”
“c:\users\john”
“${DriveAll}|${Memory}”

 

Profile: scan profile, examples:

“@Smart profile”
“@In-depth profile”

 

Uninstall

Uninstall Password (if set)

 

Update Module

 

 

Upgrade

Product {EEA|EES|EFSW|EMSX}