Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: jedisb on April 09, 2004, 05:44:47 AM

Title: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: jedisb on April 09, 2004, 05:44:47 AM
Hi all. This is my first post here.

I've just switched from AVG Free to avast! Home Edition and one of the things I missed from AVG was the ability to schedule a full scan. After searching through the forums here I found out that this feature is only available in the Pro version of avast!. However, I did come across several people asking about this feature in these forums as well as a few hints on how to go about it. I decided to give it a whirl. 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.)
"C:\Program Files\Alwil Software\Avast4\ashQuick.exe" C: E: - this will scan the entire contents of the C: and E: drives
"C:\Program Files\Alwil Software\Avast4\ashQuick.exe" "C:Program Files" E:Downloads - this will scan the contents of the Program Files folder on the C: drive and the Downloads folder on the E: drive, including all subfolders (Note the first path is in quotes due to the space in the folder name "Program Files")

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.

Lastly, I wouldn't suggest using the screen saver scanner in conjunction with this scheduled scan, as they may end up running at the same time and cause conflicts.


Enjoy!
 ;D
Title: Re:HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: shgoh on April 09, 2004, 06:17:18 AM
good effort... ;)
Title: Re:HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: jedisb on April 09, 2004, 03:16:58 PM
Thanks. I hope everyone can benefit from it. It's working quite well for me. I have it set to scan both my hard drives in full nightly at 3AM.
Title: Re:HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: shgoh on April 09, 2004, 03:21:22 PM
I have it set to scan both my hard drives in full nightly at 3AM.

you mean you scan your hard disks every night??!!??... :o
Title: Re:HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on April 09, 2004, 04:51:36 PM
Thanks jedisb...
The scheduling feature is on avast! Pro version.

With ashQuick.exe and Windows Task you cannot use more parameters then the ones you specified (I guess).

Even the ashcmd.exe (command-line) is only for Pro version.
Title: Re:HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: neal62 on April 09, 2004, 10:04:38 PM
jedisb,

Thanks very much for this information. I tried it as I also am using
Avast version 4.1, Home addition. I am however using Wins ME and your procedure worked just fine almost word for word. Thank You again for your effort on this subject.

HPPAV  633MHZ, System Type x86-Based
Mem 512 MB
Wins 4.90.3000 Build 3000
Agnitum Outpost F.W. ver 1.0 1817.1645
SypwareGuard Version 2.2.0
Browser Firefox 0.8
E-mail Thunderbird 0.5
SpywareBlaster Version 3.1
Avast Home version 4.1
DustBuster version 2.6.2
Ad-aware version 6.0
Anti-Trojan program= a2

 ;D
Title: Re:HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: jedisb on April 11, 2004, 03:13:08 AM
jedisb,

Thank You again for your effort on this subject.

Glad I could help.  :D

Quote
you mean you scan your hard disks every night??!!??

I've changed it to weekly, but AVG Free ran a full scan every night. You couldn't change the frequency in AVG Free.

Maybe, if the mods think this is helpful enough, they'll make the thread sticky.
Title: Re:HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on April 11, 2004, 05:32:49 AM
You couldn't change the frequency in AVG Free.

Glad you found avast!
The most configurable antivirus  8)
Title: Re:HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: shgoh on April 11, 2004, 06:08:12 AM
Quote
I've changed it to weekly, but AVG Free ran a full scan every night.

i guess scanning nightly is a little too much... :)
Title: Re:HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: jedisb on April 12, 2004, 03:46:25 PM
i guess scanning nightly is a little too much... :)

