Scanning a network folder with access username / password

Hi There,

I am keen to ensure my NAS does not have any viruses, and want to use Avast to scan them. I can do this for my Public Folder on the NAS, which does not require a username and password, but cannot do this for other folders which require username/password. When I try to run the scan on such folders, then Avast returns message “Some Files could not be scanned”. I would expect somewhere where I can specify login credentials for the folders, but have not seen this in the settings.

Any help on resolving this would be greatly appreciated.

Thanks, :-\

No, I’m afraid there is no such setting.

avast! should (at least if the scan is invoked from the GUI, i.e. it’s not a scheduled scan) try to impersonate the currently logged-on user when scanning such folders - so if the current user has already mapped those shares and entered the password, it could work. However, I guess the problem might be that the mapping happens later - after the AvastUI.exe process has been started shortly after the logon - and the process doesn’t see those shares created later. In that case, the UI would have to be restarted (i.e. the AvastUI.exe process killed - which would require the self-defense to be disabled first - and then started again). No easy way, I’m afraid (and even if it works, it’s kinda “unsupported”… the scan is performed in a service that normally doesn’t have access to these shares, and even though I tried to make it work, there’s no guarantee everything works 100% as expected).

Thanks Igor for your message…

That’s a real shame this is not a supported feature… would be very useful.

Any suggestion of other products which are Free where folders on a NAS can be scanned? I still want to use avast, but even if I could have something else which is run once in while on the NAS would make me feel more comfortable! :slight_smile:

Thanks,

Tej

Well, “very useful”… the vast majority of users, especially home users, don’t really have such a network to scan - so the usefulness would be very limited.

As for other free products… really don’t know. I don’t think scanning of remote paths is something where the focus is; you may find a product where scanning of the network shares will work - provided the shares are already mapped and accessible for the current user. I don’t really believe you find a product where you could specify the username and password to access such paths - but I might be wrong, of course, I’m just guessing.

In avast! Professional and IS, you could probably use the command-line scanner to scan the already accessible paths (the scanner is started later, i.e. it shouldn’t suffer from the problem of starting before the shares are mapped - and it runs under the currently logged-on user’s account).