Hello,
I'm afraid we do not have predefined support for this.
However, you can easily achieve this through a
custom action. For example, you can use a PowerShell script with the Add-MpPreference cmdlet.
Code: Select all
Add-MpPreference -ExclusionPath 'C:\Temp'
This command adds the folder C:\Temp to the exclusion list. The command disables Windows Defender scheduled and real-time scanning for files in this folder.
For more details, please refer to the
Add-MpPreference
article.
Hope this helps!
Best regards,
Liviu