Avast WEBforum

Consumer Products => Avast Free Antivirus / Premium Security (legacy Pro Antivirus, Internet Security, Premier) => Topic started by: hughmckenzie on June 11, 2008, 11:56:22 AM

Title: "unable to scan" message on all folders in C drive
Post by: hughmckenzie on June 11, 2008, 11:56:22 AM
I'm a new user and not a computer expert and am generally very happy with Avast. However when I did a scan the scan report showed a message saying that it was "unable to scan" EVERYTHING on the C Drive. Is this something I should be really worried about?  The message continued with a "D" but I didn't know to expand the box so I've no idea what it went on to say. D'oh! I selected all hard drives and also selected the C drive from the "select specific files and folders" option when I started the scan. Could this be what's causing it?  Please help.
Title: Re: "unable to scan" message on all folders in C drive
Post by: igor on June 11, 2008, 11:58:54 AM
Can you post a screenshot of the final window (expanded as much as possible)?
Title: Re: "unable to scan" message on all folders in C drive
Post by: hughmckenzie on June 12, 2008, 10:10:17 AM
Sorry I didn't manage to do a screenshot. But I can report that the full message reads eg "C:\Documents and Settings  Unable to Scan: The system cannot find the path specified"
Also, I unchecked all specific files and folders and just asked it to scan all drives. Can you offer any advice?
Title: Re: "unable to scan" message on all folders in C drive
Post by: ardvark on June 12, 2008, 10:18:50 AM
Also, I unchecked all specific files and folders and just asked it to scan all drives. Can you offer any advice?

Hi...

And doing this gave the same message? ???

Out of curiosity, are there any other read/write issues that you are experiencing and is your C Drive, in fact, labeled "C"?

I'm wanting to get the obvious out of the way first... ;)

Best Regards...
Title: Re: "unable to scan" message on all folders in C drive
Post by: hughmckenzie on June 12, 2008, 10:24:42 AM
Hi

Yes, it gave the same message.
I've no other read/write issues that I'm aware of. Is there anything I should look for?
Yes, my C Drive is labelled "C".

Thanks for your help.
Title: Re: "unable to scan" message on all folders in C drive
Post by: ardvark on June 12, 2008, 11:40:20 AM
Hi

Yes, it gave the same message.
I've no other read/write issues that I'm aware of. Is there anything I should look for?
Yes, my C Drive is labelled "C".

Thanks for your help.

Hi again...

Okay. :)

For the next step, please try performing a repair installation of avast. Go to "Add/Remove Programs" and select avast and click on "repair." This may or may not work but I wanted to see.

Please post back with the results.

