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 exceptions excludes individual files/folders or websites from all scans and shields.

To define an 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 excludes website domains, files and folders, or commands from all scans and shields.

To define an advanced exception:

  1. Open Avast Antivirus and go to MenuSettings.
  2. Select GeneralExceptions, then click Add advanced exception.
  3. Select the tab according to the type of exception you want to add:
    • Website / Domain: Enter the URL domain to exclude all pages with this domain name, such as www.example.com then click Submit.
    • File / Folder: Type the specific file/folder path, or click Browse to navigate to it. Optionally, untick a feature you want to allow to access the exception. Exceptions do not apply to the features that remain unticked in this section. Click Submit.
    • Command: Enter the Command and, optionally, Command parameters, then click Submit.
      A Command Line exception excludes all files on your hard disk drive that have the same file name, but are located in different folders.

Your specified website domain, file/folder, or command is added to the exceptions list.

Manage your Exceptions list

After you set an exception, you can modify each item on your Exceptions list individually.

  1. Open Avast Antivirus and go to MenuSettings.
  2. Select GeneralExceptions.
  3. Hover the cursor over the relevant exception, then select an option:
    • Edit (the pencil icon): to edit the exception.
    • Remove (the trash icon): to remove the exception from your list.
    The Exceptions 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