Scan network location from command line

Hello,

I'm attempting to use the BEST command line interface to scan a folder which is on a network share. Running this:

"c:\...\product.console.exe" /c FileScan.OnDemand.RunScanTask custom path="\\path\to\folder"

returns "Scanned items: 0 Objects that were not scanned: 1".

I've also tried using a mapped drive letter for the path (path="Z:\folder"); it returns "Scanned items: 0 Objects that were not scanned: 0".

Is there an additional option I need to enable in order to be able to scan network shares? From the GUI, running a custom scan of the shared folder works (returns "Scanned items: 266"). Scanning a local folder (on C:\) from the CLI also works.

Additional question: Is there a way to change the path to the generated report when running a CLI scan?

Answers

  • Hello.

    Since you need help with business product, @Alex_Dr could take a look here and help you.

    Also, you can always contact the Bitdefender business support:

    https://www.bitdefender.com/business/support/en/71263-85158-contact.html

    Regards.

  • Alex_Dr
    Alex_Dr BD Staff

    Hello @VinDuv,


    In this case I strongly suggest getting in contact with the Enterprise Support Team as they will have commands on hand and advise on proper instructions regarding scanning and scanning shared drives.

    Do let me know how it works out and if there is anything else i might assist you with.


    All the best,

    Alex D.