Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: Anderson2 on July 12, 2009, 03:42:20 PM

Title: delay avast start
Post by: Anderson2 on July 12, 2009, 03:42:20 PM
I am running Avast 4.8 home edition in Windows XP SP3.
On boot up there is a delay as Avast tries to access the internet but cannot do so because my Zone Alarm has not yet loaded (I think).  Once the ZA icon appears in the taskbar, then Avast succeeds in accessing the internet and getting the latest update.

This delay is annoying and not necessary.  I can wait a couple of minutes before getting the latest Avast updates.  Is there a way to delay Avast accessing the email for 5 minutes or so after bootup?

Thanks.
Title: Re: delay avast start
Post by: spg SCOTT on July 12, 2009, 04:02:44 PM
Hello Anderson2,

-You can delay the startup of avast through the settings:

Right click avast icon--> click settings --> click troubleshooting --> click delay loading of avast...


-You can also edit the avast INI file to set a time to wait before checking for updates:


One thing that I do is delay the update check (not a gui function) using the avast4.ini file, I have set that at 10 minutes after connection as this allows me to quickly go online download emails or something quick without avast checking for updates.

You need to edit (using notepad) the [InetWD] section of the C:\Program Files\Alwil Software\Avast4\Data\avast4.ini file and add the following line (depending on your connection type enter one or other of the Bold lines below):
Dial-up connections, add this line: RASWaitSeconds=300
Quote
[InetWD]
RASWaitSeconds=300
When complete save the changes, avast's self-defence module will ask for confirmation, etc. answer Yes.

The figure is seconds and the above equates to five minutes, you could try that and adjust upwards if required, 600, etc.


Hope this helps,

-Scott-
Title: Re: delay avast start
Post by: Anderson2 on July 12, 2009, 07:48:20 PM
Thank you very much for replying. I have broadband access not dialup

I opened my ini file in notebook. Found it already had the following entry:

[InetWD]
UseRAS=0
AssumeAlwaysConnected=1
AlwaysConnectedWaitSeconds=240

Does the "AssumeAlwaysConnected" line defeat the next line?

I tried to change the 240 to something higher but when I tried to save it I was told the file was locked and could not be saved.

**Anyway, maybe I am barking up the wrong tree or going after the wrong culprit.  What happens is that the Avast icon keeps spinning after bootup which causes the delay before the Zone Alarm and other icons appear on the taskbar and the bootup can proceed.  Could it be that the delay problem is because Avast is "checking" my very large HD (rather than that it is downloading updates)?  If so, maybe I should disable or delay that Avast HD file check on bootup.  I am not sure what is causing the delay but I know the Avast icon keeps spinning for a while on bootup and that seems to slow things from proceeding.
Title: Re: delay avast start
Post by: Lisandro on July 12, 2009, 08:41:35 PM
I tried to change the 240 to something higher but when I tried to save it I was told the file was locked and could not be saved.
To temporarily disable the avast self defense module:
1. Right click the 'a' blue icon on system tray.
2. Programs settings > Troubleshooting (tab)
3. Disable self defense module
4. Make the changes. Save the file.
5. Enable the module again.

**Anyway, maybe I am barking up the wrong tree or going after the wrong culprit.  What happens is that the Avast icon keeps spinning after bootup which causes the delay before the Zone Alarm and other icons appear on the taskbar and the bootup can proceed.  Could it be that the delay problem is because Avast is "checking" my very large HD (rather than that it is downloading updates)?  If so, maybe I should disable or delay that Avast HD file check on bootup.  I am not sure what is causing the delay but I know the Avast icon keeps spinning for a while on bootup and that seems to slow things from proceeding.
The delay is caused not because the update process but avast is scanning the files being loaded. It's a stressed moment of the computer, so you need some patience. My boot/logon time is not short either...
Title: Re: delay avast start
Post by: DavidR on July 12, 2009, 08:46:09 PM
No all it does is say you are always connected (the connection method), the wait line is just how long to wait before checking for updates.

The avast self-defence module will protect the avast4.ini file, if you did as suggested, 'use notepad' you would have been able to modify it and when trying to save asked if it was OK by the self defence.

If you did use notepad but still get that int may be permissions, e.g. trying to edit from a limited user account and not an account with admin privileges.
Title: Re: delay avast start
Post by: spg SCOTT on July 12, 2009, 08:54:26 PM
Hello Anderson2,

Thank you very much for replying. I have broadband access not dialup

Sorry, I forgot that DavidR is still in the stone ages (yes DavidR, I know ;)) and that I needed to change the instructions.

Quote
I opened my ini file in notebook. Found it already had the following entry:

[InetWD]
UseRAS=0
AssumeAlwaysConnected=1
AlwaysConnectedWaitSeconds=240

Does the "AssumeAlwaysConnected" line defeat the next line?

The line "AssumeAlwaysConnected=1" refers to the setting in the 'update - connections' section:
'My computer is permanently connected to the internet'

Quote
I tried to change the 240 to something higher but when I tried to save it I was told the file was locked and could not be saved.
When you changed it and clicked save, you would have been prompted by the avast, self defense module (see image) to allow this. When you click yes it should be allowed and then saved.


-Scott-

EDIT:DavidR was quicker, and I forgot the image  ::)
EDIT2:and Tech was even faster...man I'm blind  :P
Title: Re: delay avast start
Post by: Anderson2 on July 12, 2009, 10:14:38 PM
Thanks for everyone's help.
Actually (a small lie ....) I was using Notepad2 which is my default editor for txt files instead of Notepad because of Notepad2's greater capabilities.  When using Notepad2 the Avast popup option to permit modifing the ini or not does not appear.  So I just tried to edit the ini with Windows' Notepad and now the Avast option popup appears when I try to save. Interesting.

