Jump to content

antivirus command line parameters: How? what is the syntax?


Faustocg
Go to solution Solved by Schulte,

Recommended Posts

Hi I have downloaded kaspersky antivirus trial, i´m doing some testing for a project and need an antivirus that could run/execute from windows 10 command prompt and scan/clean/desinfect a usb pendrive inserted in the computer, 1.- how this can be done? 2.- what is the syntax? best regards
Link to comment
Share on other sites

Hi Faustocg, welcome to the new forum. Scans and other functions are controlled by 'AVP.COM'. It is located in the Kaspersky applications directory (do not confuse it with 'AVP.EXE'!). With 'AVP.COM Help' you can get a list of the parameters or you can check them with e.g. 'AVP.COM Help Scan'.
Link to comment
Share on other sites

  • Solution
You can use the following command for a first test. You have to customize the path, I don't know which product is used. (and don't forget the quote marks) "C:\Program Files (x86)\Kaspersky Lab\[Path to your KL produkt]\avp.com" SCAN F: /MEMORY /i8 /fa /R:%homepath%/desktop/ReportScanF.txt The command scans drive F and the system memory, a log file named 'ReportScanF.txt' is stored on the desktop. Finally an overview of the parameters, then you can experiment with the settings. Usage: SCAN [] [/ALL][/MEMORY][/STARTUP][/MAIL][/REMDRIVES] [/FIXDRIVES][/NETDRIVES][/apprules] [/@:] [/i<0-4,8,9>] [-e:a|s|b|m||] [/R[A]:] [/C:] [/hlevel ] Scan area: List of files and/or folders delimited with space. Long path names must be enclosed in quotes. /ALL Scan my computer /MEMORY Scan computer memory /STARTUP Scan startup-objects /MAIL Scan mailboxes /REMDRIVES Scan removable media /FIXDRIVES Scan hard drives /NETDRIVES Scan network drives /apprules Categorization of the executable files /@: Scan files in specified list file Action with infected files: /i0 Report only /i1 Disinfect object, skip if disinfection is impossible. /i2 Disinfect object, delete object if disinfection is impossible, dont't delete objects from containers, delete containers with executable header. /i3 Disinfect object, delete object if disinfection is impossible, delete containers if objects can not be deleted. /i4 Delete infected objects, delete containers if objects can not be deleted. /i8 (default) Ask me immediately /i9 Ask me when scan is finished File types: /fe Quick check /fi Smart check (default) /fa All files Excludes: -e:a Skip archives -e:b Skip e-mail databases -e:m Skip plain text e-mail -e: Skip files by mask -e: Skip files scanned longer than -es: Skip files greater than Reports: /R: Save only critical events /RA: Save all events Additional settings: /iChecker= Enable/disable iChecker technology /iSwift= Enable/disable iSwift technology /C: Specifies configuration file /hlevel Specifies heuristic level [1-1000] Examples: avp.com SCAN /R:log.txt /MEMORY /STARTUP /MAIL "C:\Documents and Settings\All Users\My Documents" "C:\Program Files" C:\Downloads\test.exe avp.com SCAN /MEMORY /@:objects2scan.txt /C:scan_settings.txt /RA:scan.log
Link to comment
Share on other sites

  • 1 year later...

https://support.kaspersky.com/KIS4Mac/16.0/en.lproj/pgs/26820.htm

 

Note: To run a virus scan, you can also use tasks created in the application by starting one from the command line. The task is started with the parameters that are specified in the Kaspersky Internet Security interface.

 

How can I run this? I’m getting the 404 error when clicking on the link in the quote.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...