Skip to content

Commit d52f810

Browse files
authored
Merge pull request #1719 from ThomasGs1/docs-editor/microsoft-defender-endpoint-an-1730133935
Update microsoft-defender-endpoint-antivirus-performance-mode.md
2 parents dca2329 + ab0809f commit d52f810

File tree

1 file changed

+26
-23
lines changed

1 file changed

+26
-23
lines changed

defender-endpoint/microsoft-defender-endpoint-antivirus-performance-mode.md

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.collection:
1414
- m365-security
1515
- tier2
1616
search.appverid: met150
17-
ms.date: 09/30/2024
17+
ms.date: 10/28/2024
1818
---
1919

2020
# Protect Dev Drive using performance mode
@@ -36,17 +36,17 @@ ms.date: 09/30/2024
3636

3737
## What is performance mode
3838

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

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`.
4242

4343
### Microsoft Defender Antivirus requirements for performance mode
4444

4545
1. Review the requirements that are specific to Dev Drive. See [Set up a Dev Drive on Windows 11](/windows/dev-drive).
4646

47-
1. Make sure Microsoft Defender Antivirus is up to date.
47+
2. Make sure Microsoft Defender Antivirus is up to date.
4848

49-
- Microsoft Defender Antivirus needs to be primary
49+
- Microsoft Defender Antivirus needs to be the primary antivirus/antimalware solution
5050
- Real-time protection is turned on
5151
- Antimalware platform version: `4.18.2303.8` (or later)
5252
- Antimalware security intelligence version: `1.385.1455.0` (or later)
@@ -59,18 +59,18 @@ For more information about Dev Drive, see: [Set up a Dev Drive on Windows 11](/w
5959

6060
### Performance mode compared to real-time protection
6161

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

6464
> [!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).
6666
The following table summarizes performance mode synchronous and asynchronous scan behavior.
6767

6868
| Performance mode state | Scan type | Description | Summary |
6969
|:---|:---|:---|:---|
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. |
7171
|Enabled (On) | **Asynchronous** | File open operations are scanned asynchronously. | Open now, scan later. |
7272

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

7575
## Manage performance mode
7676

@@ -84,52 +84,55 @@ Enable performance mode status via the OMA-URI settings shown in the following t
8484

8585
| Setting | Value |
8686
| -------- | -------- |
87-
|OMA-URI:| ./Device/Vendor/MSFT/Defender/Configuration/PerformanceModeStatus |
87+
|OMA-URI:| `./Device/Vendor/MSFT/Defender/Configuration/PerformanceModeStatus` |
8888
|Data type|Integer|
8989
|Value|0|
9090

91-
0 = Enable (default)
92-
1 = Disable
91+
`0` = `Enable` (default)
92+
`1` = `Disable`
9393

9494
### Group Policy
9595

96-
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**.
9797

9898
2. Double-click **Configure performance mode status**.
9999

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":::
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":::
101101

102-
1. Select **Enabled**.
102+
2. Select **Enabled**.
103103

104-
![Screenshot of Defender_Performance_Mode_11.](media/microsoft-defender-endpoint-antivirus-performance-mode/defender-performance-mode-11.png)
104+
![Screenshot of Defender Performance Mode 11.](media/microsoft-defender-endpoint-antivirus-performance-mode/defender-performance-mode-11.png)
105105

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).
107110
108111
### PowerShell
109112

110113
1. Open PowerShell as an administrator on the device.
111114

112115
1. Type `set-MpPreference -PerformanceModeStatus Enabled`, and then press Enter.
113116

114-
![Screenshot of Defender_Performance_Mode_04.](media/microsoft-defender-endpoint-antivirus-performance-mode/defender-performance-mode-5.png)
117+
![Screenshot of Defender Performance Mode 04.](media/microsoft-defender-endpoint-antivirus-performance-mode/defender-performance-mode-5.png)
115118

116119
## Verify performance mode is enabled
117120

118121
To verify that Dev Drive and Defender Performance Mode is enabled, follow these steps:
119122

120123
1. In the Windows Security App, go to **Virus & threat Protection settings** > **Manage settings**, and verify that Dev Drive protection is enabled.
121124

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":::
123126

124127
2. Select **See volumes**.
125128

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":::
127130

128131
|Drive| Status|
129132
| -------- | -------- |
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.|
133136

134137
## See also
135138

0 commit comments

Comments
 (0)