Custom Scan

January 10, 2024

ID 178897

You can start a Custom Scan task on a protected virtual machine by specifying the list of files and objects to scan, the file names (or paths to them) or templates of file names (or paths to them).

To start a custom scan task, execute the following command:

lightagent scan [<path to the file or folder>][<path to the file or folder>...][--boot][--memory][--startup][--@:<filelist.lst>]

where:

  • <path to the file or folder> – path to the file or folder that you want to scan for viruses and other malware. You can use masks to specify the path to a file or folder. If you do not specify the paths to files or folders, the application scans all objects of the file system of the protected virtual machine.
  • boot – scan disk boot sectors.
  • memory – scan system memory.
  • startup – scan startup objects.
  • @:<filelist.lst> – scan files from the list. In the text file, specify the files or folders that you want to scan for viruses and other malware by typing them from a new line.

You can also use a configuration file to run a scan task or start it with advanced settings, allowing to log task-related events to file.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.