Starting Avira System Scanner from the command line

Many download managers and backup programs allow you to scan files with a virus scanner, using the command line. In this way, you can use the graphical user interface of Avira software, configuring it with the following parameters (the syntax is not case-sensitive, but the paths have to be inserted in double-quotes):
/CFG="<path to the scan profile file>"
/PATH="<path to the folder or file to be scanned>"

"%PROGRAMFILES%\Avira\Antivirus\avscan.exe"  /CFG="%PROGRAMFILES%\Avira\Antivirus\scan.avp"
"%PROGRAMFILES%\Avira\Antivirus\avscan.exe"  /PATH="%WINDIR%"
"%PROGRAMFILES%\Avira\Antivirus\avscan.exe"  /PATH="C:\Downloads\"
"%PROGRAMFILES%\Avira\Antivirus\avscan.exe"  /PATH="C:\Downloads\%1"

Avira System Scanner uses the configuration set in Avira product, the menu wheel → PC ProtectionSystem Scanner. So, if you activated the option Scan master boot sectors, they will be scanned every time avscan.exe starts.

In case you do not want to use this option, because the scanning takes longer, there is a work-around, for scanning only the selected files.

  1. Download this profile file (right-click the link and select Save link as): filescan.avp
  2. Save the file on your hard disk, then right-click it and select Properties. Activate the option Read only and press OK.
  3. Now you have to apply this profile to the /CFG parameter. For example, to use Avira products with WinRAR, you have to use the following parameters:
    System Scanner name: "%PROGRAMFILES%\Avira\Antivirus\avscan.exe"
    System Scanner parameter: /CFG="C:\filescan.avp" /PATH="%f"

Affected products

  • Avira Professional Security [Windows]
  • Avira Free Antivirus [Windows]
  • Avira Antivirus Premium 2013 [Windows]
  • Avira Antivirus Pro [Windows]
  • Avira Internet Security [Windows]
  • Avira Internet Security Suite [Windows]
  • Avira Ultimate Protection Suite [Windows]
  • Created : Thursday, December 20, 2007
  • Last updated: Tuesday, April 9, 2019
Was this helpful?