Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: markshuman on May 05, 2009, 01:22:57 AM

Title: Scheduling Avast Free Edition to automatically scan
Post by: markshuman on May 05, 2009, 01:22:57 AM
I figured out how to schedule a scan using the avast! shell extension program, ashQuick.exe (the program that kicks in the scanner when you right-click on a file and choose "Scan" from the popup menu), and the Windows Task Scheduler. I thought I'd share this trick with others. Here's how to do it:
(NOTE: These instructions are for Windows XP and assume Windows is set up to use "single click" to open items. I would assume the steps would be similar for other versions of Windows.)

    * Go to Start > Programs > Accessories > System Tools > Scheduled Tasks
    * Click (or double-click) on Add Scheduled Task
    * In the wizard that appears click Next - a list of programs will appear
    * Click Browse and navigate to C:\Program Files\Alwil Software\Avast4 (or whatever folder in which you installed avast!)
    * Click (or double-click) on the file ashQuick.exe
    * On the next screen give the task a name of your choice and choose how often you want it to run and click on Next
    * On the next screen choose the appropriate scheduling options ( preferably at a time when you're not using your computer, as scanning uses up a lot of cpu power ) and click on Next
    * On the next screen enter the user name and password for the Windows user you want the task to run as, then click on Next.
    * On the next screen check the box for the option "Open advanced properties for this task when I click Finish", and then click Finish. If you don't enter a password a warning may pop up telling you that the schedule may not run. Click the OK button and check the " run only if logged on" box at the bottom left of the next screen.
    * On the same screen, in the "Run" box, the path should be "C:\Program Files\Alwil Software\Avast4\ashQuick.exe" C:  or whatever drives you want to scan . Multiple drives must be separated by a space, such as "C:\Program Files\Alwil Software\Avast4\ashQuick.exe" C: D: E: F:
    * Click OK
    * In the Scheduled Tasks window, from the menu, click on Advanced and choose "Start Using Task Scheduler"
    * To test your newly created task, from the Scheduled Tasks window, right-click on the task's icon and choose "Run" from the popup menu. If the scan doesn't begin correctly you'll get an error message. The problem is most likely in the scan path (missing quotes or something like that.)
    * Close the Scheduled Tasks window


Keep in mind that this is just a "quick scan" and I'm not sure with what sort of depth that ashQuick.exe scans, but it beats nothing at all.

I don't know if there is any way to pass other parameters to the ashQuick.exe program for various options like scanning depth, what to do if a virus is encountered, etc. If anyone has any info on how to pass other parameters please feel free to add the information to this thread.
Title: Re: Scheduling Avast Free Edition to automatically scan
Post by: !Donovan on May 05, 2009, 01:28:46 AM
Isn't Avast! Home/Pro/Anything suppost to scan your computer 24/7 while its on?
Title: Re: Scheduling Avast Free Edition to automatically scan
Post by: DavidR on May 05, 2009, 02:39:18 AM
You are reinventing the wheel, see  HOWTO: Scheduled Automatic Scans avast! Home Version! (http://forum.avast.com/index.php?board=2;action=display;threadid=3796.0)

It isn't a quick scan, far from it, it is the most thorough of the scanners scanning everything including archives, media files, etc. as the above link mentions.
Title: Re: Scheduling Avast Free Edition to automatically scan
Post by: goranilic on June 30, 2009, 04:05:31 AM
Is it possible to do this on Vista?
Title: Re: Scheduling Avast Free Edition to automatically scan
Post by: Lisandro on June 30, 2009, 02:44:21 PM
Is it possible to do this on Vista?
Yes. It's similar to XP.
Title: Re: Scheduling Avast Free Edition to automatically scan
Post by: Sammo on June 30, 2009, 09:51:40 PM
I have Atomic Alarm Clock and use it to schedule avast! scans as well as my other alarms, etc.