You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: defender-endpoint/configure-contextual-file-folder-exclusions-microsoft-defender-antivirus.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,9 +106,7 @@ To ensure an exclusion only applies if the target is a folder, not a file you ca
106
106
107
107
#### Files
108
108
109
-
To make sure an exclusion only applies if the target is a file, not a folder you can use the PathType: file restriction.
110
-
111
-
Example:
109
+
To make sure an exclusion only applies if the target is a file, not a folder you can use the PathType: file restriction. For example:
112
110
113
111
`C:\documents\*.mdb\:{PathType:file}`
114
112
@@ -126,11 +124,11 @@ To exclude a folder from being scanned only during a full scan, specify a restri
126
124
127
125
`C:\documents\:{ScanType:full}`
128
126
129
-
To exclude a folder from being scanned only during a quick scan, specify a restriction type together with the file or folder exclusion:
127
+
To exclude a folder from being scanned only during a quick scan, specify a restriction type together with the file or folder exclusion, as in the following example:
130
128
131
129
`C:\program.exe\:{ScanType:quick}`
132
130
133
-
If you want to make sure this exclusion only applies to a specific file and not a folder (c:\foo.exe could be a folder), also apply the PathType restriction:
131
+
If you want to make sure this exclusion only applies to a specific file and not a folder (c:\foo.exe could be a folder), also apply the `PathType` restriction, as in the following example:
134
132
135
133
`C:\program.exe\:{ScanType:quick,PathType:file}`
136
134
@@ -163,4 +161,9 @@ After constructing your desired contextual exclusions, you can use your existing
163
161
164
162
See [Configure and validate exclusions for Microsoft Defender Antivirus scans](configure-exclusions-microsoft-defender-antivirus.md).
0 commit comments