Since Avast was installed and on board before the shut down, it would seem that it does not really "need" to rescan the files being loaded at bootup.  Is there therefore an option to prevent avast scanning the files being loaded at bootup?

Thanks.
Title: Re: delay avast start
Post by: Lisandro on July 12, 2009, 10:27:23 PM
Actually (a small lie ....) I was using Notepad2 which is my default editor for txt files instead of Notepad because of Notepad2's greater capabilities.  When using Notepad2 the Avast popup option to permit modifing the ini or not does not appear.  So I just tried to edit the ini with Windows' Notepad and now the Avast option popup appears when I try to save. Interesting.
Yes, avast is programed to interact with Notepad this way.

Since Avast was installed and on board before the shut down, it would seem that it does not really "need" to rescan the files being loaded at bootup.
This is not true for several infections. Besides the problem to define when the "time of boot" ends... 4 minutes, 5 minutes?

Is there therefore an option to prevent avast scanning the files being loaded at bootup?
Since avast! version 4.7.807 the Standard Shield has a feature called do not scan system libraries (by default on) that dramatically decrease the number of files scanned during computer boot.
If I remember correctly, this option will be dropped on avast 5.

I will suggest you try Startup Delayer (http://www.r2.com.au/software.php?page=2&show=startdelay).
This freeware controls the windows startup (Windows 98\Me\2k\XP\Vista) that does not follow a strict order.
Title: Re: delay avast start
Post by: Anderson2 on July 13, 2009, 12:48:18 AM
Thank you.
Title: Re: delay avast start
Post by: Lisandro on July 13, 2009, 02:03:35 PM
Thank you.
You're welcome. Does that help you?
Title: Re: delay avast start
Post by: Anderson2 on July 15, 2009, 05:05:22 PM
Yes.  I will try it.
Title: Re: delay avast start
Post by: thug4real on July 16, 2009, 08:31:26 PM
Hello! If I set"  avast delaying service to other services charging system  ", has any effect on computer security?Thanks!
Title: Re: delay avast start
Post by: DavidR on July 16, 2009, 09:21:13 PM
The delay is very minimal we aren't talking many seconds here but a very short time and may mean something loads before avast. The delay is only waiting for windows system services not all and sundry services, so again the delay shouldn't be a serious security issue.

That is why delaying the loading avast services isn't something to do unless you have a specific problem that can't be resolved any other way. The fact that there is a loading issue, that in itself could effect avast's loading anyway, which could have the same impact allowing something else to load.

So it isn't an option to play with unless there is a specific problem and then I would say you should only do it if it is suggested by one of the Alwil team or the more senior avast forums members.
Title: Re: delay avast start
Post by: Lisandro on July 16, 2009, 10:13:14 PM
Hello! If I set"  avast delaying service to other services charging system  ", has any effect on computer security?Thanks!
Shortly, not.
Title: Re: delay avast start
Post by: thug4real on July 17, 2009, 09:18:15 AM
Thanks :)
Title: Re: delay avast start
Post by: Lisandro on July 17, 2009, 01:45:16 PM
Thanks :)
You're welcome. Feel free to come back any time you need help or just to change experiences 8)
Title: Re: delay avast start
Post by: DavidR on July 17, 2009, 04:13:27 PM
You're welcome.
Title: Re: delay avast start
Post by: Joevast on July 17, 2009, 06:09:48 PM
RASWaitSeconds=300

Amazing... I'm absolutely shattered this is not a built in option freely available to the user.
The company I was at previously cancelled the purchase of Avast soley because of the startup delay causing havoc.
I too was about to dump Avast and look for something else until I accidently found this thread.

Title: Re: delay avast start
Post by: DavidR on July 17, 2009, 07:36:02 PM
Well what this topic is about is delay avast start (and there is an option to do that), which is somewhat different to delaying the update check. This shouldn't be an issue for the greatest majority of avast users and in most cases they wouldn't know this was even possibly involved.

Personally I would like to see this 300 (5 minute) delay as the default, rather than the current delay of 30 seconds (I believe) so that it shouldn't even be an issue for the minority that do experience an issue.
Title: Re: delay avast start
Post by: Lisandro on July 17, 2009, 07:47:38 PM
Welcome to one of the most configurable antivirus round ;)
See http://forum.avast.com/index.php?topic=1647.msg10264#msg10264
Title: Re: delay avast start
Post by: Joevast on July 17, 2009, 08:57:27 PM
Quote
Welcome to one of the most configurable antivirus round
Thank you, and yes now that I have the time (retired) I am finding Avast quite facinating :)
But when you are part of a larger contingency of Admins looking after 412 odd computers and having noobs complain all day long there just is no time to wade through a pile of configurations.
Quote
Personally I would like to see this 300 (5 minute) delay as the default, rather than the current delay of 30 seconds
Yes DavidR, I agree with you 100% here, even 600 (10 minutes) or longer would be fine, but 30 seconds or I thought it was a minute, is just far far too short.
Title: Re: delay avast start
Post by: DavidR on July 17, 2009, 09:06:40 PM
Quote
Personally I would like to see this 300 (5 minute) delay as the default, rather than the current delay of 30 seconds
Yes DavidR, I agree with you 100% here, even 600 (10 minutes) or longer would be fine, but 30 seconds or I thought it was a minute, is just far far too short.

That is what I have mine set on but that is because I use dial-up and every time I connect avast would check for updates, when I just want to quickly go on-line and collect email, etc. I don't want avast to start an update check.
Title: Re: delay avast start
Post by: Lisandro on July 17, 2009, 10:45:12 PM
But when you are part of a larger contingency of Admins looking after 412 odd computers and having noobs complain all day long there just is no time to wade through a pile of configurations.
I agree. They could change the "default" value to a more convenient one.