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/schedule-antivirus-scans-group-policy.md
+64-19Lines changed: 64 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.localizationpriority: medium
6
6
author: emmwalshh
7
7
ms.author: ewalsh
8
8
ms.custom: nextgen
9
-
ms.date: 03/18/2025
9
+
ms.date: 04/29/2025
10
10
ms.reviewer: pauhijbr, ksarens
11
11
manager: deniseb
12
12
ms.subservice: ngp
@@ -39,27 +39,65 @@ This article describes how to configure scheduled scans using Group Policy. To l
39
39
40
40
3. Specify the settings for the Group Policy Object, and then select **OK**.
41
41
42
-
4. Repeat steps 1-4 for each setting you want to configure.
42
+
1. Repeat steps for each setting you want to configure.
43
43
44
44
5. Deploy your Group Policy Object as you normally do. If you need help with Group Policy Objects, see [Create a Group Policy Object](/windows/security/threat-protection/windows-firewall/create-a-group-policy-object).
45
45
46
46
> [!NOTE]
47
47
> When configuring scheduled scans, the setting **Start the scheduled scan only when computer is on but not in use** (which is enabled by default) can affect the expected scheduled time by requiring the machine to be idle first.
48
-
>
49
-
> For weekly scans, the default behavior on Windows Server and Windows 10 and later, is to scan outside of the automatic maintenance when the machine is idle. To change this behavior, modify the settings by disabling **ScanOnlyIfIdle**, and then define a schedule.
48
+
> For weekly scans, the default behavior on Windows Server and Windows 10 and later, is to scan outside of the automatic maintenance when the machine is idle. To change this behavior, modify the settings by disabling "Start the scheduled scan only when computer is on but not in use" (**ScanOnlyIfIdle**), and then define a schedule.
50
49
51
50
For more information, see the [Manage when protection updates should be downloaded and applied](manage-protection-update-schedule-microsoft-defender-antivirus.md) and [Prevent or allow users to locally modify policy settings](configure-local-policy-overrides-microsoft-defender-antivirus.md) articles.
52
51
53
-
## Group Policy settings for scheduling scans
52
+
## Group Policy settings for scheduling daily scans (quick)
| Scan |Specify the daily interval for running quick scans. |Specify the number of hours that should pass before the next quick scan is performed. For example, to run every two hours, enter **2**, for once a day, enter **24**. Enter **0** to never run a daily quick scan. | Never |
57
+
| Scan |Specify the time for a daily quick scan |Specify the number of minutes after midnight (for example, enter **60** for 1 AM.) If this setting is set to 0, daily quick scans don't run.| 120 (2 AM) |
58
+
59
+
> [!TIP]
60
+
> When scheduling a scan, depending on your environment, if your client devices are shutdown after-hours, you might want to consider setting the daily quick scans during lunch time (720).
61
+
62
+
## Group Policy settings for scheduling weekly scans (quick or full)
|Scan|Specify the scan type to use for a scheduled scan|Quick scan||
67
+
| Scan | Specify the day of the week to run a scheduled scan| Specify the day (or never) to run a scan.| Never |
68
+
| Scan | Specify the time of day to run a scheduled scan| Specify the number of minutes after midnight to run a scan (for example, enter 60 for 1 AM).| 2 AM. |
69
+
70
+
> [!TIP]
71
+
> Our recommendation for scheduled scans is to configure **quick** scan together with always-on [real-time protection](/defender-endpoint/configure-real-time-protection-microsoft-defender-antivirus) and [cloud protection](/defender-endpoint/enable-cloud-protection-microsoft-defender-antivirus), as this combination provides strong coverage against malware that starts with the system and kernel-level malware.
72
+
73
+
> [!WARNING]
74
+
> Generally, there's no need to schedule a full scan, and most users won't need to manually run full scans (see [Comparing quick scan, full scan, and custom scan](/defender-endpoint/schedule-antivirus-scans)).
75
+
76
+
## Group Policy settings for general scheduling scans
| Scan | Specify the scan type to use for a scheduled scan | Quick scan ||
58
-
| Scan | Specify the day of the week to run a scheduled scan | Specify the day (or never) to run a scan. | Never |
59
-
| Scan | Specify the time of day to run a scheduled scan | Specify the number of minutes after midnight to run a scan (for example, enter **60** for 1 AM). | 2 AM. |
60
80
| Root | Randomize scheduled task times |In Microsoft Defender Antivirus, randomize the start time of the scan to any interval from **0 to 23 hours**. By default, scheduled tasks begin at a random time within four hours of the time specified in Task Scheduler. | Enabled |
61
81
| Root | Configure scheduled task times randomization window |- This setting lets you set the start time for scheduled task scans and security updates. <br> - When enabled, you can choose a randomization window between **1 and 23 hours**. <br> - The Randomize Scheduled Task Times uses the specified window. <br> - If disabled or not configured, it randomizes times between **0 and 4 hours**. | Not configured (Disabled)|
62
82
83
+
> [!TIP]
84
+
> Enable randomization for Virtual Machines (VMs), Virtual Desktop Infrastructure (VDI), and Azure Virtual Desktop (AVD) devices to ensure that scheduled scans don't run simultaneously. This helps prevent CPU and disk I/O bottlenecks on the parent partition (also known as the Host).
85
+
86
+
## Group Policy settings for scheduling scans for specifying the maximum percentage of CPU utilization during a scan
| Scan |Specify the maximum percentage of CPU utilization during a scan|Configure the maximum percentage CPU utilization permitted during a scan. Valid values for this setting are a percentage represented by integers 5 to 100. A value of 0 indicates that there should be no throttling of CPU utilization.|Enabled - 50|
91
+
92
+
> [!NOTE]
93
+
> Reducing the maximum CPU utilization during a scan to between 5% and 30% will extend the duration of the scheduled scan. For environments with a maintenance window, please take this into consideration.
94
+
95
+
## Group Policy settings for scheduling scans for lowering the CPU priority
| Scan | Start the scheduled scan only when computer is on but not in use | Scheduled scans won't run, unless the computer is on but not in use | Enabled |
100
+
63
101
## Group Policy settings for scheduling scans for when an endpoint isn't in use
@@ -71,23 +109,30 @@ For more information, see the [Manage when protection updates should be download
71
109
72
110
## Group Policy settings for scheduling remediation-required scans
73
111
74
-
|Location |Setting |Description |Default setting (if not configured) |
112
+
|Location |Setting |Description |Default setting (if not configured) |
75
113
|---|---|---|---|
76
-
| Remediation |Specify the day of the week to run a scheduled full scan to complete remediation |Specify the day (or never) to run a scan. |Never |
77
-
| Remediation |Specify the time of day to run a scheduled full scan to complete remediation |Specify the number of minutes after midnight (for example, enter **60** for 1 AM.) |2 AM. |
114
+
| Remediation |Specify the day of the week to run a scheduled full scan to complete remediation |Specify the day (or never) to run a scan. |Never |
115
+
| Remediation |Specify the time of day to run a scheduled full scan to complete remediation |Specify the number of minutes after midnight (for example, enter **60** for 1 AM.) |120 (2 AM)|
78
116
79
-
## Group Policy settings for scheduling daily scans
117
+
## Group Policy settings for scheduling scans after protection updates
80
118
81
-
|Location |Setting |Description |Default setting (if not configured)|
119
+
|Location |Setting |Description |Default setting (if not configured)|
82
120
|:---|:---|:---|:---|
83
-
| Scan | Specify the interval to run quick scans per day | Specify how many hours should elapse before the next quick scan. For example, to run every two hours, enter **2**, for once a day, enter **24**. Enter **0** to never run a daily quick scan. | Never |
84
-
| Scan | Specify the time for a daily quick scan | Specify the number of minutes after midnight (for example, enter **60** for 1 AM.) Note that if this setting is set to 0, daily quick scans don't run.| 2 AM. |
121
+
|Signature updates |Turn on scan after Security intelligence update |A process scan will occur immediately after a new protection update is downloaded |Enabled |
85
122
86
-
## Group Policy settings for scheduling scans after protection updates
| Signature updates | Turn on scan after Security intelligence update | A process scan will occur immediately after a new protection update is downloaded | Enabled |
125
+
[Troubleshoot Microsoft Defender Antivirus scan issues](/defender-endpoint/troubleshoot-mdav-scan-issues)
126
+
127
+
[Performance analyzer for Microsoft Defender Antivirus](/defender-endpoint/tune-performance-defender-antivirus)
128
+
129
+
[Use PowerShell cmdlets to configure and manage Microsoft Defender Antivirus](/defender-endpoint/use-powershell-cmdlets-microsoft-defender-antivirus)
130
+
131
+
[Set the PowerShell cmdlet to configure and manage Microsoft Defender Antivirus](/powershell/module/defender/set-mppreference)
132
+
133
+
[Defender Antivirus specific PowerShell functions](/powershell/module/defender)
134
+
135
+
[Troubleshoot Microsoft Defender Antivirus settings](/defender-endpoint/troubleshoot-settings)
91
136
92
137
> [!TIP]
93
138
> If you're looking for Antivirus related information for other platforms, see:
0 commit comments