But that was the only option AVG gave you. At least it gave you the option, which Avast Home does not. That's the whole reason I started this thread.
Title: Re:HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Jessy31 on October 31, 2004, 11:20:28 AM
And if it doesn't start at all, what can be wrong?
Title: Re:HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: John- on December 03, 2004, 07:20:53 PM
The virusscan performed in the screensaver mode works fine for me! :)
I only scan my hard drive (200 GB) every 2 weeks or so,....
Title: Re:HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: sometime on December 03, 2004, 07:51:46 PM
I`ve got as far as c/prg.flies\alwil\avast4 but where is ashquck.exe I can only find ashquickmod
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: mantra on January 10, 2005, 06:28:45 PM
i would like to schedule my task!
i have the pro version
and i  made some task
i and would like to run my taskes why scheduler....
possible?
how?
for example i did a task named Controlloveloce
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Eddy on January 10, 2005, 06:39:58 PM
With the Pro vresion you can use the schedule options in the advanched user interface.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on January 10, 2005, 08:35:53 PM
i would like to schedule my task! i have the pro version
i and would like to run my taskes why scheduler....

Right click the task
Choose Run
Easy isn't it?  8)
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: mantra on January 11, 2005, 07:57:17 AM
hi
men do u read my post?????

i make some taskes with avast
one is "Controllo ram " = controll ram & startup program
other task is called "controllo veloce" = fast controll

can i with windows2k scheduler let start one of that tasks(controllo veloce or controllo ran) every start up of windows?

how ?
can u give me the command line  ?!?!?!?!?
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: igor on January 11, 2005, 10:51:00 AM
Could you use this info (http://forum.avast.com/index.php?topic=7436.msg59145#msg59145) to start the predefined tasks, instead of your ones?
I'm afraid you cannot start your own tasks using ashQuick... only using ashCmd.exe.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on January 11, 2005, 11:56:01 AM
men do u read my post?????

Yes, but you write so few that I did not understand...
I'm thinking I'm not the only one who did not understand...  ::)
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Vicki on January 11, 2005, 02:11:00 PM
 
Help, I have no windows password, so can't schedule automatic scans.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Eddy on January 11, 2005, 02:23:09 PM
Set a password on your Windows account in control panel > use accounts.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on January 11, 2005, 06:16:05 PM
Help, I have no windows password, so can't schedule automatic scans.

Maybe you do not use a password to not have to fill it each boot.
I know it's a security lack, but if you want, there is some auto-login programs that can make your XP automatically logon.
You will have a password (and will be able to schedule scans) and will automatically boot.
For instance: Tweak UI 1.33 (http://www.pcworld.com/downloads/file_download.asp?fid=2803&fileidx=2)
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: dld on January 11, 2005, 06:24:58 PM
Doesn't work for me.  I keep getting this error message:
http://img121.exs.cx/img121/3429/ScreenHunter_3.jpg
I've accepted Desktop\Owner and entered and reentered a password, but always the same result.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on January 11, 2005, 06:30:52 PM
Doesn't work for me. 

Can you see if this help?

http://support.microsoft.com/default.aspx?scid=kb;en-us;246183
http://support.microsoft.com/kb/q250039/
http://www.wizardscc.com/task_scheduler_0x8007007a.asp
http://www.mistered.us/wwwboard/messages/8782.shtml
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: dld on January 11, 2005, 08:01:51 PM
Technical...  It doesn't help.  Looking at the error message:
http://img121.exs.cx/img121/3429/ScreenHunter_3.jpg
You are asked to use the Task page Browse button to locate the application.  Problem is, I did use the Browse button to locate the application.  As far as the Password is concerned, I do enter and reenter it.  The problem here is that I have never used a password to log-on to WinXP, and I don't care about ever having to use one.  So I think I'd best just forget about scheduling my scans.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on January 12, 2005, 03:46:47 AM
So I think I'd best just forget about scheduling my scans.

Why?
You can search the web for a lot of schedulers, freeware, that can replace Windows Tasks.

For instance:
http://www.americansys.com/ezscheduler.htm  ;)
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: mantra on January 12, 2005, 09:46:10 AM
hi TEC
is there a scheduler able to run program while you are connect to the net?
able to detect the net connection , and able after to run some exe???
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: dld on January 13, 2005, 02:46:15 AM
So I think I'd best just forget about scheduling my scans.

Why?
You can search the web for a lot of schedulers, freeware, that can replace Windows Tasks.

For instance:
http://www.americansys.com/ezscheduler.htm  ;)



Thanks for the link Technical.  It works super, and with a lot less hassle than the Windows Scheduler.  Use the browse button to locate the program you want to run, and use the Parameters window to put in the drive you want scanned, for me C:, and that's all there is to it.  There will be an icon placed in the system tray, near the clock.  This icon cannot be removed if you want the program to run at the scheduled time.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on January 14, 2005, 04:06:30 AM
hi TEC
is there a scheduler able to run program while you are connect to the net?
able to detect the net connection , and able after to run some exe???

Sure... The best! NETRUN
It works perfectly (although no more updates). I can't imagine my life without NetRun...

NetRun will 'RUN' a 'List' of programs only when a internet connection is detected, and close/kill the same 'List' when the connection is lost. When I upgraded my machine to XP, the program that I was using stop working so I was forced to write this program.


Download the beta version (it's stable and pretty good, no fear)
http://www.home.earthlink.net/~czarsoft/NetRunDownload.html



Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Your Fuzzy God on January 15, 2005, 07:52:16 AM
Wow, that looks alot like my post from a while back

http://forum.avast.com/index.php?topic=7129.0

Thanks for the credit...
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on January 15, 2005, 01:48:13 PM
Thanks for the credit...

In fact, this time, I compose all that answer going to its website...
We get closer each other, almost the same  8)
Btw, do you like NetRun?
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: mantra on January 16, 2005, 05:57:57 PM
thanks TEC
but somethink better then http://www.americansys.com/ezscheduler.htm  ?
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on January 17, 2005, 01:25:35 PM
thanks TEC
but somethink better then http://www.americansys.com/ezscheduler.htm  ?

Sorry... I just use Windows Task Scheduler, nothing more...
Good freeware sites and/or Google will help you.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: mantra on January 18, 2005, 08:38:59 AM
tec

if i plain to run some task , i should setup the hours
for example at 11am every weeks, mabye a full scan!!!
if i turn on the pc at 11:01 the task will not run!!
i 'm looking for a scheduler that let me to run this task even i turn on the pc at 17:00 , right?
can u help me mate?
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Eddy on January 18, 2005, 08:50:56 AM
Quote
i 'm looking for a scheduler that let me to run this task even i turn on the pc at 17:00 , right?
Simply said: Can't be done/won't work.

Easiest way to get what you want:
Write a batch file that handles it.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: mantra on January 18, 2005, 12:51:27 PM
Quote
Easiest way to get what you want:
Write a batch file that handles it.

how?
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Eddy on January 18, 2005, 12:57:10 PM
With pen and paper. Oh no wait, we are living in the computer era ;D


Batch file help/tutorials:
http://www.computerhope.com/batch.htm
http://www.ericphelps.com/batch/
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on January 18, 2005, 07:03:05 PM
How?

If you have a little patience, I'd like to suggest you AutoIt: the best macro maker for Windows.
You can run scripts or you can compile them into an exe file.
It's very powerful... Not that hard (can handle keyboard and mouse movements, etc.).
http://www.autoitscript.com/autoit3/
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: mantra on January 19, 2005, 08:46:09 AM
 i found it but it 's not free
for the features that i need i should pay
http://www.splinterware.com/products/wincron.htm
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: DavidR on January 19, 2005, 01:28:40 PM
Surely it would be best to plan the time that the scheduled task is to happen when your computer will definately be on ???

Can you not schedule it to happen late at night (there might be an option to have the PC shutdown on completion).
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: mantra on January 20, 2005, 01:28:56 PM
FOUND IT!!!!!!!!
AWESOME SCHEDULER!!!
http://www.nncron.ru/
give it a try!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on January 22, 2005, 01:23:09 AM
FOUND IT!!!!!!!!
AWESOME SCHEDULER!!!
http://www.nncron.ru/
give it a try!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Thanks mantra...
Do you mean the 'Lite' version?
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: rdsu on January 22, 2005, 02:10:08 AM
Great find mantra! ;D
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: mantra on January 22, 2005, 07:42:26 AM
tec try the shareware version!
it works for 1 month!
after it will not give you problem,only a info that the time is exipered but u can use it for more more time!
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: sultan_emerr on February 13, 2005, 11:27:29 AM
http://www.networkautomation.com/automate/index.htm = "AutoMate breaks down common IT actions into "visual" steps. Tasks are built via drag-and-drop without writing a single line of code. The resulting task can emulate an actual user performing the sequence of steps."
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: mantra on March 28, 2005, 04:53:11 PM
yes NNCRON IS REALLY THE BEST!

bye the way is there something like netrun ?
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: MarieJoe on March 30, 2005, 04:32:20 PM
For whatever reason, I did not see a Security tab on the Properties screen of the Scheduled Task.

The scan failed to run because I had not password set.
Finally figured out that I needed to go into my Profile Accounts and set a password for the user account (admin).  When I did that and entered the password on the Schedulted Task Properties, the scan ran succesfully.
Maybe someone else has run into this situation.

At any rate,I certainly appreciate the scheduled task instructions 8)
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on March 30, 2005, 05:11:54 PM
For whatever reason, I did not see a Security tab on the Properties screen of the Scheduled Task.

Do you see them into any folder properties? I mean, using Windows Explorer?
If not, you should enable the 'enhanced' sharing properties of folders.
By default, XP use simple sharing.
Go Windows Explorer > Tools > Folder Option > 2nd tab at the end... there is an option for sharing folders and files...
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: DavidR on March 30, 2005, 05:33:44 PM
For whatever reason, I did not see a Security tab on the Properties screen of the Scheduled Task.

Do you see them into any folder properties? I mean, using Windows Explorer?
If not, you should enable the 'enhanced' sharing properties of folders.
By default, XP use simple sharing.
Go Windows Explorer > Tools > Folder Option > 2nd tab at the end... there is an option for sharing folders and files...

We had something similar before where the Security Tab wasn't present, we found that in XP your HDD has to be formatted with NTFS in order to have it, unlike mine FAT32 (where the security tab doesn't show).

So if Technical's suggestion doesn't resolve it, check the format of your HDD.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: MarieJoe on March 30, 2005, 09:24:54 PM
Go Windows Explorer > Tools > Folder Option > 2nd tab at the end... there is an option for sharing folders and files..
I don't see an option that even implies sharing.
There is one for showing files they don't want you to see and recommend you don't unclick that option.

@ DavidR
No, I have NTFS
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on March 30, 2005, 10:14:44 PM
I don't see an option that even implies sharing.

It's the second, from bottom to top... Sorry, my sytem is not in English and then I can't translate to option for you.
Could be: "Use simple file sharing method (recommended)"  ::)
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: MarieJoe on March 31, 2005, 04:48:40 AM
I don't see an option that even implies sharing.

It's the second, from bottom to top...
Are you using Win XP?
I looked and looked in my Windows XP, the missing manual under scheduled tasks and file sharing, etc.  What I find looks like the way to schedule a task involves the password scenario. No mention of security setting in the file options that I could find.  ???
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: jedisb on April 09, 2005, 05:39:57 PM
Wow, that looks alot like my post from a while back

http://forum.avast.com/index.php?topic=7129.0

Thanks for the credit...

If you are referring to the original post of this thread I would suggest you look at the posting dates. I posted these instructions back in April of 2004. You're post, which you linked to, is from September 2004, a full five months later. If anything, you should be giving me credit.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: learned on April 16, 2005, 10:21:53 PM
Hmmm, I just tried setting this up, and when I tried testing it, I got the Avast initializing window, and then it ends immediatly. If I run it from a CMD prompt, it executes fine. Is there a log somewhere that I can use to determine why it is ending quickly out of the scheduler?
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: nadia19 on June 06, 2005, 06:10:12 PM
 ;D  I just want to say thanks to jedisb who posted the original thread.  It works!!  I just had to make sure I set up a windows password.  :-*
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Yannis on May 12, 2006, 08:32:08 PM
Hi!
I found this topic Very interesting, BUT I cannot schedule a task
After entering the password in Windows schedule  Manager I press the "Apply " button.
Then I receive the following message:
Error
0x80070005.Access denied
You have not the right to execute the requested task

What does it mean? ???
Any  help please!! :)
Many thanks
Yannis
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on May 12, 2006, 09:21:40 PM
0x80070005.Access denied
Are you using the Administrator account (or an account with Admin rights) to schedule this task?
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Yannis on May 12, 2006, 10:06:51 PM
0x80070005.Access denied
Are you using the Administrator account (or an account with Admin rights) to schedule this task?

Hi
Yes I have admin rights.
My system is Win XP home SP2, if it helps.
Thanks
 :)
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on May 12, 2006, 11:12:54 PM
Yes I have admin rights.
Although this could not be enough, it helps.
For instance, by default, you don't have access to C:\System Volume Information folder, for instance.
The on-demmand schedule is, for sure, a Professional version feature and won't be able to 'replace' it at the same level of effectiveness and effort with the Home one.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: buttoni on May 14, 2006, 03:34:51 PM
Worked for me, too.  Piece o' cake.  Thanks for the easy to follow instructions, Jedisb.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on May 27, 2006, 01:44:31 PM
Worked for me, too.  Piece o' cake.  Thanks for the easy to follow instructions.
You're welcome. Feel free to come back, ask for help and share your experiences  :D
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: varja on August 27, 2006, 05:35:18 AM
Friend   
Thank you very much for the clue. I did I will see tomorrow it worked out. once again thank you very much even.   
Varjao
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: grendizer on November 01, 2006, 02:40:04 PM
hi
I am using these instruction to schedule a quick scan using the windows xp task scheduler.
But once the scan is finished, what is the easiest way to check the scan results?
Thanks
-g
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: DavidR on November 01, 2006, 04:20:40 PM
The short answer is you can't.

The ashquick.exe scan isn't designed to do what is being done here, so it doesn't display results by default when used as a right click context menu scan. This can be adjusted by checking the Program Settings, Common, 'Show results of Explorer Extension.' This I believe will make no difference to the purpose you are putting ashQuick.exe to.

If the results are important to you then you would have to use the Pro version which can schedule a regular scan that gives options on what to do if an infected file is found and retains scan results so you can check them later. The free version is limited this and a few other areas, hence this work around (the programmers have to eat ;D)
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on November 01, 2006, 04:23:38 PM
But once the scan is finished, what is the easiest way to check the scan results?
Only using the Home (free) interface and waiting for the end of the scanning.
The reports of scanning are here: C:\Program Files\Alwil Software\Avast4\DATA\report
On the Professional version you can do everything you want  8)
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: padre44 on February 01, 2007, 05:07:53 PM
This works great - thanks for the tip!
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Frustrated Tweaker on June 02, 2007, 01:53:45 AM
This issue was originally posted by learned on April 16, 2005, 08:21:53 PM. I'm running into the same problem and don't see any responses on the board.

I set this up, and when I tried testing it, I got the Avast initializing window, for a split second, and then it ends immediately. As I watch in the scheduler it shows it is running and then ends within seconds. I do not see it running under applications and there is never a result in the data file.

I get the impression that those that are running this successfully are seeing the program load and run. I set it up verbatim, have scheduled other programs in this manner before and all other programs in my scheduler run just fine.

Thanks for your time and thoughts!
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: DavidR on June 02, 2007, 02:38:12 AM
I would guess you haven't set up any drives to scan for it to be over so quickly.

From page one first post.
Quote
"C:\Program Files\Alwil Software\Avast4\ashQuick.exe" C: E: - this will scan the entire contents of the C: and E: drives
"C:\Program Files\Alwil Software\Avast4\ashQuick.exe" "C:Program Files" E:Downloads - this will scan the contents of the Program Files folder on the C: drive and the Downloads folder on the E: drive, including all subfolders (Note the first path is in quotes due to the space in the folder name "Program Files")

Or you missed out the quotes around the path to ashQuick.exe or the path is wrong.

Enter the exact text (command) you used with the drive to be scanned (parameters) ?
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Frustrated Tweaker on June 02, 2007, 03:23:04 AM
I entered

"C:\Program Files\Alwil Software\Avast4\ashQuick.exe" C

I should have entered

"C:\Program Files\Alwil Software\Avast4\ashQuick.exe" C:

I missed the colon after C     ARRRRRGH!

Works as it should now - Thanks for your time and help - I appreciate it!
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: DavidR on June 02, 2007, 02:28:27 PM
No problem, welcome to the forums.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Revelman on July 01, 2007, 08:00:25 PM
If you receive this message:

Error
0x80070005.Access denied
You have not the right to execute the requested task

Try this,
On the TASK panel in the "Run as:" box enter

NT AUTHORITY\SYSTEM

This should let you execute the scan.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Caryl on July 02, 2007, 07:32:59 AM
These directions from three years ago are wonderfully clear--thank you. But I have one problem: When I tried to test it, it would not work because "no user accout password was entered." What password am I supposed to enter? I do not use a password when I turn on my computer.

I use Windows XP Home Edition.

Thanks for helping me with this.

 
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: DavidR on July 02, 2007, 02:29:42 PM
There is no requirement to enter a user name and password, certainly not of avast as you will notice in the topic. That is likely to be a restriction of your operating system when you are trying to create this schedule and run it are you doing it from a user account that has administrator privileges or a limited user account ?

Other than that I can't imagine why you would be required to enter a user name and password.

This may be better taken out to its own New Topic in the General forum, to try and keep the length of this topic down and make it easier for those reading it in the future.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Joel33 on August 18, 2007, 02:41:12 AM
I think Caryl's question is perfect for this thread.  I had the exact same question and it deals with automatically scheduling a scan which is the topic here.

And I thank you David as I was wondering how to handle this as I have no pw but want to follow the instructions in the first post.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: DavidR on August 18, 2007, 03:31:46 AM
The reason I said to take it to another 'new' topic, is there is absolutely nowhere in this Instructional Topic that mentions having to input a user name and password. Unfortunately Caryl didn't do that so it wasn't pursued further.

So you shouldn't have a problem in not having a password, I assume you were able to schedule it without a requirement for a user name and password.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Joel33 on August 18, 2007, 06:11:29 PM
Actually no.  I followed the directions precisely and when I tested with "run" it didn't.  I'm the administrator so I'm not sure what's going on.  Yes, I rechecked all the steps 3 times. 

Thanks,  Joel

Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Caryl on September 03, 2007, 07:57:20 PM
The reason I said to take it to another 'new' topic, is there is absolutely nowhere in this Instructional Topic that mentions having to input a user name and password. Unfortunately Caryl didn't do that so it wasn't pursued further.

I have just returned from three weeks in China and see that there is some followup to my remarks regarding passwords and automatic scans. The reason I did not start a new topic, as suggested, is because I was new to Avast at that time and decided that I would just scan manually. I am continuing to do that and have no problems.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Caryl on September 03, 2007, 08:02:49 PM
Actually no.  I followed the directions precisely and when I tested with "run" it didn't.  I'm the administrator so I'm not sure what's going on.  Yes, I rechecked all the steps 3 times. 

Were you able to solve this problem of not having a password for automatic scans? Is this topic continued somewhere else?
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: N@URINE on September 03, 2007, 09:01:14 PM
many many thanks for this information
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: uptoolate on October 09, 2007, 04:45:58 AM
For those looking to get around the password problem in task manager, doing this has worked for me. Warning: Back up registry before messing with it.

Go to Start/Run/Regedit and navigate to this key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

Value name: limitblankpassworduse, Type: REG_DWORD, Data: 0 (disabled) 1 (enabled)

Edit the value to (0)
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: Lisandro on October 09, 2007, 09:36:20 PM
For those looking to get around the password problem in task manager, doing this has worked for me. Warning: Back up registry before messing with it.

Go to Start/Run/Regedit and navigate to this key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

Value name: limitblankpassworduse, Type: REG_DWORD, Data: 0 (disabled) 1 (enabled)

Edit the value to (0)
Thanks for posting. Very useful. Welcome to avast forums.
Title: Has anyone tried the other switches?
Post by: ttoomm on October 26, 2007, 07:33:05 PM
It does NOT work
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: igor on October 26, 2007, 07:37:23 PM
This thread is about the free (Home) version.
ashCmd.exe is present only in the Professional version. If you have Professional version, you can easily modify the task in the Enhanced User Interface so that it doesn't show any warnings.
Title: Has anyone tried the other switches?
Post by: ttoomm on October 27, 2007, 02:43:03 AM
 :(
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: DavidR on October 27, 2007, 02:57:24 AM
It really would have been better to ask this question outside of this topic about a work around for the Home version to avoid confusing those reading it later.
Title: Has anyone tried the other switches?
Post by: ttoomm on October 27, 2007, 07:09:42 AM
I don't want to confuse anybody
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: ginamarina on February 12, 2008, 07:34:13 AM
I found the answer to this thread and reposted it here:

http://forum.avast.com/index.php?topic=33269.0 (http://forum.avast.com/index.php?topic=33269.0)
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: JustMyOpinion on August 04, 2008, 06:02:30 AM
I am a brand new user, and this is the first thing I looked for once I got the free home version up and running.  Terrific work to identify this tidbit of what most of us look for after migrating from some other software.  I did a bit of testing using your technique, and I think I have proven that depending on the type of scan you currently have defined via the Simple User Interface > Scan Level option, is the one that runs when you use the scheduler to fire up Ashquick.  Now recognize my 'proof' is anecdotal in that I timed how long it took to run the scan on a relatively small dataset, and changing the Scan Level manually between each run.  If someone else has a better way to prove it, like have examples of the kind of mal or virus each type of scan would find and could populate a test dataset accordingly and run the scan multiple times to prove they functioned as advertised, would be appreciated.

Again, thanks for your work.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: DavidR on August 04, 2008, 02:55:43 PM
I don't know what is is you are trying to prove, but it would probably be best in a new topic as this topic is HOWTO: Scheduled Automatic Scans w/ Free Version! not the differences between apples and oranges. The two scan methods (this hack and SUI scans) are entirely different and really can't be compared, this 'instructional' topic is a work around to allow Home users that wish to schedule scans (which can't be done in the SUI) a means of doing so.

As you can see this topic already stretches to 6 pages.

Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: aerialrave on May 31, 2009, 10:40:47 AM
What password will i put when It Already asks for the password?

Edit--

NVM, It's not for free editions. Sorry.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: DavidR on May 31, 2009, 03:18:24 PM
The whole point of this topic is 'for the free edition' to have a work around to the Pro versions scheduled scan function.

I'm sure any password requirement is mentioned at some point in this already long topic. But any password requirement would be your log-on user name password or administrator password if trying to run this work around from a limited user account, but I don't have any practical experience as I have never felt the need to use this work around.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: RegB on December 27, 2009, 03:00:29 PM
An old thread, I know.
I picked up the tutorial last night on bleeping, set it up and it works.
It didn't seem to make much sense to schedule a scan every night, on the other hand it doesn't make much sense to stay exposed to new virii for several hours after an update.

I don't know if this could be done with the Windows scheduler at the time that this thread was started, but in Vista 64 bit it is not only possible - but for me it worked the first time (-:

Basically do everything listed in the original post, as always there are SLIGHT name changes in a FEW places with this later version of Windows.
In the left panel click on the Task Scheduler Library tab.
Find your scheduled task in the middle panel and right click on it, select properties.
In the properties window that pops up click on the Triggers tab.
Your existing scheduled scan should show in the big panel.
Click on New at the bottom left corner, a New Trigger window should pop up.
In the top drop down list choose "On an event".
In the Settings panel choose Custom, then click Edit Event Filter.
Be sure you are on the Filter tab.
In the Logged drop down list select Anytime.
From Event Level select Information.
Select By Source and in the Event Sources drop down select BOTH Application Popup and avast!
Leave everything else alone on this window, click OK to close.
This should take you back to the Edit trigger window, be sure Enabled is checked in the bottom left corner, then click OK to close.
That should take you back to the Properties window and you should see your new "On an event" trigger in the main panel.

Basically what this does is to set up a scan to run as soon as Avast sends an informational message and the only ones I ever get are "Virus database has been updated".

MY goal is to run a scan as soon as possible after Avast issues an update.

OK, but that is just the triggering of WHEN to run the scan.
You still need to fill in the Actions tab the same way you did for your scheduled scan.
Reminder;
Click on the Actions tab, click on New in the bottom left corner, fill in the window that pops up in the same way that you did for the scheduled run.
e.g. browse to "C:\Program Files\Alwil Software\Avast4\ashQuick.exe" (or wherever) and fill in C: D: in the arguments box.

TESTING;
Keep your sound volume at a level where you will hear it, e.g. be sure it isn't muted.
When you hear the DAILY "Virus database has been updated" message look for a new avast scan window.
You will know it is new if only a few files have been scanned.

At some point you might as well delete the (daily, weekly, monthly, etc) scheduled task.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: RegB on December 27, 2009, 03:09:56 PM
hi
I am using these instruction to schedule a quick scan using the windows xp task scheduler.
But once the scan is finished, what is the easiest way to check the scan results?
Thanks
-g

At a guess;
Schedule another task - - to run on completion of the scan.
Windows Task Scheduler is reasonably powerful in this respect.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: DavidR on December 27, 2009, 04:53:52 PM
Not only is it an old topic, it will be redundant come the release of avast version 5.0 (except for those who can't run 5.0), as even the free version will have the ability to run scheduled scans, which was the purpose of this work around.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: RegB on December 28, 2009, 09:48:52 PM
USE of the Standard Windows Task Scheduler is hardly a "work around".
Any more than the use of CRON jobs would be a "work around" on *nix platforms
These are STANDARD platform tools and there is much to be said for their use.

In fact they are very likely the mechanism that the "pro" version calls (behind the curtain).
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: DavidR on December 28, 2009, 10:11:29 PM
Well I don't know what else to call it as avast Home doesn't have any way to schedule a scan, so for those who have avast Home that want to do one, this is a way around the lack of that function in avast Home, a.k.a. a work around.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: REDACTED on April 16, 2013, 11:19:13 PM
This scheduling process works even for a full scan  ( IF YOU MAKE A CUSTOM FULL SCAN -  then set it as your default scan. )   

    you can do this by going to the  Antivirus,  scan now,  create custom scan  section of the free version.   When done  expand the " more details" option and be sure to check mark the  ( make this my default scan box )

after this is done,  simply follow the original instructions to schedule the "quickscan" 

************* ORIGINAL INSTRUCTIONS (BELOW ) *****************


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 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
    On the next screen, in the "Run" field you will see the path for the ashQuick.exe program. After the closing quote enter a space and type in the path(s) that you want scanned. Multiple paths must be separated by a space and any paths that include a space in the path name must be in quotes. Here are a couple of examples:

"C:\Program Files\Alwil Software\Avast4\ashQuick.exe" C: E: - this will scan the entire contents of the C: and E: drives
"C:\Program Files\Alwil Software\Avast4\ashQuick.exe" "C:Program Files" E:Downloads - this will scan the contents of the Program Files folder on the C: drive and the Downloads folder on the E: drive, including all subfolders (Note the first path is in quotes due to the space in the folder name "Program Files")

    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

Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: DavidR on April 16, 2013, 11:28:48 PM
It is redundant avast8 and earlier avast 7 & 6 versions have had scheduling built into the Scan settings.

This is the problem you get when responding to a topic that is nine years old and the last post in it almost four and a half years old.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: REDACTED on February 25, 2017, 02:00:50 AM
I set up scheduled task. I clicked run and it says running. Is it running?? No windows open.
Title: Re: HOWTO: Scheduled Automatic Scans w/ Free Version!
Post by: bob3160 on February 25, 2017, 02:45:25 PM
I set up scheduled task. I clicked run and it says running. Is it running?? No windows open.
Stop posting in OLD topics.
If you have a problem, start your own NEW topic.