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

Environment Variables?

Hi All,

This feels like a dumb question.

Can you use windows environment variables such as %windir% or not? I see that "%" is not listed as a wildcard character of any description so:

As a file exclusion:

Is it just treated as another character? Does this mean that %windir% gets literally translated as %windir% rather than C:\Windows.

Sophos recommends looking at your OS supplier documentation (in this case it's MS) for AV exclusions. Looking at MS document there's quite a lot to look at. See here: https://support2.microsoft.com/kb/822158?wa=wsignin1.0 and also http://www.networkdefend.com/avexclusions.txt

:53971


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

    sorry if I've told you what you already know (and which apparently evokes quite loud replies) - wasn't clear (at least to me) from your post. I've simply too many idle cycles at hand when waiting for other work to get finished :smileytongue:.

    Agreed, Sophos could explicitly state no variables in a path. A variable might not exist (or have an unexpected value) in the context of the accessing user (and it'd be a challenge to obtain it anyway) and SAVService runs a Local Service ...

    Unfortunately while you can export/import exclusions in SEC you can't export them from the local GUI (but perhaps you could generate them from a template?). And you need an additional group/policy for each absolute representation of a logically identical path.

    Christian   

    :53979
Reply
  • Hello antihippy,

    sorry if I've told you what you already know (and which apparently evokes quite loud replies) - wasn't clear (at least to me) from your post. I've simply too many idle cycles at hand when waiting for other work to get finished :smileytongue:.

    Agreed, Sophos could explicitly state no variables in a path. A variable might not exist (or have an unexpected value) in the context of the accessing user (and it'd be a challenge to obtain it anyway) and SAVService runs a Local Service ...

    Unfortunately while you can export/import exclusions in SEC you can't export them from the local GUI (but perhaps you could generate them from a template?). And you need an additional group/policy for each absolute representation of a logically identical path.

    Christian   

    :53979
Children
No Data