Skip to content

Commit 69b05e2

Browse files
authored
Merge pull request #3394 from MicrosoftDocs/mde-content-freshness
content freshness update
2 parents 710fdb7 + ac303c0 commit 69b05e2

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

defender-endpoint/configure-process-opened-file-exclusions-microsoft-defender-antivirus.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.collection:
1515
- tier2
1616
- mde-ngp
1717
search.appverid: met150
18-
ms.date: 03/19/2024
18+
ms.date: 04/07/2025
1919
---
2020

2121

@@ -45,7 +45,7 @@ This article describes how to configure exclusion lists.
4545
|Any file on the machine that is opened by any process under a specific folder|Specifying `c:\test\sample\*` would exclude files opened by: <p> `c:\test\sample\test.exe` <p> `c:\test\sample\test2.exe` <p> `c:\test\sample\utility.exe`|
4646
|Any file on the machine that is opened by a specific process in a specific folder|Specifying `c:\test\process.exe` would exclude files only opened by `c:\test\process.exe`|
4747

48-
When you add a process to the process exclusion list, Microsoft Defender Antivirus won't scan files opened by that process, no matter where the files are located. The process itself, however, will be scanned unless it has also been added to the [file exclusion list](configure-extension-file-exclusions-microsoft-defender-antivirus.md).
48+
When you add a process to the process exclusion list, Microsoft Defender Antivirus won't scan files opened by that process, no matter where the files are located. The process itself, however, is scanned unless it's added to the [file exclusion list](configure-extension-file-exclusions-microsoft-defender-antivirus.md).
4949

5050
The exclusions only apply to [always-on real-time protection and monitoring](configure-real-time-protection-microsoft-defender-antivirus.md). They don't apply to scheduled or on-demand scans.
5151

@@ -60,15 +60,15 @@ By default, local changes made to the lists (by users with administrator privile
6060
You can [configure how locally and globally defined exclusions lists are merged](configure-local-policy-overrides-microsoft-defender-antivirus.md#merge-lists) to allow local changes to override managed deployment settings.
6161

6262
> [!NOTE]
63-
> **Network Protection** and **Attack surface reduction rules** are directly impacted by process exclusions on all platforms, meaning that a process exclusion on any OS (Windows, MacOS, Linux) will result in Network Protection or ASR being unable to inspect traffic or enforce rules for that specific process.
63+
> **Network Protection** and **Attack surface reduction rules** are directly impacted by process exclusions on all platforms, meaning that a process exclusion on any OS (Windows, macOS, Linux) results in Network Protection or ASR being unable to inspect traffic or enforce rules for that specific process.
6464
6565
### Image name vs full path for process exclusions
6666

67-
Two different types of process exclusions may be set. A process may be excluded by image name, or by full path. The image name is simply the file name of the process, without the path.
67+
Two different types of process exclusions might be set. A process might be excluded by image name, or by full path. The image name is simply the file name of the process, without the path.
6868

6969
For example, given the process `MyProcess.exe` running from `C:\MyFolder\` the full path to this process would be `C:\MyFolder\MyProcess.exe` and the image name is `MyProcess.exe`.
7070

71-
Image name exclusions are much more broad - an exclusion on `MyProcess.exe` excludes any processes with this image name, regardless of the path they're run from. So for example, if the process `MyProcess.exe` is excluded by image name, it will also be excluded if it is run from `C:\MyOtherFolder`, from removable media, et cetera. As such it's recommended that whenever possible, the full path is used.
71+
Image name exclusions are much more broad - an exclusion on `MyProcess.exe` excludes any processes with this image name, regardless of the path they're run from. So for example, if the process `MyProcess.exe` is excluded by image name, it will also be excluded if it's run from `C:\MyOtherFolder`, from removable media, et cetera. As such it's recommended that whenever possible, the full path is used.
7272

7373
### Use wildcards in the process exclusion list
7474

@@ -88,7 +88,7 @@ The following table describes how the wildcards can be used in the process exclu
8888

8989
### Contextual Process Exclusions
9090

91-
A process exclusion may also be defined via a [Contextual exclusion](configure-contextual-file-folder-exclusions-microsoft-defender-antivirus.md) allowing, for example, a specific file to be excluded only if it's opened by a specific process.
91+
A process exclusion might also be defined via a [Contextual exclusion](configure-contextual-file-folder-exclusions-microsoft-defender-antivirus.md) allowing, for example, a specific file to be excluded only if it's opened by a specific process.
9292

9393
## Configure the list of exclusions for files opened by specified processes
9494

@@ -98,26 +98,26 @@ For more information, see [Configure device restriction settings in Microsoft In
9898

9999
### Use Microsoft Configuration Manager to exclude files that have been opened by specified processes from scans
100100

101-
See [How to create and deploy antimalware policies: Exclusion settings](/configmgr/protect/deploy-use/endpoint-antimalware-policies#exclusion-settings) for details on configuring Microsoft Configuration Manager (current branch).
101+
See [How to create and deploy anti-malware policies: Exclusion settings](/configmgr/protect/deploy-use/endpoint-antimalware-policies#exclusion-settings) for details on configuring Microsoft Configuration Manager (current branch).
102102

103103
### Use Group Policy to exclude files that have been opened by specified processes from scans
104104

105-
1. On your Group Policy management computer, open the [Group Policy Management Console](/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc731212(v=ws.11)), right-click the Group Policy Object you want to configure and click **Edit**.
105+
1. On your Group Policy management computer, open the [Group Policy Management Console](/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc731212(v=ws.11)). Right-click the Group Policy Object you want to configure and select **Edit**.
106106

107-
2. In the **Group Policy Management Editor**, go to **Computer configuration** and click **Administrative templates**.
107+
2. In the **Group Policy Management Editor**, go to **Computer configuration** and select **Administrative templates**.
108108

109109
3. Expand the tree to **Windows components \> Microsoft Defender Antivirus \> Exclusions**.
110110

111111
4. Double-click **Process Exclusions** and add the exclusions:
112112
1. Set the option to **Enabled**.
113-
2. Under the **Options** section, click **Show...**.
113+
2. Under the **Options** section, select **Show...**.
114114
3. Enter each process on its own line under the **Value name** column. See the example table for the different types of process exclusions. Enter **0** in the **Value** column for all processes.
115115

116-
5. Click **OK**.
116+
5. Select **OK**.
117117

118118
### Use PowerShell cmdlets to exclude files that have been opened by specified processes from scans
119119

120-
Using PowerShell to add or remove exclusions for files that have been opened by processes requires using a combination of three cmdlets with the `-ExclusionProcess` parameter. The cmdlets are all in the [Defender module](/powershell/module/defender/).
120+
Using PowerShell to add or remove exclusions for files that are opened by processes requires using a combination of three cmdlets with the `-ExclusionProcess` parameter. The cmdlets are all in the [Defender module](/powershell/module/defender/).
121121

122122
The format for the cmdlets is:
123123

@@ -134,7 +134,7 @@ The following are allowed as the \<cmdlet\>:
134134
|Remove items from the list|`Remove-MpPreference`|
135135

136136
> [!IMPORTANT]
137-
> If you have created a list, either with `Set-MpPreference` or `Add-MpPreference`, using the `Set-MpPreference` cmdlet again overwrites the existing list.
137+
> If you create a list, with either `Set-MpPreference` or `Add-MpPreference`, using the `Set-MpPreference`, cmdlet overwrites the existing list.
138138
139139
For example, the following code snippet would cause Microsoft Defender Antivirus scans to exclude any file that is opened by the specified process:
140140

0 commit comments

Comments
 (0)