This will only work with Malwarebytes Nebula Enterprise. If you don’t have it installed, the button to scan won’t be able to invoke anything.

Scanning a folder with CMD

It’s not documented by Malwarebytes, so use

Untitled

This is a bit strange since it only works in C:\temp and the must be called scan.txt, but that’s how it works. Inside the scan.txt file under C:\temp\scan.txt you need to put the path of the folder you want to scan.

Steps:

  1. Create a file with the directory you want to scan in C:\temp\scan.txt
  2. Run the command:
    1. C:\Program Files\Malwarebytes Endpoint Agent\UserAgent\EACmd.exe -ContextScan=”C:\temp\scan.txt”
  3. It will popup with a window that takes about 25 seconds to complete the scan if all goes well (depending on the file size).

Resources:

Test virus: https://www.eicar.org/?page_id=3950

Malwarebytes Endpoint Nebula documentation: https://support.malwarebytes.com/hc/en-us/articles/360040260553

Admin guide: https://support.malwarebytes.com/hc/en-us/articles/360039985913

More info:

https://forums.malwarebytes.com/topic/264189-command-line-scanning/

Untitled