This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Exclude Folder for all users on all PCs

Hi,

I'm looking for a way to exclude a folder in the user's documents in each profile using Sophos Control Centre v4.

I would need any of the following folders excluded depending on the OS/folder location

C:\Users\username\documents\ABC documents\server

C:\Documents and Settings\username\documents\ABC documents\server

\\server\redirectedfolders\username\documents\ABC documents\server

Can I use a wildcard or system variable %username% to acheive this? Or can I use the partial path ABC Documents\server\*.* as per this document http://www.sophos.com/en-us/medialibrary/PDFs/nonindexed/sesc_95_heng.pdf (page 11)?

Thanks

:42177


This thread was automatically locked due to age.
Parents
  • Hello DanAvery,

    first of all, what is the issue you are trying to resolve with these exclusions?

    You can't use system variables (this has been discussed several times in this forum, please search this board if you are interested in the details).

    As for partial paths there are two major categories:

    those excluding everything below the path (including subfolders) - drive, share and folder. They always start at the root (thus  \ABC Documents\server\ would not work for you)

    those excluding a subset (which may be the complete set) of files within a folder (but not subfolders and their contents). A specification with only one folder excludes all files matching the pattern (BTW: *.* is not a valid pattern) in a folder with the given name anywhere in a filesystem. Thus \server\*.?????? would exclude all files in ...\ABC Documents\server\ as well as in ....\XYZ Dcuments\server\ but not the ones in e.g. ...\ABC Documents\server\pdf\. If the path contains more than one folder it is interpreted to start at the root like above.

    Well, I hope this is correct - I'm not a fan of exclusions so my tests might have been biased :smileyvery-happy:

    Christian

    :42197
Reply
  • Hello DanAvery,

    first of all, what is the issue you are trying to resolve with these exclusions?

    You can't use system variables (this has been discussed several times in this forum, please search this board if you are interested in the details).

    As for partial paths there are two major categories:

    those excluding everything below the path (including subfolders) - drive, share and folder. They always start at the root (thus  \ABC Documents\server\ would not work for you)

    those excluding a subset (which may be the complete set) of files within a folder (but not subfolders and their contents). A specification with only one folder excludes all files matching the pattern (BTW: *.* is not a valid pattern) in a folder with the given name anywhere in a filesystem. Thus \server\*.?????? would exclude all files in ...\ABC Documents\server\ as well as in ....\XYZ Dcuments\server\ but not the ones in e.g. ...\ABC Documents\server\pdf\. If the path contains more than one folder it is interpreted to start at the root like above.

    Well, I hope this is correct - I'm not a fan of exclusions so my tests might have been biased :smileyvery-happy:

    Christian

    :42197
Children
No Data