I have a hard drive connected to my system via a USB hard drive dock. The drive shows up, and I right-click on the drive and select the Avast “Scan” option. Avast starts scanning and it shows the correct drive (I:\ in this case) under the “Processed file:” line but the files that avast is scanning are from my C:\ not the drive I asked it to scan (I can recognize the files and folders from my C:\ even though avast is saying it’s scanning I:). Also, the activity indicator on the hard drive dock is not lighting up, so even though avast says it’s scanning that drive, it’s not.
Edit:
I started a scan with Malwarebytes Anti-Malware using the context menu when you right click on a file or drive, and Malwarebytes is scanning the drive, so it’s not a USB enumeration issue, it is an avast issue.
It’s just following the links you have on that drive, pointing back to C:.
I’d suggest to uncheck the option “Follow links during scan” on the Sensitivity page of the particular scan.
There are no links from that drive to my C:. I’m fixing a friend’s laptop and I removed the hard drive from his laptop and connected it to mine via the hard drive dock.
And that’s exactly why there are those links there
If there’s a Vista / Win 7 installation on that disk, in contains soft-links that target the C: drive (I guess e.g. the I:\Documents and Settings might be one of them).