Veeam Backup & Replication allows you to perform the secure restore — scan machine data with antivirus software before restoring the machine to the production environment. The antivirus software that you plan to use for scanning backups is described in the AntivirusInfos.xml file. Ensure that it is properly configured.
The settings in the file are already predefined for the following antivirus software (see more details):
NOTE: If you are using other antivirus software, contact antivirus support to get the required properties. Mind that the antivirus software must support the command-line interface (CLI).
<AntivirusInfo Name='Windows Defender' IsPortableSoftware='false' ExecutableFilePath='%ProgramFiles%\Windows Defender\mpcmdrun.exe' CommandLineParameters='-Scan -ScanType 3 -File %Path% -DisableRemediation -BootSectorScan' RegPath='HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinDefend' ServiceName='WinDefend' ThreatExistsRegEx='Threat\s+information' IsParallelScanAvailable='false'> <ExitCodes> <ExitCode Type='Success' Description='No threats detected'>0</ExitCode> <ExitCode Type='Error' Description='Antivirus scan was completed with errors'>2</ExitCode> <ExitCode Type='Infected' Description='Virus threat was detected'>2</ExitCode> </ExitCodes> </AntivirusInfo>