Activer l’inspection asynchrone
Turn on asynchronous inspection
Explication
Contrôlez si la protection du réseau peut améliorer les performances en passant de l’inspection en temps réel à l’inspection asynchrone.
Désactivé (par défaut) :
Si elle n’est pas configurée ou désactivée, l’inspection asynchrone n’est pas activée pour la protection réseau.
Activé :
Si cette option est activée, le passage à l’inspection asynchrone est autorisé pour la protection réseau.
Control whether network protection can improve performance by switching from real-time inspection to asynchronous inspection.
Disabled (Default):
If Not Configured or Disabled, asynchronous inspection will not be enabled for network protection.
Enabled:
If Enabled, switching to asynchronous inspection will be allowed for network protection.
Registre
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\NIS- Nom de la valeur
AllowSwitchToAsyncInspection
| État | Valeur écrite |
|---|---|
| Activé | REG_DWORD = 1 |
| Désactivé | REG_DWORD = 0 |
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : WindowsDefender/AllowSwitchToAsyncInspection
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\NIS'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowSwitchToAsyncInspection' -Value 1 -Type DWordDésactiver
# Désactiver : WindowsDefender/AllowSwitchToAsyncInspection
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\NIS'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowSwitchToAsyncInspection' -Value 0 -Type DWordRevenir à « Non configuré »
# Revenir à « Non configuré » : WindowsDefender/AllowSwitchToAsyncInspection
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\NIS'
Remove-ItemProperty -Path $k -Name 'AllowSwitchToAsyncInspection' -ErrorAction SilentlyContinue