How to use the exclusion feature of Windows Defender
https://www.bleepingcomputer.com/news/microsoft/how-to-exclude-files-and-folders-from-windows-defender-scans/
Windows 10's built-in antivirus tool Microsoft Defender uses threat signatures, behavioral detection, and machine learning models to automatically detect and block suspicious files, folders, and processes.
However, sometimes legitimate programs or programs created by your organization may receive false-positive detections in Windows Defender leading to the executable being quarantined.