Windows Defender Firewall: Keine Ausnahmen zulassen: Registrierungswert DoNotAllowExceptions (StandardProfile)ComputerHKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile
- Richtlinien-ID
- WF_EnableShield_Name_2
- Bereich
- Computerkonfiguration
- Unterstützt unter
- Mindestens Windows XP Professional mit SP 2
- Quelle
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
- Kategorie
- Netzwerk › Netzwerkverbindungen › Windows Defender Firewall › Standardprofil
Registrierung
DoNotAllowExceptions
REG_DWORDComputerHKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile Aktueller Schlüssel
- Wert bei Aktivierung
- 1
- Wert bei Deaktivierung
- 0
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile] ; Optionen (nur eine verwenden) ; Aktiviert "DoNotAllowExceptions"=dword:00000001 ; Deaktiviert "DoNotAllowExceptions"=dword:00000000
CMD
:: Optionen (nur eine verwenden) :: Aktiviert reg add "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile" /v "DoNotAllowExceptions" /t REG_DWORD /d 1 /f :: Deaktiviert reg add "HKLM\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile" /v "DoNotAllowExceptions" /t REG_DWORD /d 0 /f
PowerShell
# Gemeinsam: Schlüssel erstellen New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile' -Force | Out-Null # Optionen (nur eine verwenden) # Aktiviert New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile' -Name 'DoNotAllowExceptions' -PropertyType DWord -Value 1 -Force | Out-Null # Deaktiviert New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\WindowsFirewall\StandardProfile' -Name 'DoNotAllowExceptions' -PropertyType DWord -Value 0 -Force | Out-Null