The page may not load correctly.
First, on any computer with Internet access, copy the following 3 files—take them from a computer on which a standalone anti-virus requiring updating is installed:
These files are necessary and sufficient to start creating an update mirror. In the example below, all of these files will be saved in the folder C:\mirror on a PC with Internet access.
The update utility has several operating modes and a myriad of parameters, which are described in the documentation. After placing all the above-mentioned files in the correct directory (in this case, C:\mirror), you must run the command prompt as administrator and set the following command in it:
C:\mirror\drwupsrv.exe -c download -s 90 --zones=C:\mirror\drwzones.xml -r C:\mirror\repo --key-dir=C:\mirror --data-dir=C:\mirror -l --log-dir=C:\mirror --verbosity debug
|-c [ --command ] arg (=update)||
The executable command: getversions — get versions, getcomponents — get components, update — update, uninstall — remove, exec — execute, keyupdate — update the key, download — download.
In our case, the update mirror must first be downloaded. Accordingly, the download mode is used for downloading.
|-d [ --data-dir ]||The path to the directory where the current product repository is located. In practice, indicating this parameter is very important if any version of the Dr.Web anti-virus is already installed on the PC where the mirror is being created.|
|--key-dir arg||The directory serving as the location of the current key, without which the download from the zone will be impossible. If the parameter is omitted, the key is taken from the directory in which the updater itself is located.|
|-l [ --progress-to-console ]||Display information in the console about the update utility’s operation. It can be convenient to track the updating process or the mirror’s creation in real time.|
|--log-dir arg||Sets the utility’s regular log location directory with the default name — dwupdater.log. If this parameter is not specified, the log will still be recorded, but in its regular directory C:\ProgramData\Doctor Web\Logs, which is not always convenient.
|-r [ --repo-dir ] arg||The repository folder in which the update mirror will be downloaded. By default <data_dir>/repo|
|-s [ --version ] arg||The name of the product list version. For all product versions, starting with 9.0, this parameter is 90. That means that this parameter will always be equal to 90 for 10.0, 11, 11.5, or 12.0.|
|-v [ --verbosity ]||Sets the update utility’s log verbosity. It can have the following values: error (standard), info (advanced), debug (debugging).|
|--zones arg||The path to the file containing a list of update areas (drwzones.xml). This tells the update utility where to download the mirror from.|
-g [ --proxy ] lets you specify the address of a proxy server for updating in the format <address>: <port>. Example
If, on the PC where the mirror is being created, a proxy server is used when connecting to the Internet, when you start creating the mirror from the command line, you need to set additional parameters:
C:\mirror\drwupsrv.exe -c download -s 90 --zones=C:\mirror\drwzones.xml -r C:\mirror\repo --key-dir=C:\mirror --data-dir=C:\mirror -l --log-dir=C:\mirror --verbosity debug --proxy=18.104.22.168:3128 --user=qwerty --password=qwerty
-u [ --user ] и
-k [ --password ] allow you to specify the proxy server login and password, if available. Example:
-u qwerty -k qwerty