Configure and validate exclusions for Windows Defender Antivirus scans
You can exclude certain files, folders, processes, and process-opened files from Windows Defender Antivirus scans. Such exclusions apply to scheduled scans, on-demand scans, and always-on real-time protection and monitoring. Exclusions for process-opened files only apply to real-time protection.
Defining exclusions lowers the protection offered by Windows Defender Antivirus. You should always evaluate the risks that are associated with implementing exclusions, and you should only exclude files that you are confident are not malicious.
Configure and validate exclusions based on file name, extension, and folder location. This enables you to exclude files from Windows Defender Antivirus scans based on their file extension, file name, or location.
Configure and validate exclusions for files opened by processes. This enables you to exclude files from scans that have been opened by a specific process.