Author Topic: avast scanning program files folder, and windows exe - startup  (Read 8103 times)

0 Members and 1 Guest are viewing this topic.

lister

  • Guest
I noticed my PC taking a longer time to startup recently.
After a bit of investigation, it seems that avast! is scanning most of the executables in my Program Files folder (nearly 500).
and often scans *.EXEs  that are not active (not in startup nor running).

any ideas?

Online DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 87071
  • No support PMs thanks
Re: avast scanning program files folder, and windows exe - startup
« Reply #1 on: July 21, 2005, 05:19:51 PM »
Snap, whilst avast scans files that are loaded on boot to ensure you are protected as early as possible I have the same situation with many programs that rarely see the light of day from one week to the next.

My theory, but not confirmed or denied by Alwil is the items in my start menu all have icons displayed and in order to display these icons they have to extracted from the .exe file (I believe) and this would activate an avast scan.

You may well have more programs in your program files folder than me (I have two folders for programs), although not all the exe files are scanned (D:) 276 in one and (C:) 166 in the other

However, my total is now greatly reduced it used to be 800+ much of this activity and related avast scans are generated by my firewall, now that I have disabled that completely (I run a batch file to start it after boot) my scanned total is in the 300+ range.
http://forum.avast.com/index.php?topic=14062.0
There are however, a number of files in my program files folders which are scanned for no apparent reason (other than my theory above).
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 22.10.6038 (build 22.10.7633.734) UI 1.0.733/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

lister

  • Guest
Re: avast scanning program files folder, and windows exe - startup
« Reply #2 on: July 28, 2005, 12:13:18 AM »
So no one else has any thoughts why avast should be scanning all these executables at startup?

It didn't use to be so (it started a couple of weeks ago, maybe less), but now it adds nearly a minute until avast completes and I can start using my PC.

Offline YLAP

  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 2119
Re: avast scanning program files folder, and windows exe - startup
« Reply #3 on: July 28, 2005, 09:53:24 PM »
Full boot up after entering my password takes ~1 minute on my system too but I'm not really concerned as my PC is not the latest one so it's ussual.  ;) look below, maybe your system configuration is almost the same as mine...  ;D

Correction: I was wrong as it takes ~3 minutes. checked with stopwatch.  ;D
« Last Edit: July 29, 2005, 04:26:54 PM by =YLAP= »

lister

  • Guest
Re: avast scanning program files folder, and windows exe - startup
« Reply #4 on: July 28, 2005, 10:51:53 PM »
PC, XP Pro SP2, 1GB ram, 2.66ghz p4.

My laptop with win2k, 512 ram, 2.8 ghz Celeron starts up faster, it should be much slower!
They both have the exact same startup progs, but the avast on the laptop only scans 50 or processes or less on startup - as I mentioned, avast! scans over 500 processes on startup, on the PC!

Offline YLAP

  • Avast Evangelist
  • Super Poster
  • ***
  • Posts: 2119
Re: avast scanning program files folder, and windows exe - startup
« Reply #5 on: July 28, 2005, 11:00:52 PM »
Are the resident protection advanced settings exactly the same on both computers?  ???

lister

  • Guest
Re: avast scanning program files folder, and windows exe - startup
« Reply #6 on: July 29, 2005, 12:29:45 AM »
Both set to high.

Standard shield, P2P, Mail, script blocking and Webshield active.
ZoneAlarm Pro on both (4.5**), and the transparent proxy for the webshield is disabled.

Online DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 87071
  • No support PMs thanks
Re: avast scanning program files folder, and windows exe - startup
« Reply #7 on: July 29, 2005, 12:52:32 AM »
I'm not sure it is possible to compare these systems for obvious reasons.
1. Different Operating Systems.
2. There will obviously be different drivers etc between the Laptop and Desktop systems.

