Masquer le pare-feu et la zone de protection du réseau : valeur de Registre UILockdownOrdinateurHKLM\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Firewall and network protection

ID de stratégie
FirewallNetworkProtection_UILockdown
Étendue
Configuration ordinateur
Pris en charge sur
Windows Server 2016, Windows 10 version 1709 ou versions supérieures
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Catégorie
Composants Windows › Sécurité Windows › Pare-feu et protection du réseau

Registre

UILockdown

REG_DWORDOrdinateur
Valeur si activée
1
Valeur si désactivée
0
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Firewall and network protection]

; Options (en utiliser une seule)
; Activé
"UILockdown"=dword:00000001
; Désactivé
"UILockdown"=dword:00000000
CMD
:: Options (en utiliser une seule)

:: Activé
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Firewall and network protection" /v "UILockdown" /t REG_DWORD /d 1 /f
:: Désactivé
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Firewall and network protection" /v "UILockdown" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Firewall and network protection' -Force | Out-Null

# Options (en utiliser une seule)
# Activé
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Firewall and network protection' -Name 'UILockdown' -PropertyType DWord -Value 1 -Force | Out-Null
# Désactivé
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender Security Center\Firewall and network protection' -Name 'UILockdown' -PropertyType DWord -Value 0 -Force | Out-Null