How to add exceptions in Windows Defender on Windows 10
Windows Defender is built into Windows 10 to find malware. To improve performance for tasks like compiling code or running virtual machines, you can add exceptions so Windows Defender will never scan those files.