Add or edit exclusions

This dialog window enables you to add or edit exclusions. Choose the exclusion Type from the drop-down menu:

Exclude path

Excludes specific path (file or directory) for this computer. Choose an appropriate path by clicking ... in the Path field.


See more exclusion format examples below.

Exclude threat

A valid ESET detection / threat name should be provided. For a valid detection name, see Log files and then select Detections from the Log files drop-down menu. This is useful when a false positive sample is being detected in ESET NOD32 Antivirus. Exclusions for real infiltrations are very dangerous, consider excluding only affected files / directories by clicking ... in the Path mask field and/or only for a temporary period of time. Exclusions apply also to Potentially unwanted applications, potentially unsafe applications and suspicious applications.


See also Threat exclusions example below.

Exclude hash

Excludes a file based on specified hash (SHA1), regardless of the file type, location, name or its extension.



You can use wildcards to cover a group of files. A question mark (?) represents a single variable character whereas an asterisk (*) represents a variable string of zero or more characters.


Exclusion format

If you want to exclude all files in a folder, type the path to the folder and use the mask *.*

To exclude an entire drive including all files and subfolders, use the mask D:\*

If you want to exclude doc files only, use the mask *.doc

If the name of an executable file has a certain number of characters (and characters vary) and you only know the first one for sure (say “D”), use the following format:
D????.exe (question marks replace the missing / unknown characters)


System variables in exclusions

You can use system variables like %PROGRAMFILES% to define scan exclusions.

To exclude the Program Files folder using this system variable, use the path %PROGRAMFILES%\ (remember to add backslash at the end of path) when adding to exclusions

To exclude all files in a %HOMEDRIVE% subdirectory, use the path %HOMEDRIVE%\Excluded_Directory\*.*

hmtoggle_plus0 Expand list of supported system variables


Exclusions by using an asterisk

A few more exclusion examples using an asterisk:

C:\Tools - will be automatically converted to C:\Tools\*.*
C:\Tools\*.dat - will exclude .dat files in the Tools folder
C:\Tools\sg.dat - will exclude this particular file located in the exact path

When you select Exclude path, wildcards in the middle of a path (for example C:\Tools\*\Data\file.dat) are not recommended to use unless your system infrastructure requires it. See the following Knowledgebase article for more information.

When you select Exclude threat, you can use wildcards in the middle of a path anytime.


Order of exclusions

There are no options to adjust the priority level of exclusions using the top/bottom buttons

When the first applicable rule is matched by the scanner, the second applicable rule will not be evaluated

The fewer rules, the better scanning performance

Avoid creating concurrent rules


Threat exclusions

If you want to exclude a threat, enter a valid detection name:


You can also observe the following format when you exclude a detection from the ESET NOD32 Antivirus alert window: