Author Topic: Avast screen saver problem  (Read 2287 times)

0 Members and 1 Guest are viewing this topic.

PoP

  • Guest
Avast screen saver problem
« on: June 26, 2011, 07:53:35 PM »
Sometime ago I wrote that the screen saver restarted always from the beginning of the disk instead of from where it stopped before. The result is that most of the times Avast scans less than 1/3 of my disk while the last 2/3 are nearly never scanned.

I have not seen any change in the last version
but here is what I found after reading the self defence log.

The reason for the stupid behavior of the screen saver is indeed the self defence.
THE AVAST SCREEN SAVER IS NOT ALLOWED TO WRITE TO THE AVAST REGISTRY KEYS
Consequently it cannot write the last folder that was scanned and it starts over from the fist folder on the disk every time even if the previous scan did not complete.

If the self defence is disabled then everything is fine. But nobody wants to disable the self defence !

So it would be nice that AvastSCR be allowed to write to Avast Keys.
Sounds reasonable ?

All the best

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67274
Re: Avast screen saver problem
« Reply #1 on: June 27, 2011, 03:19:41 AM »
Hmmm... It's ok that the avast screensaver could do that. But, of course, you can't give any screensaver the power of doing that.
Anyway, is the last scanned file/folder saved into registry or it was in the .ini files? The self defense module protects both anyway.
The best things in life are free.

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11786
    • AVAST Software
Re: Avast screen saver problem
« Reply #2 on: June 27, 2011, 12:38:00 PM »
The last scanned folder isn't written into registry.
Anyway, I'll check that, the problem might be a bit more complex.

PoP

  • Guest
Re: Avast screen saver problem
« Reply #3 on: June 27, 2011, 03:09:58 PM »
Let examplify the point

When the screen saver starts for the first time it begins the scan
from the first folder on the disk say
C:\A_folder. OK
When it stops I assume it has reached folder
C:\D_Folder.

The next time the screen saver starts I expect it to
resume from C:\D_Folder

Actually, if the self defence is disabled then the screen saver
does resume from C:\D_folder has expected. This means that the last
scanned folder has been recorded by some means. How could it know
where to resume otherwise ? 


On the contrary, if the self defence is enabled the screen saver
starts from the first folder again C:\A_Folder.
By that time a self defence log has been recorded, which says that the
AvastSS.scr has attempted to write to the Avast registry key but
the access has been forbiden. This tells that AvastSS could not record
something.

Comparing the two facts I suggest that AvastSS.scr is not allowed
to record the last place that was scanned.

So I hope that the self defence mechanism will allow AwastSS.scr,
not any scr, but only AvastSS to access the registry otherwise
it is less useful than a scheduled scan. Moreover it ages over
and over the same part of the disk.

All the best

Offline pk

  • Avast team
  • Super Poster
  • *
  • Posts: 2085
Re: Avast screen saver problem
« Reply #4 on: June 27, 2011, 07:23:11 PM »
Thanks, PoP.
This bug was fixed - please wait for the official release.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67274
Re: Avast screen saver problem
« Reply #5 on: June 28, 2011, 03:29:37 AM »
Thanks for acknowledging and solving it pk :)
The best things in life are free.

PoP

  • Guest
Re: Avast screen saver problem
« Reply #6 on: June 28, 2011, 11:51:17 AM »
You are welcome gui's.

You deserve the thanks for you good job.

PoP