This site is for Avast Business products only. For articles on AVG Business products, see AVG Business Help. If you are in the right place but cannot find what you are looking for, please contact Avast Business Support for further assistance.

Command-Line Installation Parameters

This Article Applies to:

  • Avast Business On-Premise Console

 

You can use command-line parameters to customize your installation. These parameters are for managed devices, as they utilize the Business Agent.

Main parameters

  • -i: install
  • -u: uninstall
  • -f: reboot after the install
  • -e: reboot after the uninstall
  • -c: make clonable (write clone key to registry; see Device Cloning for more information)
  • -b: fix a bad clone (one that was started without setup -c already having been done; see Device Cloning for more information)
  • -p: modify proxy information (server address and/or credentials)

Parameters requiring values

  • -lid: locale id (English is value 1)
  • -svr: policy server URL
  • -sil: silent (Business Agent is 1)
  • -tok: install authorization token
  • -fav: force Antivirus reinstall
  • -debug: install in debug (needs value 1) - only use when guided by support

Proxy parameters

  • -pmi: proxy mode
  • -pti: proxy type
  • -pbi: proxy browser id
  • -psa: proxy server authorization enabled
  • -pai: proxy authorization id
  • -psn: proxy server name
  • -psu: proxy server username
  • -psp: proxy server password (reversible-encrypted-pw)
  • -ppt: proxy server port
  • -pst: proxy script
  • -rpp: raw proxy password

Example Commands

  • avast _business_agent_setup_online.exe -i -sil "1" — Running a silent installation of the Business Agent
  • -i -tok "71a55f420c9e4966bcb046933a750ca14ed84aff20c14adab493c6ea369a68be" -svr "https://bcons-core-prg.ff.avast.com:443/agent/" -lid "1" — Installing with specified authorization token, policy server URL, and language
  • -p -pmi "2" -ppt "8080" -psn "test.proxy.test" — Running setup with proxy server