Sélectionner un niveau de protection du cloud : valeur de Registre MpCloudBlockLevelOrdinateurHKLM\Software\Policies\Microsoft\Windows Defender\MpEngine

ID de stratégie
MpEngine_MpCloudBlockLevel
Étendue
Configuration ordinateur
Pris en charge sur
Au moins Windows Server 2016, Windows 10
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Catégorie
Composants Windows › Antivirus Microsoft Defender › MpEngine

Registre

MpCloudBlockLevel

-Ordinateur

MpCloudBlockLevel

REG_DWORDOrdinateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Sélectionner un niveau de blocage du cloud
Options
EntréeValeur stockée
Niveau de blocage par défaut0
Niveau de blocage modéré1
Niveau de blocage élevé2
Niveau de blocage très élevé4
Niveau de blocage Tolérance zéro6
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\MpEngine]

; Options (en utiliser une seule)
; Niveau de blocage par défaut
"MpCloudBlockLevel"=dword:00000000
; Niveau de blocage modéré
"MpCloudBlockLevel"=dword:00000001
; Niveau de blocage élevé
"MpCloudBlockLevel"=dword:00000002
; Niveau de blocage très élevé
"MpCloudBlockLevel"=dword:00000004
; Niveau de blocage Tolérance zéro
"MpCloudBlockLevel"=dword:00000006
CMD
:: Options (en utiliser une seule)

:: Niveau de blocage par défaut
reg add "HKLM\Software\Policies\Microsoft\Windows Defender\MpEngine" /v "MpCloudBlockLevel" /t REG_DWORD /d 0 /f
:: Niveau de blocage modéré
reg add "HKLM\Software\Policies\Microsoft\Windows Defender\MpEngine" /v "MpCloudBlockLevel" /t REG_DWORD /d 1 /f
:: Niveau de blocage élevé
reg add "HKLM\Software\Policies\Microsoft\Windows Defender\MpEngine" /v "MpCloudBlockLevel" /t REG_DWORD /d 2 /f
:: Niveau de blocage très élevé
reg add "HKLM\Software\Policies\Microsoft\Windows Defender\MpEngine" /v "MpCloudBlockLevel" /t REG_DWORD /d 4 /f
:: Niveau de blocage Tolérance zéro
reg add "HKLM\Software\Policies\Microsoft\Windows Defender\MpEngine" /v "MpCloudBlockLevel" /t REG_DWORD /d 6 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Force | Out-Null

# Options (en utiliser une seule)
# Niveau de blocage par défaut
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Name 'MpCloudBlockLevel' -PropertyType DWord -Value 0 -Force | Out-Null
# Niveau de blocage modéré
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Name 'MpCloudBlockLevel' -PropertyType DWord -Value 1 -Force | Out-Null
# Niveau de blocage élevé
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Name 'MpCloudBlockLevel' -PropertyType DWord -Value 2 -Force | Out-Null
# Niveau de blocage très élevé
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Name 'MpCloudBlockLevel' -PropertyType DWord -Value 4 -Force | Out-Null
# Niveau de blocage Tolérance zéro
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows Defender\MpEngine' -Name 'MpCloudBlockLevel' -PropertyType DWord -Value 6 -Force | Out-Null