Always add anchors to regex in dzdo and dzcmds
Specifies whether you wan to add anchors automatically to the regular expressions you define as command rights and use in role definitions. This group policy helps to prevent matching unintended paths or commands if the regular expression pattern is not carefully set.
If you set this group policy to Disabled, you should carefully review all regular expressions used as command rights to identify all possible matches for the pattern defined.
This group policy modifies the
dzdo.auto.anchors setting in the agent configuration file.