Configure extended cloud check
Configurer la vérification du cloud étendue
Explanation
This feature allows Microsoft Defender Antivirus to block a suspicious file for up to 60 seconds, and scan it in the cloud to make sure it's safe.
The typical cloud check timeout is 10 seconds. To enable the extended cloud check feature, specify the extended time in seconds, up to an additional 50 seconds.
For example, if the desired timeout is 60 seconds, specify 50 seconds in this setting, which will enable the extended cloud check feature, and will raise the total time to 60 seconds.
Note: This feature depends on three other MAPS settings - "Configure the 'Block at First Sight' feature; "Join Microsoft MAPS"; "Send file samples when further analysis is required" all need to be enabled.
Cette fonctionnalité permet à l’antivirus Microsoft Defender de bloquer un fichier suspect pendant 60 secondes au plus et de l’analyser dans le cloud pour s’assurer qu’il est sûr.
Le délai d’expiration standard de la vérification du cloud est de 10 secondes. Pour activer la fonctionnalité de vérification du cloud étendue, spécifiez une durée étendue (en secondes) jusqu’à 50 secondes supplémentaires.
Par exemple, si le délai d’expiration souhaité est de 60 secondes, spécifiez 50 secondes dans ce paramètre, ce qui active la fonctionnalité de vérification du cloud étendue et fait passer le temps total à 60 secondes.
Remarque : cette fonctionnalité dépend de trois autres paramètres MAPS : Configurer la fonctionnalité « Bloquer à la première consultation », Rejoindre Microsoft MAPS et Envoyer des exemples de fichier lorsqu’une analyse supplémentaire est nécessaire. Tous les trois doivent être activés.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\MpEngine- Value name
MpBafsExtendedTimeout
| State | Value written |
|---|---|
| Enabled | not defined in the ADMX (see the options below) |
| Disabled | not 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/MpEngine_MpBafsExtendedTimeout
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine'
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 'MpBafsExtendedTimeout' -Value 1 -Type DWord # assumed value (not defined in the ADMX)
# Specify the extended cloud check time in seconds
Set-ItemProperty -Path $k -Name 'MpBafsExtendedTimeout' -Value 0 -Type DWord # between 0 and 50Disable
# Disable: WindowsDefender/MpEngine_MpBafsExtendedTimeout
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine'
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 'MpBafsExtendedTimeout' -Value 0 -Type DWord # assumed value (not defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": WindowsDefender/MpEngine_MpBafsExtendedTimeout
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine'
Remove-ItemProperty -Path $k -Name 'MpBafsExtendedTimeout' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Specify the extended cloud check time in secondsSpécifier la durée de vérification du cloud étendue en secondesMpBafsExtendedTimeout | Numeric boxdecimal | MpBafsExtendedTimeout | REG_DWORD | Min: 0 · Max: 50 · Default (UI): 0 |