Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →If Avast is interrupting work on a trusted source file or build folder, add a narrowly scoped exception rather than turning off antivirus protection. The steps depend on whether you use Avast Antivirus or Avast One and, for Avast Antivirus, whether your computer runs Windows or macOS.
Before you add an exception
Check the product name shown in the app and identify the exact file or folder triggering the alert. Avast’s instructions and menus differ by product and operating system, and menu labels can change between versions.
As an Amazon Associate I earn from qualifying purchases.
Confirm where the file came from and that it is the item you intended to build or download. If you cannot establish that it is safe, do not exempt it simply to clear the alert. Avast advises setting exceptions only for files or sites you know are safe; it suggests checking an uncertain file with VirusTotal or submitting it to Avast Threat Labs. See Avast’s exclusion instructions.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteAdd an exception in Avast Antivirus on Windows
- Open Avast Antivirus and select Menu > Settings > General > Exceptions.
- Select Add exception. For a code file or project directory, choose the File/Folder tab, browse to the specific path, and add it.
- Before saving, review Advanced options. You can choose which detections or protections the exception applies to, including All scans, Behavior Shield, File Shield, Hardened Mode, and CyberCapture detections.
A file or folder exception may exclude that path from scans and shields, not just a scan you start manually. Use the smallest scope that resolves the interruption: a single trusted file is narrower than a project folder, and a specific build/output folder is narrower than a whole development drive. If only one protection is causing the problem, limit the exception to that feature rather than excluding the path from all scans and shields.
#1 Best Overall
- SPEED-OPTIMIZED, CROSS-PLATFORM PROTECTION: World-class antivirus security and cyber protection for Windows (Windows 7 with Service Pack 1, Windows 8, Windows 8.1, Windows 10, and Windows 11), Mac OS (Yosemite 10.10 or later), iOS (11.2 or later), and Android (5.0 or later). Organize and keep your digital life safe from hackers
- SAFE ONLINE BANKING: A unique, dedicated browser secures your online transactions; Our Total Security product also includes 200MB per day of our new and improved Bitdefender VPN
- ADVANCED THREAT DEFENSE: Real-Time Data Protection, Multi-Layer Malware and Ransomware Protection, Social Network Protection, Game/Movie/Work Modes, Microphone Monitor, Webcam Protection, Anti-Tracker, Phishing, Fraud, and Spam Protection, File Shredder, Parental Controls, and more
- ECO-FRIENDLY PACKAGING: Your product-specific code is printed on a card and shipped inside a protective cardboard sleeve. Simply open packaging and scratch off security ink on the card to reveal your activation code. No more bulky box or hard-to-recycle discs. PLEASE NOTE: Product packaging may vary from the images shown, however the product is the same.
Avast Antivirus also documents a Command Line exception option. Use it only when the interruption concerns a command-line path or workflow and you understand the scope of what you are excluding.
Add an exception in Avast Security on macOS
Avast documents separate controls for scan exclusions and File Shield exclusions:
Rank #2
- ONGOING PROTECTION Download instantly & install protection for 5 PCs, Macs, iOS or Android devices in minutes!
- TOP-PERFORMING VPN Faster speeds, more server locations, and greater connection control to protect your privacy across all your devices, including Smart TVs.
- ADVANCED SCAM PROTECTION Help spot hidden scams online. With the built-in Genie AI assistant, you’ll never wonder if a message or email is suspicious again.
- REAL-TIME PROTECTION Advanced security protects against existing and emerging malware threats, including ransomware and viruses, and it won’t slow down your device performance.
- DARK WEB MONITORING Identity thieves can buy or sell your information on websites and forums. We search the dark web and notify you should your information be found.
- For a scan: Open Avast Security, go to Preferences > Scans, choose the relevant scan type, select Add exceptions, and choose the file, folder, or application.
- For File Shield: Go to Preferences > Core Shields > File Shield > Add exceptions.
Web Guard exceptions apply to websites or domains, not code files, so they are not the appropriate setting for a source file or local project directory.
If you use Avast One
Do not assume that Avast Antivirus menu paths also apply to Avast One. Avast directs Avast One users to separate exclusion instructions. Confirm the app name and follow the support guidance for that product and version rather than trying to translate the Antivirus steps.
Rank #3
- ONGOING PROTECTION Download instantly & install protection for 10 PCs, Macs, iOS or Android devices in minutes!
- TOP-PERFORMING VPN Faster speeds, more server locations, and greater connection control to protect your privacy across all your devices, including Smart TVs.
- ADVANCED SCAM PROTECTION Help spot hidden scams online. With the built-in Genie AI assistant, you’ll never wonder if a message or email is suspicious again.
- REAL-TIME PROTECTION Advanced security protects against existing and emerging malware threats, including ransomware and viruses, and it won’t slow down your device performance.
- DARK WEB MONITORING Identity thieves can buy or sell your information on websites and forums. We search the dark web and notify you should your information be found.
Choose the narrowest exception that works
- Single file: Limits the rule to one item and is easiest to review or remove, but may not address repeated alerts on newly generated output.
- Build or output folder: Can cover recurring generated files while keeping the exception within a defined part of the project.
- Whole project folder: A broader choice that may exempt source files and other contents beneath that path; use it only when that scope is justified.
- All scans and shields: Broadest protection impact. If Avast’s Advanced options let you limit the exception to a particular feature, choose only what resolves the specific interruption.
What to do if the alert continues
- Verify the alert’s file path and make sure it matches the file or folder you intended to exempt.
- Check the file’s origin and integrity. Be especially cautious with an unexpected binary, unfamiliar dependency, downloaded archive, or script you did not expect.
- If you still cannot verify the file, leave it protected and use VirusTotal or Avast Threat Labs as Avast suggests.
- If the file is trusted, try an exception limited to that file or its necessary output folder, and to the relevant scan or shield where the controls allow it.
- Review and remove the exception when the development task or need has ended.
Do not disable all shields just to make a build run. An exception trades protection for fewer interruptions on the path or feature it covers; keeping that scope small makes the trade-off easier to understand and reverse.
Quick Recap
Best Value
- POWERFUL, LIGHTNING-FAST ANTIVIRUS: Protects your computer from viruses and malware through the cloud; Webroot scans faster, uses fewer system resources and safeguards your devices in real-time by identifying and blocking new threats
- IDENTITY THEFT PROTECTION: Protects your usernames, account numbers and other personal information against keyloggers, spyware and other online threats targeting valuable personal data
- REAL-TIME ANTI-PHISHING: Proactively scans websites, emails and other communications and warns you of potential danger before you click to effectively stop malicious attempts to steal your personal information
- ALWAYS UP TO DATE: Webroot scours 95% of the Internet three times per day including billions of web pages, files and apps to determine what is safe online and enhances the software automatically without time-consuming updates
Rank #4
- THREAT DETECTION – Stay one step ahead. Suspicious links, risky sites, viruses, and scams, caught automatically before they reach you.
- PERSONAL INFO PROTECTION – Keep your personal info safer. Identity monitoring watches for your exposed info and tells you what to do about it.
- SECURE CONNECTIONS – Just a few easy clicks, and we'll automatically protect your info on public Wi‑Fi, every time you connect.
- GUIDED ACTION – Know what matters and what to do next. Clear alerts and simple guidance make it easy to take action.
- MORE THAN ANTIVIRUS – Scam protection, identity monitoring, VPN, web protection, and antivirus work together to protect you, all in one place.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




