Configuring Update Parameters

To configure virus databases and Dr.Web components update parameters, use drwupsrv.bat file. This file is located in Dr.Web installation folder. Commands included in this file are executed while running Doctor Web for Exchange Update Task in Windows Task Scheduler.

To configure update settings, specify required parameters for -c update and -c postupdate commands.

-c update command parameters

-c update command updates virus databases and Dr.Web components.

Parameter

Description

--type arg

Type of update:

update-revision—try to update all components of the current revision to the newest if exists.

--disable-postupdate

Post-update is disabled. Work of update module will be stopped when the update operation has completed.

--verbosity arg

Log level:

error—standard

info—extended

debug.

--interactive

If parameter is specified, more resources will be used during execution of some operations.

--param args

Additional parameters passed to the script:

Format: <name>=<value>.

Default value is plugin=exchange.

-n [ --component ] arg

List of the components that need to be updated:

updater—drwupsrv.exe file;

antispam—vrcpp.dll file;

scan-engine—dwengine.exe, ccsdk.dll, dwsewsc.exe, dwinctl.dll, dwarkdaemon.exe, arkdb.bin, dwqrui.exe and dwarkapi.dll files;

av-engine—virus databases (*.vdb files);

exchange-plugin-setup—exchange-setup.exe file.

warning_green

Several components can be updated simultaneously, e.g.:

-n av-engine updater

-g [ --proxy ] agr

Proxy server for updating.<address>:<port>.

-u [ --user ] agr

Username for proxy server.

-k [ --password ] arg

Password for proxy server.

Example of - c update command for updating virus databases using proxy server:

-c update --type=update-revision --disable-postupdate --verbosity=debug --interactive --param="plugin=exchange" -n av-engine --proxy=192.168.134.128:808 --user=qwerty --password=qwerty

- c postupdatе command parameters

-c postupdatе command post-updates virus databases and Dr.Web components.

Parameter

Description

--verbosity arg

Log level:

error—standard

info—extended

debug.

--interactive

If parameter is specified, more resources will be used during execution of some operations.

--param arg

Additional parameters passed to the script:

Format: <name>=<value>.

Default value is "plugin=exchange".

- c postupdatе command example:

-c postupdate --verbosity=debug --interactive --param="plugin=exchange"

Configuring an update mirror

If you cannot update Dr.Web directly from the internet or if you want to reduce the amount of external traffic, you can configure an update mirror in order to update Dr.Web via LAN.

To configure an update mirror, perform the following steps on a machine with an access to the internet

1.Run the drwupsrv.exe with the following parameters:

-c download --zones=<file_path> --key-dir=<folder_path> --repo-dir=<folder_path> --version=90 --verbosity=debug --log-dir=<file_path>

Specify the necessary values for:

zones=<file_path>—path to the update zone file drwzones.xml. This file can be found by environment variable %PROGRAMDATA% (i.e. by executing it in Start -> Run console) in the %PROGRAMDATA%\Doctor Web\Updater\etc folder.

key-dir=<folder_path>—path to the license key file. This is the folder into which the license key file was extracted from the ZIP archive sent to the email address (see Getting License Key File).

repo-dir=<folder_path>—path to the folder with updates. Make sure the updates folder is shared.

For example:

drwupsrv.exe -c download --zones=C:\Mirror\drwzones.xml --key-dir=C:\Mirror --repo-dir=C:\Mirror\Repo\ --version=90 --verbosity=debug --log-dir=C:\Mirror\Repo\

2.On the server with Dr.Web installed, open the drwupsrv.bat file and add the following parameter in the string set upparams, and then run the file:

--zone="file://<repo_folder_path>"

For example:

set upparams=-c update --type=update-revision --disable-postupdate --verbosity=debug --interactive --param="plugin=exchange" --zone="file://C:\Mirror\Repo"

warning_green

When using a network path, it should be specified as follows: --zone="file://\\[hostname/ip]\[folder_path]".