For unattended installation of SafeDNS Agent run installer with /S switch on the command line (please, mind, S upper case only). This functionality is supported in SafeDNS Agent starting with version 2.6.

The following keys are acceptable on the command line:

  • /login=< login > option allows to specify your login (for example, safedns-agent-setup /S /login=email@email.com /pass=qwerty).
  • /pass=< password > option allows to specify your password (for example, safedns-agent-setup /S /login=email@email.com /pass=qwerty). It is mandatory to use the /login and /pass options together. If only one of the options is used then at first launch the login and the password will be requested via GUI.
  • /prof=< profile > option allows to specify the necessary profile (for example, safedns-agent-setup /S /login=email@email.com /pass=qwerty /prof=My profile). If the option is not used or wrong profile is specified then the Default profile will be used.
  • /conn=< interface > option allows to specify network interface which is to be protected (for example, safedns-agent-setup /S /login=email@email.com /pass=qwerty /conn=Wi-Fi).
  • /pall switch should be used if all network interfaces are to be protected. If both /conn option and /pall switch are used then only the former takes action. If neither /conn option nor /pall switch is used then default network interface will be protected.
  • /dupd switch turns automatic checks for new versions of agent off.
  • /darun switch disables automatic startup of SafeDNS Agent GUI when Windows starts (no icon of agent will be shown in system tray). This switch does not affect the functioning of SafeDNS Agent system service.
  • /D=< path > option allows to specify the installation directory (please, mind, D upper case only). It must be the last option used in the command line and must not contain any quotes, even if the path contains whitespace characters (for example, safedns-agent-setup /S /login=email@email.com /pass=qwerty /D=c:\program files (x86)\SafeDNS Agent). Only absolute paths are supported.

Don't enclose options containing whitespace characters in quotation marks (for example, /prof=My profile).