Windows Defender slow down Scanner

IM running Sonarqube 9.5 and the build servers are running Windows Defender. Version of scanner 4.23.1

After setting Defender and add exlusions, i still see that “Run Analysis” takes from 40-60s before to 5-6 minutes.

IM not sure if upgrade the scanner will fix the issue


Per the docs, we don’t recommend running a virus scanner on the analysis machine:

We do not recommend running an antivirus scanner on the machine where a SonarQube analysis runs, it could result in unpredictable behavior.

Really, slowdowns are the best-case scenario here.