Anguel

a2cmd cannot scan UNC paths?

Recommended Posts

Hi!

I scan a infected file on a UNC path, e.g. \\SERVER\SomeShare\SomeExe.exe with a2cmd.exe (in service mode).

a2cmd says scanned : 0, found : 0 and returns 0 = No infections were found

When scanning the same file on a local disk it detects the infection and cleans it.

Why is this?

Anguel

Share this post


Link to post
Share on other sites

I checked again, it looks like scan works ok on a Server 2012 R2 share but on a QNAP NAS (active directory enabled) it just does not scan, although permissions include read and write for the file:

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. Alle Rechte vorbehalten.

C:\WINDOWS\system32>"C:\EmsisoftCmd\a2cmd.exe" /s /dq /a /f="\\nas\Software\SMB_Catalogue_2016.pdf"

Emsisoft Commandline Scanner v. 12.2.0.7060
(C) 2003-2016 Emsisoft - www.emsisoft.com

Emsisoft Commandline Scanner - Version 12.2
Last update: 13.02.2017 13:44:22

Scan settings:

Scan type:                              Custom Scan
Objects:                                \\nas\Software\SMB_Catalogue_2016.pdf

Detect Potentially Unwanted Programs:   Off
Scan archives:                          On
ADS Scan:                               Off
File extensions:                        Off
Direct disk access:                     Off

Scan start:                             13.02.2017 13:48:16
                                                                                

Scanned            0
Found              0
Removed            0


Scan end:          13.02.2017 13:48:16
Scan time:         0:00:00

 

Share this post


Link to post
Share on other sites

Would you be willing to get us some Scan Engine Debug Logs? If so, then there's a batch file to turn the debug logging on/off at the following link:

It's capable of prompting for admin rights, so you should be able to just double-click on it to run it. If you have trouble with it, then you can try running it manually from an elevated Command Prompt.

When executed, after obtaining admin rights, the batch file will display a menu and wait for input. Just press the number for the logs you want to enable (should be 3 in this case) and then press Enter to enable them, then you can just keep pressing "Enter" until the batch file exits (no input at the main menu = exit). If you are using the service option with A2CMD, then you will need to restart the service manually (either services.msc in the Run dialog and look for the Emsisoft Command Line Scanner Service, or use the sc stop a2Cmd/sc start a2Cmd commands in an elevated Command Prompt).

Once the service has been restarted, you can run your scan with a2cmd.exe and when it is done there should be a log named ScanEngineDebug.log in the same folder as a2cmd.exe which you can ZIP and attach to a reply.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.