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-server-exclusions-microsoft-defender-antivirus.md
+35-20Lines changed: 35 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ description: Windows Server includes automatic exclusions, based on server role.
6
6
ms.service: defender-endpoint
7
7
ms.subservice: ngp
8
8
ms.localizationpriority: medium
9
-
ms.date: 03/14/2025
9
+
ms.date: 03/28/2025
10
10
author: emmwalshh
11
11
ms.author: ewalsh
12
12
ms.topic: conceptual
@@ -30,36 +30,47 @@ search.appverid: met150
30
30
31
31
- Windows Server
32
32
33
+
34
+
> [!IMPORTANT]
35
+
> ## Important notes about automatic exclusions on Windows Server
36
+
>
37
+
> -[Custom exclusions](configure-exclusions-microsoft-defender-antivirus.md) take precedence over automatic exclusions. When a custom exclusion is set for a path that also has a duplicate automatic or built-in exclusion, the custom exclusion will always apply.
38
+
> - Automatic exclusions only apply to [real-time protection (RTP)](configure-protection-features-microsoft-defender-antivirus.md) scanning. Other scan activity, for example [Network Inspection](network-protection.md) and [Behavior Monitoring](behavior-monitor.md), will not be excluded. To exclude other scan types, please use custom exclusions.
39
+
> - Automatic exclusions aren't honored during a [quick scan, full scan, and custom scan](schedule-antivirus-scans.md#comparing-the-quick-scan-full-scan-and-custom-scan). To exclude other scan types, please use custom exclusions.
40
+
> - Built-in exclusions and automatic server role exclusions don't appear in the standard exclusion lists that are shown in the [Windows Security app](microsoft-defender-security-center-antivirus.md).
41
+
> - Microsoft Defender Antivirus uses the Deployment Image Servicing and Management (DISM) tools to determine which roles are installed on your computer.
42
+
> - Appropriate exclusions must be set for software that isn't included with the operating system.
43
+
> - The list of built-in exclusions applied by Microsoft Defender Antivirus is kept up to date as the threat landscape changes. This article lists some, but not all, of the built-in and automatic exclusions.
44
+
45
+
## Overview
46
+
33
47
This article describes types of exclusions that you don't have to define for Microsoft Defender Antivirus:
34
48
35
-
-[Built-in exclusions](#built-in-exclusions) for operating system files on all versions of Windows.
36
49
-[Automatic exclusions](#automatic-server-role-exclusions) for roles on Windows Server 2016 and later.
50
+
-[Built-in exclusions](#built-in-exclusions) for operating system files on all versions of Windows.
37
51
38
52
For a more detailed overview of exclusions, see [Manage exclusions for Microsoft Defender for Endpoint and Microsoft Defender Antivirus](defender-endpoint-antivirus-exclusions.md).
39
53
40
-
## A few important points about exclusions on Windows Server
54
+
## Automatic server role exclusions
41
55
42
-
- Custom exclusions take precedence over automatic exclusions.
43
-
- Automatic exclusions only apply to [real-time protection (RTP)](configure-protection-features-microsoft-defender-antivirus.md) scanning.
44
-
- Automatic exclusions aren't honored during a [quick scan, full scan, and custom scan](schedule-antivirus-scans.md#comparing-the-quick-scan-full-scan-and-custom-scan).
45
-
- Custom and duplicate exclusions don't conflict with automatic exclusions.
46
-
- Microsoft Defender Antivirus uses the Deployment Image Servicing and Management (DISM) tools to determine which roles are installed on your computer.
47
-
- Appropriate exclusions must be set for software that isn't included with the operating system.
48
-
- Windows Server 2012 R2 doesn't have Microsoft Defender Antivirus as an installable feature. When you onboard those servers to Defender for Endpoint, you'll install Microsoft Defender Antivirus, and default exclusions for operating system files are applied. However, exclusions for server roles (as specified below) don't apply automatically, and you should configure these exclusions as appropriate. To learn more, see [Onboard Windows servers to the Microsoft Defender for Endpoint service](configure-server-endpoints.md).
49
-
- Built-in exclusions and automatic server role exclusions don't appear in the standard exclusion lists that are shown in the [Windows Security app](microsoft-defender-security-center-antivirus.md).
50
-
- The list of built-in exclusions in Windows is kept up to date as the threat landscape changes. This article lists some, but not all, of the built-in and automatic exclusions.
56
+
Automatic server role exclusions will apply specific sets of automatic path and process exclusions based on the roles that you select for the server.
51
57
52
-
## Automatic server role exclusions
58
+
> [!NOTE]
59
+
> - Please see [Important Notes](#important-notes-about-automatic-exclusions-on-windows-server)
60
+
> - Default locations could be different than the locations that are described in this article.
61
+
> - The list of built-in exclusions applied by Microsoft Defender Antivirus is kept up to date as the threat landscape changes. This article lists some, but not all, of the automatic server role exclusions.
62
+
> - To set exclusions for software that isn't included as a Windows feature or server role, refer to the software manufacturer's documentation.
63
+
64
+
### Windows Server 2016 or later
53
65
54
66
On Windows Server 2016 or later, you shouldn't need to define exclusions for server roles. When you install a role on Windows Server 2016 or later, Microsoft Defender Antivirus includes automatic exclusions for the server role and any files that are added while installing the role.
55
67
56
-
Windows Server 2012 R2 does not support the automatic exclusions feature. You'll need to define explicit exclusions for any server role and any software that's added after installing the operating system.
68
+
### Windows Server 2012 R2
69
+
70
+
Windows Server 2012 R2 does not support the automatic server role exclusions feature. Windows Server 2012 R2 also does not have Microsoft Defender Antivirus as an installable feature. When you onboard those servers to Defender for Endpoint, you'll install Microsoft Defender Antivirus, and default built-in exclusions for operating system files are applied. However, automatic server role exclusions (as specified below) will not be automatically applied. If these exclusions are desired, you should add custom exclusions for these paths and proceesses as appropriate. To learn more about onboarding Microsoft Defender Antivirus on Windows Server 2012 R2, see [Onboard Windows servers to the Microsoft Defender for Endpoint service](configure-server-endpoints.md).
57
71
58
-
> [!IMPORTANT]
59
-
> - Default locations could be different than the locations that are described in this article.
60
-
> - To set exclusions for software that isn't included as a Windows feature or server role, refer to the software manufacturer's documentation.
61
72
62
-
Automatic exclusions include:
73
+
### Automatic exclusions include:
63
74
64
75
-[Hyper-V exclusions](#hyper-v-exclusions)
65
76
-[SYSVOL files](#sysvol-files)
@@ -229,9 +240,14 @@ This section lists the folder exclusions that are delivered automatically when y
229
240
230
241
## Built-in exclusions
231
242
243
+
> [!NOTE]
244
+
> - Please see [Important Notes](#important-notes-about-automatic-exclusions-on-windows-server)
245
+
> - Default locations could be different than the locations that are described in this article.
246
+
> - The list of built-in exclusions applied by Microsoft Defender Antivirus is kept up to date as the threat landscape changes. This article lists some, but not all, of the built-in exclusions.
247
+
232
248
Because Microsoft Defender Antivirus is built into Windows, it doesn't require exclusions for operating system files on any version of Windows.
0 commit comments