Ouvrir dans l'explorateur

Masquer le pare-feu et la zone de protection du réseau

Hide the Firewall and network protection area

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Sécurité Windows › Pare-feu et protection du réseau EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Security › Firewall and 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
WindowsDefenderSecurityCenter.admx
Nom interne
WindowsDefenderSecurityCenter/FirewallNetworkProtection_UILockdown

Explication

Texte français issu de Windows 11 26H2

Masquez la zone Pare-feu et protection du réseau de Sécurité Windows.

Activé :
La zone Pare-feu et protection du réseau est masquée.

Désactivé :
La zone Pare-feu et protection du réseau est affichée.

Non configuré :
Identique à Désactivé.

Hide the Firewall and network protection area in Windows Security.

Enabled:
The Firewall and network protection area will be hidden.

Disabled:
The Firewall and network protection area will be shown.

Not configured:
Same as Disabled.

Registre

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Firewall and network protection
Nom de la valeur
UILockdown
É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 : WindowsDefenderSecurityCenter/FirewallNetworkProtection_UILockdown
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Firewall and network protection'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UILockdown' -Value 1 -Type DWord

Désactiver

# Désactiver : WindowsDefenderSecurityCenter/FirewallNetworkProtection_UILockdown
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Firewall and network protection'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'UILockdown' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : WindowsDefenderSecurityCenter/FirewallNetworkProtection_UILockdown
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Firewall and network protection'
Remove-ItemProperty -Path $k -Name 'UILockdown' -ErrorAction SilentlyContinue

Disponibilité

Windows Server