Offline Repository - Windows
You can use the Mirror Tool to create an offline repository (on Windows). Usually this is needed for closed computer networks or networks with limited internet access. The Mirror Tool can be used to create a clone of the ESET repository in a local folder. This cloned repository can be afterward moved (for example, onto an external disk) to a location in the closed network. You can copy the repository to a secure location in the local network and make it available via HTTP server (for example, ESET Bridge).
To update the offline repository, run the same command with the same parameters as used for offline repository creation. Previous data in the intermediary folder will be used and only outdated files will be downloaded.
Be aware that the size of the repository is growing and the intermediary directory will be the same size. Ensure you have at least 1.2 TB of free space before starting this procedure. |
Best practices
See also the ESET Knowledgebase article Best practices for using the ESET PROTECT in an offline environment.
Example scenario for Windows
I. Create repository clone
1.Download the Mirror Tool.
2.Extract the Mirror Tool from the downloaded .zip file.
3.Prepare (create) folders for:
•intermediary files
•final repository
4.Open command prompt and change the directory to the folder where the Mirror Tool is extracted (cd command).
5.Run the following command (change the intermediary and output repository directories to the folders from step 3):
MirrorTool.exe --repositoryServer AUTOSELECT ^ |
6.After the repository is copied to the outputRepositoryDirectory folder, move the folder and its contents to another machine where your closed network is accessible.
II. Set up HTTP server
1.You need an HTTP server running on the machine in the closed network. You can use:
•ESET Bridge proxy from the ESET download site (this scenario)
•a different HTTP server
2.Install ESET Bridge proxy.
III. Run the offline repository
1.Navigate to C:\Program Files\ESET\Bridge and open the pkgid file using a simple text editor. Change the http_proxy_settings_static_content_enabled setting to true to activate the offline repository server. Save the changes and close the pkgid file.
2.Copy the downloaded repository from step 6 (section I. above) to the offline repository server directory:
•The default offline repository server directory is C:\ProgramData\ESET\Bridge\OfflineRepository with proper access rights.
•To use a custom directory, create a new folder for the offline repository (for example, C:\Repository). In the pkgid file, replace the line "http_proxy_settings_offline_repository_dirPath": "%DATADIR%\\OfflineRepository" with "http_proxy_settings_offline_repository_dirPath": "C:\\Repository". The NETWORK SERVICE user needs full access rights to the directory.
3.Restart the ESET Bridge service using the command line commands: net stop "EsetBridge" and net start "EsetBridge". You must restart the service only after changing the pkgid file—the service restart is unnecessary when the repository data is changed, deleted, or added.
4.The offline repository runs on the address http://YourIPaddress:4449 (for example, http://10.1.1.10:4449).
5.Set the new repository address using the ESET PROTECT Web Console:
a.ESET PROTECT Server—Click More > Settings > Advanced Settings > Repository and type the offline repository address into the Server field.
b.ESET Management Agents—Click Policies, click the Agent policy > Edit > Settings > Advanced Settings > Repository > type the offline repository address into the Server field.
c.ESET endpoint products (for Windows)—Click Policies, click the ESET Endpoint for Windows policy > Edit > Settings > Update > Profiles > Updates > Product Updates > type the offline repository address into the Custom server field.