Skip to content

Commit 80642a4

Browse files
authored
Merge pull request #235 from msftsichrist/patch-1
Improve clarity on Automatic Role Based and Built-in Exclusions on Windows Server
2 parents baa99a2 + 2350d4a commit 80642a4

File tree

1 file changed

+35
-20
lines changed

1 file changed

+35
-20
lines changed

defender-endpoint/configure-server-exclusions-microsoft-defender-antivirus.md

Lines changed: 35 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Windows Server includes automatic exclusions, based on server role.
66
ms.service: defender-endpoint
77
ms.subservice: ngp
88
ms.localizationpriority: medium
9-
ms.date: 03/14/2025
9+
ms.date: 03/28/2025
1010
author: emmwalshh
1111
ms.author: ewalsh
1212
ms.topic: conceptual
@@ -30,36 +30,47 @@ search.appverid: met150
3030

3131
- Windows Server
3232

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+
3347
This article describes types of exclusions that you don't have to define for Microsoft Defender Antivirus:
3448

35-
- [Built-in exclusions](#built-in-exclusions) for operating system files on all versions of Windows.
3649
- [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.
3751

3852
For a more detailed overview of exclusions, see [Manage exclusions for Microsoft Defender for Endpoint and Microsoft Defender Antivirus](defender-endpoint-antivirus-exclusions.md).
3953

40-
## A few important points about exclusions on Windows Server
54+
## Automatic server role exclusions
4155

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.
5157

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
5365

5466
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.
5567

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).
5771

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.
6172

62-
Automatic exclusions include:
73+
### Automatic exclusions include:
6374

6475
- [Hyper-V exclusions](#hyper-v-exclusions)
6576
- [SYSVOL files](#sysvol-files)
@@ -229,9 +240,14 @@ This section lists the folder exclusions that are delivered automatically when y
229240

230241
## Built-in exclusions
231242

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+
232248
Because Microsoft Defender Antivirus is built into Windows, it doesn't require exclusions for operating system files on any version of Windows.
233249

234-
Built-in exclusions include:
250+
### Built-in exclusions include:
235251

236252
- [Windows "temp.edb" files](#windows-tempedb-files)
237253
- [Windows Update files or Automatic Update files](#windows-update-files-or-automatic-update-files)
@@ -241,7 +257,6 @@ Built-in exclusions include:
241257
- [File Replication Service (FRS) exclusions](#file-replication-service-frs-exclusions)
242258
- [Process exclusions for built-in operating system files](#process-exclusions-for-built-in-operating-system-files)
243259

244-
The list of built-in exclusions in Windows is kept up to date as the threat landscape changes.
245260

246261
### Windows "temp.edb" files
247262

0 commit comments

Comments
 (0)