Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: wilbertnl on April 24, 2004, 05:44:37 PM

Title: WinXP Boot delayed by avast
Post by: wilbertnl on April 24, 2004, 05:44:37 PM
Hello All,

I'm using Avast! home edition for a little while now and lately I notice that after logging in XP I have to wait for Avast before I can use the computer. There is no network and also applications are on hold until Avast finishes whatever it is doing.

It looks like Avast is connecting to the server to find updates, and it keeps the rest of the system on hold. This is a new behaviour, I didn't notice this a month ago. The system is freshly re-installed, no weird hidden startups here.
Sometimes it takes minutes before the lock is released.

I'm using XP with SP2-RC1, firewall enabled. I have a broadband connection.
Any suggestion is very welcome!
Title: Re:WinXP Boot delayed by avast
Post by: .: Mac :. on April 24, 2004, 07:07:56 PM
Quote
I'm using XP with SP2-RC1,
this looks like the problem as I still use SP1 and there is no delay for me
Title: Re:WinXP Boot delayed by avast
Post by: bob3160 on April 24, 2004, 10:01:46 PM
Let's hope this is a subject that will be addressed quickly since the final release of XP sp2 is right around the corner. :'(
Title: Re:WinXP Boot delayed by avast
Post by: .: Mac :. on April 24, 2004, 10:13:05 PM
im sur e it will be fixed in the next release
Title: Re:WinXP Boot delayed by avast
Post by: Lisandro on April 25, 2004, 04:18:15 AM
Wilbertnl, I make some shots:

1. Try Startup Delayer to control the sequence and the time you want your programs to start up. Choose the best sequence for you! (http://www.r2.com.au).

2. Check the option 'Show detailed information...' into the Advanced tab of the Standard Shield settings. You will see 'what' avast is doing... After that you can disable that option.

3. Could be some new issue of SP2?
Title: Re:WinXP Boot delayed by avast
Post by: drahnier on April 25, 2004, 08:14:27 AM
I can confirm the delay but am under the impression that it is somehow by intention. I could be wrong, though.

If avast! is running on XPSP2 and configured to have a permanent connection it is trying to update its virus definition data base (or even itself) at startup in an attempt to contribute to SP2's security enhancements. But, as I said, I might be wrong. avast! also has to communicate its status with the new XP Security center (and this may take some time?).

Perhaps one of the avast! guys could shed some light on this behavior.
Title: Re:WinXP Boot delayed by avast
Post by: Lisandro on April 25, 2004, 04:11:19 PM
Configured to have a permanent connection it is trying to update its virus definition data base (or even itself) at startup in an attempt to contribute to SP2's security enhancements. But, as I said, I might be wrong. avast! also has to communicate its status with the new XP Security center (and this may take some time?).

You can change the delay period before checking for an update in a permanent connection. See AlwaysConnectedWaitSeconds value in file avast4.ini (http://forum.avast.com/index.php?board=2;action=display;threadid=1647)  ;)
Title: Re:WinXP Boot delayed by avast
Post by: drahnier on April 25, 2004, 04:55:19 PM
Configured to have a permanent connection it is trying to update its virus definition data base (or even itself) at startup in an attempt to contribute to SP2's security enhancements. But, as I said, I might be wrong. avast! also has to communicate its status with the new XP Security center (and this may take some time?).

You can change the delay period before checking for an update in a permanent connection. See AlwaysConnectedWaitSeconds value in file avast4.ini (http://forum.avast.com/index.php?board=2;action=display;threadid=1647)  ;)

That tread is worth to be brushed-up a little bit and made available as a technical reference paper (a nice pdf document).
Title: Re:WinXP Boot delayed by avast
Post by: Baldain68 on April 25, 2004, 05:20:16 PM
SP2 delays boot because the new Windows Security Center forces updates upon boot for any anti-virus software that it recognizes. Try changing the auto update feature.
Title: Re:WinXP Boot delayed by avast
Post by: wilbertnl on April 25, 2004, 08:12:03 PM
SP2 delays boot because the new Windows Security Center forces updates upon boot for any anti-virus software that it recognizes. Try changing the auto update feature.
And Avast! is not recognized, so far.
Title: Re:WinXP Boot delayed by avast
Post by: wilbertnl on April 25, 2004, 08:19:37 PM
I can confirm the delay but am under the impression that it is somehow by intention. I could be wrong, though.

I didn't look into the code  ;D, but to me it looks like a deadlock: Avast is holding on while waiting to get an connection for updates, and the firewall is not started for that reason, so no network available...

I have a network icon in the system tray, and in above described situation the icon doesn't show up. Indicating that network is not available yet. Sometimes I get the error message that the firewall service couldn't start. I strongly believe that Avast! is holding a lock on services that should be starting, because it aims to update itself first.
Title: Re:WinXP Boot delayed by avast
Post by: Vlk on April 25, 2004, 11:05:20 PM
Some of the things that've been said in this thread are not true.

1. The WSC does not force the antivirus to update on boot.
2. Avast is (or should be) recognized by WSC, provided it's its latest version (4.1.389).
3. The updating process in avast is completely asynchronous. The system loads in it's entirety, and then, after some period of time, updating is attempted. No other component is waiting for the update to take place.


Do all of you XPSP2 guys experince this problem? The thing is, I'm not seeing it on our test machines... ??? The only thing that changed in the latest build is that upon startup, avast reports it's status to the WSC. It's possible that this process is taking a long time to finish (maybe it's taking a long time for WSC to start - for some reason) -- I don't know... We may try to put the reporting in a separate thread, so that it doesn't influence processing of other things...

Vlk
Title: Re:WinXP Boot delayed by avast
Post by: wilbertnl on April 26, 2004, 12:43:32 AM
2. Avast is (or should be) recognized by WSC, provided it's its latest version (4.1.389).

If you want me to post a print screen with Avast version info (4.1.389) and warning of the Security Center, with "Virus Protection not found" I will do that.
Title: Re:WinXP Boot delayed by avast
Post by: Vlk on April 26, 2004, 04:42:55 PM
Quote
If you want me to post a print screen with Avast version info (4.1.389) and warning of the Security Center, with "Virus Protection not found" I will do that.


So it doesn't recognize avast at all, or it just says it's turned off?

BTW the startup delay should be solved by tomorrow's update. I'd call it a work around instead of a fix - as it's evidently WSC's fault... Maybe they'll sort it out before SP2 goes official... I'll report this 'feature' to them.

Thanks
Vlk
Title: Re:WinXP Boot delayed by avast
Post by: drahnier on April 26, 2004, 04:52:08 PM
I have two mschines here running XPSP2RC1, and avast!, altest version.

avast! is recognized by WSC on both machines just fine. But: Both machines experience the startup delay.
Title: Re:WinXP Boot delayed by avast
Post by: wilbertnl on April 26, 2004, 05:16:08 PM
So it doesn't recognize avast at all, or it just says it's turned off?

BTW the startup delay should be solved by tomorrow's update. I'd call it a work around instead of a fix - as it's evidently WSC's fault... Maybe they'll sort it out before SP2 goes official... I'll report this 'feature' to them.

Thanks
Vlk
To answer your question: Until yesterday it didn't recognize the installed software at all and I worked around it with the "custom software" option, which basically disables the WSC AV installation check. Yesterday I could confirm that with a screen capture.

Today WSC recognizes avast and it is showing "up to date", it looks like the delay didn't happen, but I also added the updatedelaytime item in the ini file. I guess I should remove that and check again.
There are no other software changes (like updates) on this system.

So far, thank you for your attention and time, Avast is getting better every day.  :)

Hm, maybe this was only a random change.
First I removed the AlwaysConnectedWaitSeconds=30 and the problem returned.
Then I added AlwaysConnectedWaitSeconds=30 again to the ini file, but the problem is stil there.
That looks like only one boot today WSC and Avast were working together as designed and after that the problem persists.

Second Update:
It looks like it takes a really long time before WSC and Avast are talking together. After a while WSC shows that Virus Protection is ON. So, there is a really long delay before this status is reached. Sometimes the MS Firewall is not able to start until WSC and Avast agree.

This happens here on two computers, desktop and laptop.

I'm looking forward to hear from you.
Title: Re:WinXP Boot delayed by avast
Post by: Scannerdesk on April 27, 2004, 03:51:28 PM
Hi All,

Just to let you know that after the program update this morning, the bootup ran perfectly. No bootup delay.  It re-booted like a charm.

Windows XP SP2RC1 is installed.

Great work guys.
Title: Re:WinXP Boot delayed by avast
Post by: wilbertnl on April 27, 2004, 04:47:13 PM
Just to let you know that after the program update this morning, the bootup ran perfectly. No bootup delay.  It re-booted like a charm.

Oops, since something looked a bit different yesterday (WSC recognized Avast) I thought there was already a fix...

Well, I updated Avast today to 4.1.396 and I can only partly second the previous message.
The delay is fixed, but WSC warns that Antivirus software might not be installed and the computer is at risk.

The update works fine on the laptop, though.
So I will reinstall XP-SP2.RC1 on de desktop and see if a clean installation makes a difference. (although on the laptop is more nonsense installed)

Talk to you later!
Title: Re:WinXP Boot delayed by avast
Post by: drahnier on April 27, 2004, 06:04:02 PM
Just to let you know that after the program update this morning, the bootup ran perfectly. No bootup delay.  It re-booted like a charm.

Oops, since something looked a bit different yesterday (WSC recognized Avast) I thought there was already a fix...

Well, I updated Avast today to 4.1.396 and I can only partly second the previous message.
The delay is fixed, but WSC warns that Antivirus software might not be installed and the computer is at risk.

The update works fine on the laptop, though.
So I will reinstall XP-SP2.RC1 on de desktop and see if a clean installation makes a difference. (although on the laptop is more nonsense installed)

Talk to you later!

Interesting. On my XPSP2RC1 systems, WSC recognizes avast! but - although I already have VPS 418-1 installed - WSC claims avast! VPS is 418-0.
Title: Re:WinXP Boot delayed by avast
Post by: wilbertnl on April 27, 2004, 06:41:43 PM
Interesting. On my XPSP2RC1 systems, WSC recognizes avast! but - although I already have VPS 418-1 installed - WSC claims avast! VPS is 418-0.

So, this is what I did:
install XPSP1, install/Update Avast, install/update SP2RC1 Update drivers. reboot, reboot, reboot.
So far it looks good. WSC recognizes Avast (and shows VPS 418-1)
I will continue monitoring this while I install more software.

Thank you, guys!