update_source — a required parameter. If multiple sources are indicated, the task will refer to them in the listed order. Separate sources with spaces. The source can be specified by:
- <path_to_network_folder_in_UNC_format>
- <any_URL>
- <local_directory>
- /AK — Administration Server connected to the Administration Agent installed on the protected server.
- /KL — Kaspersky Lab update servers.
/NOUSEKL — do not use Kaspersky Lab’s update servers if other sources are unavailable (or when you update them with an error). Are used by default.
/PROXY:<address>:<port> — the network name or IP-address of the proxy and its port. If you do not specify this key, the Anti-Virus will automatically detect the proxy server, which is used in a LAN.
/NOPROXYFORKL — do not use proxy settings when connecting to the update servers of Kaspersky Lab (used by default).
/USEPROXYFORCUSTOM — the key is used only when an update source is specified as <path_to_network_folder_in_UNC_format>, <any_URL> and <local_directory>. Parameter specifies the use of proxy settings when connecting to these sources. If no address is listed as an update source, then it is not necessary to use this key.
If such sources are used, but the key /USEPROXYFORCUSTOM is not specified, the proxy server settings are not used!
/USEPROXYFORLOCAL — use the proxy settings when connecting to update sources located on the LAN. If you have specified as an update source an address on the LAN, but you have not specified the key in the task /USEPROXYFORLOCAL, then when you connect to this source, the proxy server settings will not be used!
/AUTHTYPE:<0-2> — when accessing the proxy server use the authentication methods:
- 0 — Integrated Authentication Microsoft Windows (NTLM-authentication); Anti-Virus will contact the proxy server under the Local system account (SYSTEM).
- 1 — Integrated Authentication Microsoft Windows (NTLM-authentication); Anti-Virus will contact the proxy server under the account data which are defined by the keys /PROXYUSER and /PROXYPWD.
- 2 — Authentication by user’s name and password specified by the keys /PROXYUSER and /PROXYPWD (Basic authentication).
/PROXYUSER:<username> — the user name that will be used to access the proxy server. If you specify the key value /AUTHTYPE:0, the key /PROXYUSER is ignored.
/PROXYPWD:<password> — user’s password, which will be used to access the proxy server. If you specify the key value /AUTHTYPE:0, the key /PROXYUSER is ignored. If you specify the key /PROXYUSER, and the key /PROXYPWD is omitted, it is considered that the password is blank.
/NOFTPPASSIVE — use the active mode of FTP-server. If the key is not specified, the passive mode will be used (if possible).
/TIMEOUT:<number_of_seconds> — timeout when connecting to the FTP or HTTP servers. If you do not specify this key, the Anti-Virus will use by default: 10 sec. As a key value you can enter only whole numbers.
/REG:<code_iso3166> — Anti-Virus optimizes download updates to the protected server by selecting the nearest server for updates (only if /KL is selected as the source of update — Kaspersky Lab’s server).
As a key value, specify the letter code of the country of location of the protected server in accordance with standard ISO 3166-1, for example, /REG:gr or /REG:RU.
If you miss this option or specify an invalid country code, then the Anti-Virus will detect the location of the protected server in accordance with the regional settings of the protected server (for Microsoft Windows 2003 Server and above — according the value of a variable Location).
/ALIAS:<alternative_name_of_task> — assign the task a temporary name by which it can be referenced using the TASK command. By default, the task is named scan_<kavshell_pid>. For example, update_2756. In the Anti-Virus Console, the task is given the name of Anti-virus bases update (<time_and_date>). For example, Anti-virus bases update 13_10_50_20_09_2007.
/W:<report_file> — start recording a report on the implementation of tasks in the file. Without specifying the full path, the file will be created in the directory from which the command KAVSHELL is run. Restarting the task with the same write option in the report will overwrite the existing file. When it is impossible to create a report file, the Anti-Virus does not stop the scanning and does not show an error.