Configuring antivirus exclusions
This section looks at the required antivirus file and process exclusions as are necessary for FSLogix. Even if you are using Microsoft Defender Antivirus, it is recommended that you configure the recommended exclusions.
The following table shows the files, processes, and Cloud Cache file exclusions you should configure in your Azure Virtual Desktop environment:
Configuring exclusions using PowerShell
The following script can be used to configure your template image with the required exclusions for FSLogix profile containers. You will note that this particular script is for Microsoft Defender. The script essentially adds exclusions for the profile container virtual disks, both VHD and VHDX:
# A140 FSLOGIX AV Exc #Defender Exclusions for FSLogix $Cloudcache = $false # Ensure you Set for true if using cloud cache ...