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/microsoft-defender-endpoint-antivirus-performance-mode.md
+26-23Lines changed: 26 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ ms.collection:
14
14
- m365-security
15
15
- tier2
16
16
search.appverid: met150
17
-
ms.date: 09/30/2024
17
+
ms.date: 10/28/2024
18
18
---
19
19
20
20
# Protect Dev Drive using performance mode
@@ -36,17 +36,17 @@ ms.date: 09/30/2024
36
36
37
37
## What is performance mode
38
38
39
-
Performance mode is now available on Windows 11 as a new Microsoft Defender Antivirus capability. Performance mode reduces the performance impact of Microsoft Defender Antivirus scans for files stored on designated _Dev Drive_. The goal of performance mode is to improve functional performance for developers who use Windows 11 devices.
39
+
Performance mode is now available on Windows 11 as a new Microsoft Defender Antivirus capability. Performance mode reduces the performance impact of Microsoft Defender Antivirus scans for files stored on designated Dev Drive. The goal of performance mode is to improve functional performance for developers who use Windows 11 devices.
40
40
41
-
It's important to note that performance mode can run only on Dev Drive. Additionally, real-time protection must be turned on for performance mode to function. Enabling this feature on a Dev Drive doesn't change standard real-time protection running on volumes with operating systems or other volumes formatted FAT32 or NTFS.
41
+
It's important to note that performance mode can run only on Dev Drive. Additionally, real-time protection must be turned on for performance mode to function. Enabling this feature on a Dev Drive doesn't change standard real-time protection running on volumes with operating systems or other volumes formatted as `FAT32` or `NTFS`.
42
42
43
43
### Microsoft Defender Antivirus requirements for performance mode
44
44
45
45
1. Review the requirements that are specific to Dev Drive. See [Set up a Dev Drive on Windows 11](/windows/dev-drive).
46
46
47
-
1. Make sure Microsoft Defender Antivirus is up to date.
47
+
2. Make sure Microsoft Defender Antivirus is up to date.
48
48
49
-
- Microsoft Defender Antivirus needs to be primary
49
+
- Microsoft Defender Antivirus needs to be the primary antivirus/antimalware solution
@@ -59,18 +59,18 @@ For more information about Dev Drive, see: [Set up a Dev Drive on Windows 11](/w
59
59
60
60
### Performance mode compared to real-time protection
61
61
62
-
By default, to give the best possible performance, creating a Dev Drive automatically grants trust in the new volume. A _trusted_ Dev Drive volume causes real-time protection to run in a special _asynchronous_ performance mode for that volume. Running performance mode provides a balance between threat protection and performance. The balance is achieved by deferring security scans until after the _open file_ operation has completed, instead of performing the security scan synchronously while the file operation is being processed. This mode of performing security scans inherently provides faster performance, but with less protection. However, enabling performance mode provides significantly better protection than other _performance tuning_ methods such as using folder exclusions, which block security scans altogether.
62
+
By default, to give the best possible performance, creating a Dev Drive automatically grants trust in the new volume. A trusted Dev Drive volume causes real-time protection to run in a special asynchronous performance mode for that volume. Running performance mode provides a balance between threat protection and performance. The balance is achieved by deferring security scans until after the open file operation has completed, instead of performing the security scan synchronously while the file operation is being processed. This mode of performing security scans inherently provides faster performance, but with less protection. However, enabling performance mode provides significantly better protection than other performance tuning methods, such as using folder exclusions, which block security scans altogether.
63
63
64
64
> [!NOTE]
65
-
> Does not apply for high cpu or high memory usage in Microsoft Defender Antivirus service (MsMpEng.exe or WinDefend or Antimalware Service Executable). If you are troubleshooting a high cpu usage, instead use the Microsoft Defender Antivirus [Performance Analyzer](/defender-endpoint/tune-performance-defender-antivirus) to narrow down to the hot processes/paths and add them to the exclusions. Tip: Use [Contextual exclusions](/defender-endpoint/configure-contextual-file-folder-exclusions-microsoft-defender-antivirus) to target real-time protection (RTP).
65
+
> Using performance mode doesn't apply to high cpu or high memory usage scenarios with Microsoft Defender Antivirus services (`MsMpEng.exe`, `WinDefend`, or Antimalware Service Executable). If you are troubleshooting a high cpu usage, instead use the Microsoft Defender Antivirus [Performance Analyzer](/defender-endpoint/tune-performance-defender-antivirus) to narrow down to the hot processes/paths and add them to the exclusions. Tip: Use [Contextual exclusions](/defender-endpoint/configure-contextual-file-folder-exclusions-microsoft-defender-antivirus) to target real-time protection (RTP).
66
66
The following table summarizes performance mode synchronous and asynchronous scan behavior.
67
67
68
68
| Performance mode state | Scan type | Description | Summary |
69
69
|:---|:---|:---|:---|
70
-
|Not enabled (Off) |**Synchronous** <br> (Real-time protection) | Opening a file initiates a real-time protection scan. | Open now, scan now. |
70
+
|Not enabled (Off) |**Synchronous** <br/> (Real-time protection) | Opening a file initiates a real-time protection scan. | Open now, scan now. |
71
71
|Enabled (On) |**Asynchronous**| File open operations are scanned asynchronously. | Open now, scan later. |
72
72
73
-
An _untrusted_ Dev Drive doesn't have the same benefits as a _trusted_ Dev Drive. Security runs in synchronous, real-time protection mode when a Dev Drive is _untrusted_. Real-time protection scans can affect performance.
73
+
An untrusted Dev Drive doesn't have the same benefits as a trusted Dev Drive. Security runs in synchronous, real-time protection mode when a Dev Drive is untrusted. Real-time protection scans can affect performance.
74
74
75
75
## Manage performance mode
76
76
@@ -84,52 +84,55 @@ Enable performance mode status via the OMA-URI settings shown in the following t
1.In GPMC.msc or GPedit.msc, go to **Computer Configuration** > **Administrative Templates** > **Windows Components** > **Microsoft Defender Antivirus** > **Real-time Protection**.
96
+
1.Using your Group Policy Management Console or Group Policy Editor, go to **Computer Configuration** > **Administrative Templates** > **Windows Components** > **Microsoft Defender Antivirus** > **Real-time Protection**.
:::image type="content" alt-text="Screenshot of Defender_Performance_Mode_10." source="media/microsoft-defender-endpoint-antivirus-performance-mode/defender-performance-mode-10.png" lightbox="media/microsoft-defender-endpoint-antivirus-performance-mode/defender-performance-mode-10.png":::
100
+
:::image type="content" alt-text="Screenshot of Defender Performance Mode 10." source="media/microsoft-defender-endpoint-antivirus-performance-mode/defender-performance-mode-10.png" lightbox="media/microsoft-defender-endpoint-antivirus-performance-mode/defender-performance-mode-10.png":::
101
101
102
-
1. Select **Enabled**.
102
+
2. Select **Enabled**.
103
103
104
-

104
+

105
105
106
-
4. Select **Apply**, and then select **OK**.
106
+
3. Select **Apply**, and then select **OK**.
107
+
108
+
> [!NOTE]
109
+
> The updated Group Policy Template **Configure performance mode status**, located under **Real-Time Protection** is only available after you install the [Windows 11 2024 Update (24H2)](https://www.microsoft.com/en-us/download/details.aspx?id=106254&msockid=361c21bb46b6605111133499470c6155).
107
110
108
111
### PowerShell
109
112
110
113
1. Open PowerShell as an administrator on the device.
111
114
112
115
1. Type `set-MpPreference -PerformanceModeStatus Enabled`, and then press Enter.
113
116
114
-

117
+

115
118
116
119
## Verify performance mode is enabled
117
120
118
121
To verify that Dev Drive and Defender Performance Mode is enabled, follow these steps:
119
122
120
123
1. In the Windows Security App, go to **Virus & threat Protection settings** > **Manage settings**, and verify that Dev Drive protection is enabled.
121
124
122
-
:::image type="content" alt-text="Screenshot of Defender_Performance_Mode_02." source="media/microsoft-defender-endpoint-antivirus-performance-mode/defender-performance-mode-02.png" lightbox="media/microsoft-defender-endpoint-antivirus-performance-mode/defender-performance-mode-02.png":::
125
+
:::image type="content" alt-text="Screenshot of Defender Performance Mode 02." source="media/microsoft-defender-endpoint-antivirus-performance-mode/defender-performance-mode-02.png" lightbox="media/microsoft-defender-endpoint-antivirus-performance-mode/defender-performance-mode-02.png":::
123
126
124
127
2. Select **See volumes**.
125
128
126
-
:::image type="content" alt-text="Screenshot of Defender_Performance_Mode_03." source="media/microsoft-defender-endpoint-antivirus-performance-mode/defender-performance-mode-03.png" lightbox="media/microsoft-defender-endpoint-antivirus-performance-mode/defender-performance-mode-03.png":::
129
+
:::image type="content" alt-text="Screenshot of Defender Performance Mode 03." source="media/microsoft-defender-endpoint-antivirus-performance-mode/defender-performance-mode-03.png" lightbox="media/microsoft-defender-endpoint-antivirus-performance-mode/defender-performance-mode-03.png":::
127
130
128
131
|Drive| Status|
129
132
| -------- | -------- |
130
-
|C:|Since the system drive (for example, C: or D:) drive is formatted with NTFS, it's not eligible for Defender Performance mode.|
131
-
|D:|Dev Drive is enabled but Defender Performance mode isn't enabled.|
132
-
|F:|Dev Drive is enabled, and Defender Performance mode is enabled.|
133
+
|`C:`|Since the system drive (for example, C: or D:) drive is formatted with NTFS, it's not eligible for Defender Performance mode.|
134
+
|`D:`|Dev Drive is enabled but Defender Performance mode isn't enabled.|
135
+
|`F:`|Dev Drive is enabled, and Defender Performance mode is enabled.|
0 commit comments