I have the problem, that in each backup of my mail system (File based archive on Windows Server 2012 R2), errors occur while backing up virus-infected e-mail attachment files. This is caused by the real-time scan (in my case of TrendMicro OfficeScan) which didn't recognized the viruses on receive-time and removes them at file-access-time - which causes backup errors.
My question is: What is the fastet and performance friendliest way of initiating a anti virus scan on all files in a known directory D:\mail\
with a known file extension .$01
?
In my research I found no way of a manual CLI-based anti virus scan for TrendMicro Office Scan.
My idea is to simply read in all the files to hopefully trigger the realtime-scan.