Author Topic: Some files could not be scanned  (Read 2565 times)

0 Members and 1 Guest are viewing this topic.

gibradford

  • Guest
Some files could not be scanned
« on: May 17, 2011, 03:49:21 PM »
Hi,
Am running Avast 6.0.1125 on Win 7 x64 SP1. Over the past few days, when running a quick scan i get the following scan results:

File Name:  C:\Users\All Users
Status: Error:The System cannot find the path specified (3)

Have tried to track down the above file name, but it doesnt exist, any way to clear this error?

Thanks!

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11849
    • AVAST Software
Re: Some files could not be scanned
« Reply #1 on: May 17, 2011, 04:03:33 PM »
On any Vista / Windows 7 system partition, there's a number of "links" - pointing to other folders. For example, C:\Users\All Users actually goes to C:\ProgramData.
However, the links are probably wrong on your system (let's say, for instance, that it points to X:\ProgramData instead - and no X: partition exists).
We've seen it a number of times... I'm not sure how exactly it can happen, but I'd say the Windows installation (or some kind of subsequent cloning) has been performed incorrectly.

If you uncheck the option "Follow links during scan" on the "Sensitivity" page of the scan, the errors should disappear, as avast! won't attempt to resolve the links. However, you'll have to do that for every type of scan you use.

gibradford

  • Guest
Re: Some files could not be scanned
« Reply #2 on: May 17, 2011, 04:29:13 PM »
Ok, thanks, that makes sense. In my case it would appear it's pointing D:\ProgramData which would be my HP recovery partition. Is the only option to change the Sensitivity options, or is this something that can be rectified in Windows?

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89061
  • No support PMs thanks
Re: Some files could not be scanned
« Reply #3 on: May 17, 2011, 04:58:55 PM »
I don't think the sensitivity is the issue, but an option in the Sensitivity settings, Follow links during scan, may well have something to do with this, as it appears to be following a link (path).

So you could try unchecking that.

However, I believe the correct thing would be to check the environment variables and change the drive letter from D:\ to the correct drive letter.

Control Panel, Performance and Maintenance, System, Advanced, Environment Variables. Not sure if this is correct for your OS as it is from my XP Pro system, but from that you should be able to find it.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11849
    • AVAST Software
Re: Some files could not be scanned
« Reply #4 on: May 17, 2011, 05:08:36 PM »
There's no environment variable... it's a hardcoded path inside of the link, leading to a different partition (than it should).

As for fixing the problem... don't know. I suppose you could use some command-line tools (e.g. Sysinternals Junction) to fix them manually - but there are quite a few of them on the system partition, and if all are affected, it might take a while...

gibradford

  • Guest
Re: Some files could not be scanned
« Reply #5 on: May 17, 2011, 05:15:17 PM »
Thanks very much for your replies. It would appear its a redundant folder, i right clicked and checked its properties, and Windows notified me that it was a shortcut pointing to nothing, would i like to delete it. The folder has now gone and Avast no longer follows it to nowhere  :)

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11849
    • AVAST Software
Re: Some files could not be scanned
« Reply #6 on: May 17, 2011, 05:19:37 PM »
Well, these links are generally there to ensure compatibility with various software that may use hardcoded paths to these folders (which changed over the time).