Best Regards...
Title: Re: "unable to scan" message on all folders in C drive
Post by: hughmckenzie on June 12, 2008, 12:44:11 PM
Thanks. Will do it this eveing after work. 
Title: Re: "unable to scan" message on all folders in C drive
Post by: Lisandro on June 12, 2008, 09:01:21 PM
Sorry I didn't manage to do a screenshot.
To post a screenshot (see how: http://forum.avast.com/index.php?topic=8982.0).
You can use Gadwin PrintScreen to get a screenshot (http://www.gadwin.com/printscreen/) or the free version of WinSnap 1.1.10 (http://www.filehippo.com/download_winsnap/?2173).

The system cannot find the path specified
You can go to the program settings and turn on the creation of the report file (with "OK files" to be included as well in the report). You can check the report file created at <avast4>\Data\Report\Simple User Interface.txt
Title: Re: "unable to scan" message on all folders in C drive
Post by: hughmckenzie on June 13, 2008, 09:50:56 AM
I tried the "Repair" option in "Add/Remove programs" and still got the same message. This time there was a new folder at the top of the list - C:\Applications\DEM\DVD.iso\WIMFILES\VISTA.WIM Any further advice?
Title: Re: "unable to scan" message on all folders in C drive
Post by: Lisandro on June 13, 2008, 04:41:11 PM
Please, post the report contents here (splitting into different posts if necessary).
Title: Re: "unable to scan" message on all folders in C drive
Post by: hughmckenzie on June 16, 2008, 02:00:59 AM
Thanks again for your patience on this one. Apologies for the delay in attaching a screengrab. I hope you can see the message that appears on my computer. Am I missing the point here, or shouldn't the software scan all these folders? Cheers.
Title: Re: "unable to scan" message on all folders in C drive
Post by: igor on June 16, 2008, 11:06:13 AM
What is the exact build of avast! you are using? (the latest one is 4.8.1201)
Title: Re: "unable to scan" message on all folders in C drive
Post by: ardvark on June 16, 2008, 11:46:52 AM
Hi...

In line with Igor's question, try downloading a new copy of avast and uninstalling and reinstalling from scratch. I've seen this help in other threads, it might with this problem.

Is any of your other security programs having this issue in any way?

Also, we can look at the problem from a possible infection angle. Using Internet Explorer, go here...

http://www.ewido.net/en/onlinescan/

You may need to accept an ActiveX control for it to work. Please delete anything it finds, particularly anything marked with a red circle left of the entry. Please post back here with the results and a log, if any entries besides cookies are found. :)

Best Regards...
Title: Re: "unable to scan" message on all folders in C drive
Post by: hughmckenzie on June 16, 2008, 10:07:55 PM
Hi. Yes I am using the latest version of Avast - v4.8.1201

I scanned using Ewido and all it found was 11 cookies which I have deleted.

Finally I uninstalled and then reinstalled from scratch but when I do a scan it shows exactly the same report as the screengrab previously sent.

Any other ideas?

I really appreciate your help with this.



Title: Re: "unable to scan" message on all folders in C drive
Post by: igor on June 18, 2008, 12:07:18 AM
Strange... are you logged on as an Administrator, or as a restricted user?
Title: Re: "unable to scan" message on all folders in C drive
Post by: hughmckenzie on June 18, 2008, 02:38:34 PM
I'm logged on as user.
Title: Re: "unable to scan" message on all folders in C drive
Post by: Lisandro on June 18, 2008, 03:41:54 PM
Maybe that's the point... but I think that some of that folders you should have read access anyway...
Title: Re: "unable to scan" message on all folders in C drive
Post by: igor on June 18, 2008, 06:50:19 PM
Well... that's Vista.

What you are seeing certainly are not all the folders on your C: drive. You see only the links (and maybe only some of them, actually).

You know, when you install Vista, it creates quite a strange system of NTFS links on the system drive. They are not real folders - they are only virtual objects, "pointing" to different folders  (when you enter such a link ("folder"), you actually appear in a completely different place of the directory structure).
Some of the links are there for compatibility reasons I guess, but why create that crazy structure the Vista installer builts, that's beyond me. I guess Microsoft programmers must have been pretty drunk when they made this. Oh yes, there are even circles in this structure.
Now, some of those links take you to a different folder (so you can access files from that folder) - but simultaneously, they restrict the access rights - so you are in a different folder, but you can't see the content.

That's what you see here I think. When avast! enters "C:\ProgramData\Desktop" folder (which is just a link) during the scan, it actually gets redirected into C:\Users\Public\Desktop (the real folder). But - it's denied the rights to list the content of the folder - so it doesn't scan anything there, and reports an error (at least when running under a restricted user account). It doesn't really matter, however - when avast! arrives at C:\Users later, it scans its content normally (well, if you have the corresponding access rights, of course), so you won't miss anything.


Now, I must say there's one thing that's rather strange here - the error itself. The error should be "Access denied" (I can reproduce the behavior here)... not "Path not found"... looks like something else might be going on there as well.
But the main thing is that no files are skipped because of some error - the reported folders are just links, and the real content is scanned elsewhere (throughout the scan).


If you're willing to check something, I can build a special executable that you'd run and report the results back; if we're lucky, it may tell us why the strange error type.
Title: Re: "unable to scan" message on all folders in C drive
Post by: Lisandro on June 18, 2008, 07:15:54 PM
Why don't you create a new error message for this Microsoft weird loop?
Title: Re: "unable to scan" message on all folders in C drive
Post by: hughmckenzie on June 19, 2008, 10:52:49 AM
Hello Igor. Yes, I'm willing to try that. I'm going to be away for a while soon it'll may heave to wait till I get back. Please let me know what you want me to do. I'm reassured by what you say about them not being "real" folders.
Title: Re: "unable to scan" message on all folders in C drive
Post by: igor on June 24, 2008, 02:57:18 PM
Please try to run this executable and post the output here:
http://public.avast.com/~glucksmann/chklink.exe
(either the input it prints to the console, or just a screenshot; I put a message window at the end to pause the execution)

All it does it try to determine the target of the "C:\Documents and Settings" link, and it tries to start the file enumeration in this "folder". I'm not sure if it reveals anything, but maybe...

Thanks.
Title: Re: "unable to scan" message on all folders in C drive
Post by: igor on July 31, 2008, 05:52:11 PM
Any news? ;-)
Title: Re: "unable to scan" message on all folders in C drive
Post by: cxf. on August 03, 2008, 12:57:16 PM
Hi there. I have exactly the same issue as the OP.

I have run as admin with the same result. I ran your exe and attach it along with a screenshot of the error itself.

Cheers.

(http://img254.imageshack.us/img254/3823/avastscanlv6.jpg)
(http://img205.imageshack.us/img205/2641/avastexeer1.jpg)
Title: Re: "unable to scan" message on all folders in C drive
Post by: igor on August 03, 2008, 03:06:42 PM
Interesting (though if you get the same results even when running as Admin, I doubt it's actually the same problem)... do you have the drive S: on your machine?
Title: Re: "unable to scan" message on all folders in C drive
Post by: cxf. on August 03, 2008, 03:11:27 PM
I have C: with the OS on it and most of the computer, D: mainly with movies and the DVD drive. When I say I ran as admin it was right clicking and "run as admin", not logging into an admin profile...
Title: Re: "unable to scan" message on all folders in C drive
Post by: igor on August 03, 2008, 08:46:17 PM
Well, the link C:\Documents and Settings resolves to S:\Users on your machine (normally, it's C:\Users, of course). So, it's really no wonder that avast! can't enter that link...

However, I have really no idea why the link is that strange (but the path is returned by the system itself in response to the question to resolve the link - i.e. I don't think it's a bug in avast!, as it's not avast!'s code).  ???
Title: Re: "unable to scan" message on all folders in C drive
Post by: cxf. on August 04, 2008, 04:41:17 AM
Ah ok. I do remember reading something a while ago about phantom s: on vista machines... not sure.

Regardless, I hit repair on avast in Control panel, Ran as admin again and went to bed. This morning... no error message! Looks like it is all better. :)