However, this difference seems to big even for different OS and platform, but only 50 scanned files (not processes) after boot seems wrong to me. Many dlls are loaded by various processes at startup and I would have thought that this must be more than fifty.
I believe my system is fairly tight on allowing processes to start and I have 28 running processes in task manager after boot and I feel that each of those would spawn or access at least 1 dll, etc.

I exhausted most of my possible reasons in the thread I created (link in my first post 'Reply #1') and received no real explanation as to what types of file are scanned on startup outside of those that run or are accessed by other programs and are subsequently scanned by avast. Or does avast check the registry for program associations or something else regardless of the fact these programs aren't run on boot.

So I too am awaiting an answer in simple terms from Alwil, what files does avast scan on boot and why?
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 22.10.6038 (build 22.10.7633.734) UI 1.0.733/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

lister

  • Guest
Re: avast scanning program files folder, and windows exe - startup
« Reply #8 on: July 29, 2005, 01:27:09 AM »
I think I've fixed my slow startup, a case of overtweaking (avast! is still scanning near 500 files/processes etc) but I don't think that was the cause.

A while ago, I got in the nasty (& pointless) habit of deleting folder contents with a little prog a friend wrote. Fine, it did empty some useless log files etc, but also deleted the contents of my prefetch folder.

With Task manager disabled, the prefetch folder will stay empty - no layout.ini, no prefetching. There is absolutely no need to empty the prefetch folder

Anyway, enabled TM again, recreated the layout.ini and after a few reboots, XP is back to normal!

Hope you get your problems sorted Dave! and Thanks for replying!
« Last Edit: July 29, 2005, 01:33:41 AM by lister »

Online DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 87071
  • No support PMs thanks
Re: avast scanning program files folder, and windows exe - startup
« Reply #9 on: July 29, 2005, 03:18:59 PM »
Well I have Task Manager enabled but pre fetch is not enabled, in fact I don't have a pre-fetch folder if I remember rightly

However my scanned total is down to around 300 with Outpost Pro disabled on startup and as a service (started manualy with a batch file after boot). So no real delay compared to before.

I will check to see if layout.ini exists and create a pre fetch folder and see if this makes any difference.

What is your scanned count after boot now?
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 22.10.6038 (build 22.10.7633.734) UI 1.0.733/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

lister

  • Guest
Re: avast scanning program files folder, and windows exe - startup
« Reply #10 on: July 29, 2005, 03:53:34 PM »
About  470 (ish). Enabling prefetching knocked nearly a min off of startup (after a few reboots). XP starts in about 40 seconds now.
« Last Edit: July 29, 2005, 03:56:04 PM by lister »

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67235
Re: avast scanning program files folder, and windows exe - startup
« Reply #11 on: July 29, 2005, 04:01:37 PM »
XP starts in about 40 seconds now.
How long it takes before you have the prefetch feature enabled?
Is it ok now (I mean, waiting only 40 seconds to boot)?
The best things in life are free.

lister

  • Guest
Re: avast scanning program files folder, and windows exe - startup
« Reply #12 on: July 29, 2005, 04:12:14 PM »
It didn't start to boot normally until after the 3rd boot. I'm assumnig this is for the prefetch file to be generated.
From power on, XP takes 40-50 seconds to all progs loaded and ready (have to enter my pass, so you could take a couple of secs off that).

Before, with no prefetch, it was taking a minute more.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67235
Re: avast scanning program files folder, and windows exe - startup
« Reply #13 on: July 29, 2005, 04:45:52 PM »
I'm assumnig this is for the prefetch file to be generated.

Edited... I was wrong. See lister's link posted here.
Sorry.
« Last Edit: July 29, 2005, 08:07:52 PM by Tech »
The best things in life are free.

lister

  • Guest
Re: avast scanning program files folder, and windows exe - startup
« Reply #14 on: July 29, 2005, 06:13:57 PM »
Assuming the prefetch speeds up the loading of programs that you use often, how is that accomplished if the prefetch is created on the First run of any program, is the *.pf 'reinforced' in subsequent runs?