Although it is generally not recommended, you may want to exclude certain files, folders, or websites from being scanned by Avast Antivirus. This can speed up your scans and prevent false-positive detections.
Refer to the sections below to manage exceptions in Avast Antivirus:
Add an exception
Setting an exception will exclude individual files, folders, or websites from all scans and shields.
To set an exception:
- Open Avast Antivirus and go to
☰
Menu ▸ Settings. - Select General ▸ Exceptions, then click Add exception.
- Read through the questions to ask and click Next ▸ I understand risks.
- Add an exception in one of the following ways:
- Type the specific file / folder path or URL into the text box, then click Add exception.
- Click Browse, tick the box next to a file or folder, then click OK ▸ Add exception.
Your specified file, folder, or website is added to the exceptions list.
Add an advanced exception
Setting advanced exceptions allows you to define your exclusions more precisely.
To set an advanced exception:
- Open Avast Antivirus and go to
☰
Menu ▸ Settings. - Select General ▸ Exceptions, then click Add advanced exception.
The following advanced exceptions are available:
- Website / Domain: Excludes all websites that contain the same domain name.
- File / Folder: Excludes files / folders with the option to specify your exclusions.
- Command: Excludes scripts presented on the command line.
- Real Site: Excludes a website URL from Real Site.
Website / Domain
- Select the Website / Domain tab.
- Enter a URL domain to exclude all pages with this domain name, then optionally tick or untick Apply to Web Shield and Apply to Bank Mode, and click Add exception.
File / Folder
- Select the File/Folder tab.
- Type the specific file/folder path, or click Browse to navigate to it.
- Optionally, untick a feature you do not want the exception to apply for:
- Apply to all scans: Enables all scans.
- Apply to Behavior Shield: Warns you if any application behaves suspiciously.
- Apply to File Shield: Scans any file added to or opened on your PC.
- CyberCapture: Analyzes unrecognized files and warns you about new threats.
- Hardened Mode: Determines which executable files are safe to open.
- Click Add exception.
Command
- Select the Command tab.
- Enter the Command and optionally provide Command parameters, then click Add exception.
Real Site
- Select the Website / Domain tab.
- Type the website URL into the text box using the example below as a reference:
dns://*.example.net*
. Then, optionally tick or untick Apply to Web Shield and Apply to Bank Mode, and click Add exception.
Manage exceptions
You can manage your current exceptions via the application settings:
- Open Avast Antivirus and go to
☰
Menu ▸ Settings. - Select General ▸ Exceptions.
- Hover the cursor over the relevant exception, then select an option:
- Pencil icon: Edit the exception.
- Trash icon: Remove the exception from your list.
Further recommendations
For other related topics, refer to the following articles:
Although it is generally not recommended, you may want to exclude certain files, folders, or websites from being scanned by Avast Security. This can speed up your scans and prevent false-positive detections.
Refer to the sections below to manage exceptions in Avast Security:
Add an exception
To exclude files, folders, or applications from being scanned by Avast Security:
- Open Avast Security and click
☰
Menu ▸ Preferences (the gear icon). - Select the Scans tab.
- Choose the relevant scan type.
- Click Add exceptions.
- Select the file, folder, or application you want to exclude from being scanned, then click Open.
- If prompted, enter the password that you use when you start your Mac, then click OK to authorize the change.
The file path is added to the exceptions list.
To exclude files, folders, or applications from being scanned by File Shield:
- Open Avast Security and click
☰
Menu ▸ Preferences (the gear icon). - Select the Core Shields tab.
- Choose File Shield.
- Click Add exceptions.
- Select the file, folder, or application you want to exclude from being scanned, then click Open.
- If prompted, enter the password that you use when you start your Mac, then click OK to authorize the change.
The file path is added to the exceptions list.
To exclude websites or domains from being scanned by Web Shield:
- Open Avast Security and click
☰
Menu ▸ Preferences (the gear icon). - Select the Core Shields tab.
- Choose Web Shield.
- Click Add exceptions.
- Enter the URL of the website you want to exclude from being scanned and select the Web server services type, then click Add.
- If prompted, enter the password that you use when you start your Mac, then click OK to authorize the change.
The website is added to the exceptions list.
- Avast Free Antivirus 24.x
- Avast Premium Security 24.x
- Avast Security 15.x for Mac
- Avast Premium Security 15.x for Mac
- Microsoft Windows 11 Home / Pro / Enterprise / Education
- Microsoft Windows 10 Home / Pro / Enterprise / Education - 32 / 64-bit
- Microsoft Windows 8.1 / Pro / Enterprise - 32 / 64-bit
- Microsoft Windows 8 / Pro / Enterprise - 32 / 64-bit
- Microsoft Windows 7 Home Basic / Home Premium / Professional / Enterprise / Ultimate - Service Pack 1 with Convenient Rollup Update, 32 / 64-bit
- Apple macOS 14.x (Sonoma)
- Apple macOS 13.x (Ventura)
- Apple macOS 12.x (Monterey)
- Apple macOS 11.x (Big Sur)
- Apple macOS 10.15.x (Catalina)
- Apple macOS 10.14.x (Mojave)
- Apple macOS 10.13.x (High Sierra)
- Apple macOS 10.12.x (Sierra)
- Apple Mac OS X 10.11.x (El Capitan)
Updated on: 6/2/22