Exclusions

In the Exclusions section, you can specify the list of files and folders to exclude from the anti-virus check.

To edit lists of files and paths excluded from scan

1.In the Excluded paths and files line, specify a path to corresponding file or folder.

2.To add a new line, click icon-item-add, and specify a path in the new line.

3.To remove a path from the list, click icon-item-remove next to the corresponding line.

The list of paths excluded from the scan can contain the following elements:

1.Direct path in the explicit form to the excluded object. At this:

A character \ or / excludes the entire disc with the OS installation folder,

A character \ at the end of a path excludes the folder from checking,

A path without a character \ at the end—all subfolders of the selected folder are excluded from checking.

For Windows: C:\Windows instructs to skip scanning files of the C:\Windows folder and all its subfolders.

For UNIX system-based OS: /etc instructs to skip scanning files of the /etc folder and all its subfolders.

2.Masks of objects, excluded from the scan. The ? and the * symbols can be used to specify masks.

For Windows: C:\Windows\*\*.dll instructs to skip scanning all files with the dll extension in all subfolders of the C:\Windows folder.

For UNIX system-based OS: /etc/*/*.pub instructs to skip scanning all files with the pub extension in all subfolders of the /etc folder.

3.Environment variables set in the operating system as a part of path to objects to be excluded from the scan.

For Windows: %WINDIR%\SysWOW64\ instructs to skip scanning all files in the SysWOW64 subfolder of the C:\Windows folder.

For UNIX system-based OS: /home/*/network instructs to skip scanning all files in the network subfolder of the /home folder.

4.Regular expression. Paths can be specified through regular expressions. Any file those full name (with the path) corresponds to a regular expression is excluded from checking.

info

Before starting Dr.Web Scanner for Windows, make sure to check recommendations on virus scanning for computers running Windows OS. The information can be found at https://support.microsoft.com/en-us/topic/virus-scanning-recommendations-for-enterprise-computers-that-are-running-currently-supported-versions-of-windows-c067a732-f24a-9079-d240-3733e39b40bc. This article is meant to help you improve the system performance.

The syntax of regular expressions used for excluding paths from scanning is as follows:

qr{expression}flags

As a flag mostly the character i is used. It instructs "to ignore letter case difference".

Examples of specifying excluded paths through regular expressions

Regular expression

Meaning

qr{\\pagefile\.sys$}i

skip scanning Windows OS swap files

qr{\\notepad\.exe$}i

skip scanning notepad.exe files

qr{^C:}i

skip scanning disk C

qr{^.:\\WINNT\\}i

skip scanning WINNT catalogs on all disks

qr{(^C:)|(^.:\\WINNT\\)}i

skip scanning disk C and WINNT catalogs on all disks

qr{^C:\\dir1\\dir2\\file\.ext$}i

skip scanning the c:\dir1\dir2\file.ext file

qr{^C:\\dir1\\dir2\\(.+\\)?file\.ext$}i

skip scanning file.ext, if it is located in the c:\dir1\dir2 catalog and its subcatalogs

qr{^C:\\dir1\\dir2\\}i

skip scanning c:\dir1\dir2 and its subcatalogs

qr{dir\\[^\\]+}i

skip scanning the dir subcatalog located in any catalog, but scan its subcatalogs

qr{dir\\}i

skip scanning the dir subcatalog located in any catalog and its subcatalogs

Regular expressions briefly described in the Appendices document, in the Appendix J. Regular Expressions Used in Dr.Web Enterprise Security Suite section.

In the Scan contents of the following files subsection, you can disable the check of compound objects. For this, clear the following flags:

The Archives flag instructs the Scanner to search for viruses in files within archives.

The Email files flag instructs to scan mailboxes.

The Installation packages flag instructs the Scanner to search for viruses in packages for program installation.