Agent Unattended Installation Guide

This functionality is supported in the SafeDNS Agent version 2.6 and higher.

To initialize the unattended installation, run the installer with /S switch in the command line (S must be uppercase).

You can use the additional keys:

  • /login=< login > and /pass=< password > to specify your login and password (i.e. safedns-agent-setup /S / /pass=qwerty) It is mandatory to use the /login and /pass keys together. If only one of the keys is used, both login and password will be requested via GUI at the first launch.
  • /prof=< profile > to specify the filtering policy (i.e. safedns-agent-setup /S / /pass=qwerty /prof=My policy). If the key is not used or wrong policy is specified, a new policy will be created.
  • /conn=< interface > to specify network interface which needs to be protected (i.e. safedns-agent-setup /S / /pass=qwerty /conn=Wi-Fi).
  • /pall to protect all network interfaces. If both /conn and /pall are used, then only the former takes action. If neither key is used, only the default network interface will be protected.
  • /dupd turns off automatic checks for the new versions of the Agent.
  • /darun disables automatic startup of the SafeDNS Agent GUI when the system starts (no icon will be shown in the system tray). This switch has no effect on the SafeDNS Agent system service.
  • /D=< path > to specify the installation directory (D must be uppercase). It must be the last option used in the command line and must not contain any quotation marks, even if the path contains whitespace characters (i.e. safedns-agent-setup /S / /pass=qwerty /D=c:\program files (x86)\SafeDNS Agent). Only absolute paths are supported.
  • /nogui disables installation of the graphical user interface (GUI). When you use the key, all components will be installed, except for the dns-agent.exe file. You must specify the login and password with this key

Don't enclose options containing whitespace characters in quotation marks (i.e. /prof=My policy).