File and folder exclusions do not work

  • Article ID: 13045
  • Rating:
  • 9 customers rated this article 2.0 out of 6
  • Updated: 25 Nov 2013

Issue

After excluding a file or folder from the Sophos Anti-Virus on-access scanner they are still scanned.

First seen in

Sophos Anti-Virus for Windows 2000+ 7.6.21

Cause

The file or folder is being accessed via the:

  • short filename/path and you have only excluded the long filename/path.
  • long filename/path and you have only excluded the short filename/path.

Any file or folder with more than 11 characters in its name will have an MS-DOS compatible short filename/path to maintain backward-compatibility with legacy applications.

What to do

You must exclude both the long and short paths for any file or folder with names greater than 11 characters.

Folder exclusion example

To exclude C:\Program Files\Sophos\ ('Program Files' has 12 characters and a space) you must add to the exclusion list:

  1. C:\Program Files\Sophos\
  2. C:\Progra~1\Sophos\

File exclusion example

To exclude C:\aReallyLongFileName.txt ('aReallyLongFileName' has 19 characters) you must add to the exclusion list:

  1. C:\aReallyLongFileName.txt
  2. C:\aReall~1.txt

To exclude C:\a file.docx ('a file.docx' has a space) you must add to the exclusion list:

  1. C:\a file.docx
  2. C:\afile~1.docx

More Information

For more information on how short filenames and paths are created see: How Windows Generates 8.3 File Names from Long File Names.

Technical Information

The short filename can also be referred to as the 8.3 filename, short filename or SFN.  The long filename can also be referred to as Unicode long filenames or LFN.

 
If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent

Comments