Open in the explorer

Specify the time of day to run a scheduled full scan to complete remediation

Spécifier l’heure de la journée à laquelle exécuter une analyse complète planifiée afin de terminer la mise à jour

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft Defender Antivirus › Remediation FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Antivirus Microsoft Defender › Mise à jour
Supported on
At least Windows Server 2012, Windows 8 or Windows RT FR: Au minimum Windows Server 2012, Windows 8 ou Windows RT
ADMX file
WindowsDefender.admx
Internal name
WindowsDefender/Remediation_Scan_ScheduleTime

Explanation

This policy setting allows you to specify the time of day at which to perform a scheduled full scan in order to complete remediation. The time value is represented as the number of minutes past midnight (00:00). For example, 120 (0x78) is equivalent to 02:00 AM. The schedule is based on local time on the computer where the scan is executing.

If you enable this setting, a scheduled full scan to complete remediation will run at the time of day specified.

If you disable or do not configure this setting, a scheduled full scan to complete remediation will run at a default time.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de spécifier l’heure de la journée à laquelle exécuter une analyse complète planifiée afin de terminer la mise à jour. La valeur de l’heure est représentée sous la forme du nombre de minutes après minuit (00:00). Par exemple, 120 (0x78) est équivalent à 02:00. La planification est basée sur l’heure locale de l’ordinateur où l’analyse est exécutée.

Si vous activez ce paramètre, une analyse complète planifiée pour terminer la mise à jour est exécutée à l’heure de la journée spécifiée.

Si vous désactivez ou ne configurez pas ce paramètre, une analyse complète planifiée pour terminer la mise à jour est exécutée à une heure par défaut.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Remediation
Value name
Scan_ScheduleTime
StateValue written
Enablednot defined in the ADMX (see the options below)
Disablednot defined in the ADMX (see the options below)

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: WindowsDefender/Remediation_Scan_ScheduleTime
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Remediation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'Scan_ScheduleTime' -Value 1 -Type DWord  # assumed value (not defined in the ADMX)
# Specify the time of day to run a scheduled full scan to complete remediation
Set-ItemProperty -Path $k -Name 'Scan_ScheduleTime' -Value 120 -Type DWord  # between 0 and 1440

Disable

# Disable: WindowsDefender/Remediation_Scan_ScheduleTime
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Remediation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'Scan_ScheduleTime' -Value 0 -Type DWord  # assumed value (not defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": WindowsDefender/Remediation_Scan_ScheduleTime
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Remediation'
Remove-ItemProperty -Path $k -Name 'Scan_ScheduleTime' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Specify the time of day to run a scheduled full scan to complete remediationSpécifier l’heure de la journée à laquelle exécuter une analyse complète planifiée afin de terminer la mise à jourRemediation_Scan_ScheduleTimeNumeric boxdecimalScan_ScheduleTimeREG_DWORD
Min: 0 · Max: 1440 · Default (UI): 120

Availability