I'm having some issues with Storage Replica not playing nicely with Mcafee ENS on two 2016 servers. They're set up as a failover cluster with a disk on each server set up to replicate using Storage Replica. With the ENS on-access scan disable I can run "Sync-SRGroup -Name $srgroup_name" from PowerShell and the two disks will find each other and quickly say "Continuously replicating" as their status. With the on-access scan enabled if I run Sync-SRGroup the disks will stay on "ConnectingToSource"/"WaitingForDestination" indefinitely. Having spoken to Mcafee support they say that we need to configure additional exclusions for on-access scan however they weren't able to tell me what those exclusions actually were. I've added those recommended in this article: https://docs.microsoft.com/en-GB/troubleshoot/windows-server/high-availability/not-cluster-aware-antivirus-software-cause-issue, (essentially just %Systemroot%\Cluster as the quorum is not on a locally attached disk and we're not using a cluster service account) but this doesn't appear to be enough to get it working.
Has anyone else had similar issues with Storage Replica and antivirus?