Author Topic: Scheduling Avast Free Edition to automatically scan  (Read 9377 times)

0 Members and 1 Guest are viewing this topic.

markshuman

  • Guest
Scheduling Avast Free Edition to automatically scan
« 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.

Offline !Donovan

  • Web Analyst
  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 2219
    • The WAR Against Malware
Re: Scheduling Avast Free Edition to automatically scan
« Reply #1 on: May 05, 2009, 01:28:46 AM »
Isn't Avast! Home/Pro/Anything suppost to scan your computer 24/7 while its on?
Familiarize Yourself! | Educate Yourself! | Beautify Yourself! | Scan Yourself!
"People who say it cannot be done should not interrupt those who are doing it."

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89021
  • No support PMs thanks
Re: Scheduling Avast Free Edition to automatically scan
« Reply #2 on: May 05, 2009, 02:39:18 AM »
You are reinventing the wheel, see HOWTO: Scheduled Automatic Scans avast! Home Version!

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.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

goranilic

  • Guest
Re: Scheduling Avast Free Edition to automatically scan
« Reply #3 on: June 30, 2009, 04:05:31 AM »
Is it possible to do this on Vista?

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Scheduling Avast Free Edition to automatically scan
« Reply #4 on: June 30, 2009, 02:44:21 PM »
Is it possible to do this on Vista?
Yes. It's similar to XP.
The best things in life are free.

Sammo

  • Guest
Re: Scheduling Avast Free Edition to automatically scan
« Reply #5 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.