Excluding certain files or websites from scanning in Avast Antivirus

Although it is generally not recommended, you may want to exclude certain files, folders, or websites from scanning to speed up your scans or to avoid false-positive detections.

Set exceptions only if you know that the files and websites you want to exclude are not infected. If you are unsure about a file, you can scan it in Virus Total, or add the file to Quarantine and submit it to Avast Threat Labs.

Refer to the sections below to manage exceptions in Avast Antivirus:

Add an exception

Setting global exceptions excludes individual files, folders, or websites from all scans and shields.

To set a global exception:

  1. Open Avast Antivirus and go to MenuSettings.
  2. Select GeneralExceptions, then click Add exception.
  3. 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.

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:

  1. Open Avast Antivirus and go to MenuSettings.
  2. Select GeneralExceptions, then click Add advanced exception.
  3. Select the tab for the type of 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 select features to allow with this exception.
  • Command: excludes all files on your hard disk drive that have the same file name, but are located in different folders.

Website / Domain

  1. Enter a URL domain to exclude all pages with this domain name.
  2. Click Submit.

File / Folder

  1. Type the specific file/folder path, or click Browse to navigate to it.
  2. Optionally, untick a feature you want to allow with this exception:
    • Apply to all scans: Enables scans and disables the selected shields.
    • 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.
  3. Click Submit.


  1. Enter the Command and optionally provide Command parameters.
  2. Click Submit.

Manage exceptions

You can manage your current exceptions via the application settings:

  1. Open Avast Antivirus and go to MenuSettings.
  2. Select GeneralExceptions.
  3. Hover the cursor over the relevant exception, then select an option:
    • Pencil icon: to edit the exception.
    • Trash icon: to remove the exception from your list.
    The list updates automatically.
  • Avast Omni 21.x for Windows
  • Avast Premium Security 21.x for Windows
  • Avast Free Antivirus 21.x for Windows
  • 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

Was this article helpful?

Need additional help?

Contact us