Open in the explorer

Turn off routine remediation

Désactiver la mise à jour de routine

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft Defender Antivirus FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Antivirus Microsoft Defender
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
WindowsDefender.admx
Internal name
WindowsDefender/DisableRoutinelyTakingAction

Explanation

This policy setting allows you to configure whether Microsoft Defender Antivirus automatically takes action on all detected threats. The action to be taken on a particular threat is determined by the combination of the policy-defined action, user-defined action, and the signature-defined action.

If you enable this policy setting, Microsoft Defender Antivirus does not automatically take action on the detected threats, but prompts users to choose from the actions available for each threat.

If you disable or do not configure this policy setting, Microsoft Defender Antivirus automatically takes action on all detected threats after a nonconfigurable delay of approximately five seconds.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de déterminer si l’antivirus Microsoft Defender intervient automatiquement sur toutes les menaces détectées. L’action à entreprendre sur une menace particulière est déterminée par la combinaison de l’action définie par la stratégie, de l’action définie par l’utilisateur et de l’action définie par la signature.

Si vous activez ce paramètre de stratégie, l’antivirus Microsoft Defender n’intervient pas automatiquement sur les menaces détectées, mais invite les utilisateurs à choisir parmi les actions disponibles pour chaque menace.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, l’antivirus Microsoft Defender intervient automatiquement sur toutes les menaces détectées après un délai non configurable d’environ cinq secondes.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender
Value name
DisableRoutinelyTakingAction
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

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

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/DisableRoutinelyTakingAction
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableRoutinelyTakingAction' -Value 1 -Type DWord

Disable

# Disable: WindowsDefender/DisableRoutinelyTakingAction
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableRoutinelyTakingAction' -Value 0 -Type DWord

Revert to "Not configured"

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

Availability