Ouvrir dans l'explorateur

Ces paramètres contrôlent si la protection du réseau est autorisée à être configurée en mode de blocage ou d’audit sur Windows Server.

This settings controls whether Network Protection is allowed to be configured into block or audit mode on Windows Server.

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Antivirus Microsoft Defender › Microsoft Defender Exploit Guard › Protection du réseau EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft Defender Antivirus › Microsoft Defender Exploit Guard › Network Protection
Pris en charge sur
Windows Server 2016, Windows 10 version 1709 ou versions supérieures EN : At least Windows Server 2016, Windows 10 Version 1709
Fichier ADMX
WindowsDefender.admx
Nom interne
WindowsDefender/AllowNetworkProtectionOnWinServer

Explication

Texte français issu de Windows 11 26H2

Désactivé (par défaut) :
Si elle n’est pas configurée ou est désactivée, la protection du réseau n’est pas autorisée à être configurée en mode de blocage ou d’audit sur Windows Server.

Actives
Si cette option est activée, les administrateurs peuvent contrôler si la protection du réseau est autorisée à être configurée en mode de blocage ou d’audit sur Windows Server.
Notez que cette configuration dépend de la configuration de EnableNetworkProtection. Si cette configuration est fausse, EnableNetworkProtection sera ignoré, sinon la protection du réseau démarrera sur Windows Server en fonction de la valeur de EnableNetworkProtection.

Disabled (Default):
If Not Configured or Disabled, network protection is not allowed to be configured into block or audit mode on Windows Server.

Enabled:
If Enabled, administrators can control whether Network Protection is allowed to be configured into block or audit mode on Windows Server.
Note, that this configuration is dependent on the EnableNetworkProtection configuration. If this configuration is false, EnableNetworkProtection will be ignored, otherwise network protection will start on Windows Server depending on the value of EnableNetworkProtection.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Network Protection
Nom de la valeur
AllowNetworkProtectionOnWinServer
ÉtatValeur é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/AllowNetworkProtectionOnWinServer
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Network Protection'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowNetworkProtectionOnWinServer' -Value 1 -Type DWord

Désactiver

# Désactiver : WindowsDefender/AllowNetworkProtectionOnWinServer
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Network Protection'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowNetworkProtectionOnWinServer' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : WindowsDefender/AllowNetworkProtectionOnWinServer
$k = 'HKLM:\Software\Policies\Microsoft\Windows Defender\Windows Defender Exploit Guard\Network Protection'
Remove-ItemProperty -Path $k -Name 'AllowNetworkProtectionOnWinServer' -ErrorAction SilentlyContinue

Disponibilité

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server