Schedule a scan

Discussion in 'ESET NOD32 Antivirus' started by dragoneer, May 6, 2012.

Thread Status:
Not open for further replies.
  1. dragoneer

    dragoneer Registered Member

    Joined:
    Feb 24, 2008
    Posts:
    21
    I'm currently using ESET AV Version 2.7 and need to update by the end of this month in order to continue receiving virus updates. I am using XP PRO SP3 on 32 bit machines. I will update to the latest released version in the next few days. With the current version, I schedule a nightly scan using the BAT file appearing below. The scan is scheduled for the middle of the night using the Windows' scheduler. That scheduler wakes the computer from an S3 suspend, runs the scan, and the scan leaves the scan output/trace in a place that is visible in the window managed by ESET.

    What I need is a BAT that is compatible with the latest ESET version. I hope that one of you can provide it to me. I also need to information about 1) how I will be notified if the scan finds a problem and 2) how I can view the scan trace for more information. Note, I will schedule the scan as an administrative user but want, as now, to be notified if there is a problem when I log in as an ordinary user.

    The current BAT file contents follow - note this is a one-liner in the file even if it is broken here:

    call "c:\program files\eset\nod32.exe" /local /adware /ah /all /antistealth+ /arch+ /clean /cleanmode /delete /heur+ /log+ /mailbox+ /ntfs+ /pack+ /quarantine /scanboot+ /scanmbr+ /scanmem+ /scroll+ /sfx+ /unsafe /unwanted /wrap+ /quit+
     
  2. lodore

    lodore Registered Member

    Joined:
    Jun 22, 2006
    Posts:
    9,065
    Eset nod32 5 uses ecls.exe for commandline scan.

    see here

    I have checked the version 5 in program help and the commandline scan are the same as that article for version 4. I hope that helps.
     
  3. dragoneer

    dragoneer Registered Member

    Joined:
    Feb 24, 2008
    Posts:
    21
    I'm upgrading from version 2.7 as said in my original message and I know nothing about version 4. I'm hoping that one of the experts in this forum can either share a BAT with me or write it. Long ago when I first started using ESET, their support people supplied me with the current version. I did not write the one I am using today.
     
  4. lodore

    lodore Registered Member

    Joined:
    Jun 22, 2006
    Posts:
    9,065
    Is there any particular reason you wish to use a batch file and commandline scan rather than scheduling a scan inside the program itself?

    you can see all scan results in the program using any user account and choose if it cleans or not.

    I would also point out that a nightly scan seems overkill. After every update and at startup a scan will be run to check for active malware and will attempt to remove any malware found.
     
    Last edited: May 7, 2012
  5. dragoneer

    dragoneer Registered Member

    Joined:
    Feb 24, 2008
    Posts:
    21
    I want to run scans at night when I'm not there and the computers are idle. When my computers are not being used they go to sleep (S3 suspend) thereby saving several hundred dollars a year per computer. Unfortunately, the ESET scheduler will not wake a computer up to run the scan at the scheduled time so it is rather useless; it waits until I wake it up and am there. The Windows' scheduler will wake the computer up at the scheduled time. (For what it's worth, I use Photo Shop a fair amount of time and the last thing I want is virus scan competition.)

    Once again, I need to know how to capture the results of the scans I'm scheduling so I can find out what, if anything, went wrong. The BAT used in version 2.7 stored the scan trace in a place where ESET handled it and displayed it in it's "scan results" window. Do you know how to capture the scan output with the current ESET version? If so, can you please help me?

    I would not have updated past Version 2.7 expect that ESET has decided to cut of virus signature updates to that version. However, I do need some help.
     
  6. agoretsky

    agoretsky Eset Staff Account

    Joined:
    Apr 4, 2006
    Posts:
    4,033
    Location:
    California
    Hello,

    Quite a few things have changed since NOD32 v2.7 came out, and some of the options in the command line scanner have changed over time. Here is a line for a batch file that you can use with ESET NOD32 Antivirus 5 which should provide equivalent functionality:

    CALL "C:\Program Files\ESET\ESET NOD32 Antivirus\ecls.exe /basedir=C:\Program Files\ESET\ESET NOD32 Antivirus\ /subdir ads /log-file={pathspec for log file} /auto /files /memory /boots /arch /mail /mailbox /sfx /rtp /adware /unsafe /unwanted /pattern /heur /adv-heur /clean-mode=DELETE /qurantine"

    Where it says "{pathspec for log file}" in the line above, please replace that with the location and name of the new log file, for example:

    CALL "C:\Program Files\ESET\ESET NOD32 Antivirus\ecls.exe /basedir=C:\Program Files\ESET\ESET NOD32 Antivirus\ /subdir ads /log-file=C:\TEMP\NIGHTLY.LOG /auto /files /memory /boots /arch /mail /mailbox /sfx /rtp /adware /unsafe /unwanted /pattern /heur /adv-heur /clean-mode=DELETE /qurantine"

    would create a file named "NIGHTLY.LOG" in the directory "C:\TEMP" on the hard disk drive.

    Please give that a try and let us know the results.

    Regards,

    Aryeh Goretsky
     
  7. dragoneer

    dragoneer Registered Member

    Joined:
    Feb 24, 2008
    Posts:
    21
    agoretsky,

    Thank you for your useful reply. Last night I tried a BAT that resembled very closely the one you posted. I left off all those options that were marked as default in the documentation. In other respects, the BAT files were virtually identical. (I included "/max-arch-level=25" since the documentation made no mention of the default depth of probe and I omitted the \basedir=" since the installation site was standard.) Your exemplar encourages me to think I got this nearly right.

    Indeed, the output of the scan was in the indicated file and was given extension "txt" by ERSET so there were no shading/color clues in the file. My remaining problems is how do I get the listing to appear under tools>log files>computer scan? Any thoughts on this (or why ESET doesn't provide such a log option). I rather detest having to manually maintain a log facility when ESET's seems so nice.
     
  8. agoretsky

    agoretsky Eset Staff Account

    Joined:
    Apr 4, 2006
    Posts:
    4,033
    Location:
    California
    Hello,

    The ESET Command Line Scanner operates as a standalone program, so it does not have any integration points with the ESET User Interface, which is by design. That is why the two separate programs have separate logging options instead of a common shared log file.

    It seems to me that what you really need is the ability to have the PC wake from S3 sleep in order to run a scheduled scan. I have logged this feature request in with ESET's project management folks for consideration in a future release of the software.

    Regards,

    Aryeh Goretsky
     
  9. dragoneer

    dragoneer Registered Member

    Joined:
    Feb 24, 2008
    Posts:
    21
    agoretsky,

    I too have made that request several times. Since version 3 but not lately. I have talked to ESET, when they offered free phone support, and by email. They have ignored the request. I hope you have more influence than I have had.

    It's rather amazing when you consider the hardware advances in power management and savings, e.g., I don't think you can buy a motherboard today that offers S1 suspend and that use to be almost all you could get. To have utility software such as ESET that fights power management tooth and nail is frustrating.
     
  10. agoretsky

    agoretsky Eset Staff Account

    Joined:
    Apr 4, 2006
    Posts:
    4,033
    Location:
    California
    Hello,

    ESET North America does offer free phone support, as far as I know. That may vary in other regions of the world, though. The feature request has been proposed to project management.

    Regards,

    Aryeh Goretsky
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.