faq_1:defender_abschalten
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| faq_1:defender_abschalten [2026/08/18 07:05] – angelegt 192.168.111.134 | faq_1:defender_abschalten [2026/08/21 06:54] (aktuell) – 192.168.111.134 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | Windows Defender | + | ====== |
| You can disable the Windows Firewall for one or more profiles using the Set-NetFirewallProfile cmdlet in PowerShell. This is useful for quickly turning off firewall protection for Domain, Private, and Public profiles. | You can disable the Windows Firewall for one or more profiles using the Set-NetFirewallProfile cmdlet in PowerShell. This is useful for quickly turning off firewall protection for Domain, Private, and Public profiles. | ||
| - | Example – **Disable all firewall profiles:** | + | Example – **Disable all firewall profiles:**Run PowerShell as Administrator before executing |
| + | < | ||
| - | # Run PowerShell as Administrator before executing | + | < |
| - | Set-NetFirewallProfile -Profile Domain, | + | Set-NetFirewallProfile -Profile Domain, Public, Private -Enabled False |
| - | Kopieren | + | |
| - | This sets the Enabled property to False for all three profiles, effectively disabling the firewall. | + | </ |
| **Disable a specific profile only:** | **Disable a specific profile only:** | ||
| - | # **Disable only the Public profile** | + | **Disable only the Public profile** |
| - | Set-NetFirewallProfile -Profile Public -Enabled False | + | < |
| - | Kopieren | + | Set-NetFirewallProfile -Profile Public -Enabled False Kopieren Here, only the Public network profile is disabled while others remain active. |
| - | Here, only the Public network profile is disabled while others remain active. | + | |
| - | **Verify firewall status after changes:** | + | </ |
| + | '' | ||
| + | < | ||
| Get-NetFirewallProfile | Format-Table Name, Enabled | Get-NetFirewallProfile | Format-Table Name, Enabled | ||
| - | Kopieren | ||
| - | This displays each profile’s name and whether it’s enabled (True) or disabled (False). | ||
| - | K**ey points to remember:** | + | </ |
| - | Run as Administrator: | + | This displays each profile’s name and whether it’s enabled (True) or disabled (False). '' |
| - | Profiles: Domain – Applied when connected | + | '' |
| - | Disabling | + | '' |
| - | **To re-enable, simply set -Enabled True:** | + | '' |
| + | < | ||
| Set-NetFirewallProfile -All -Enabled True | Set-NetFirewallProfile -All -Enabled True | ||
| - | Kopieren | ||
| - | Optional – Disable via -All parameter: | ||
| + | </ | ||
| + | |||
| + | Optional – Disable via -All parameter: '' | ||
| + | |||
| + | < | ||
| Set-NetFirewallProfile -All -Enabled False | Set-NetFirewallProfile -All -Enabled False | ||
| - | Kopieren | + | |
| + | </ | ||
| This is shorthand for disabling all profiles without listing them individually. | This is shorthand for disabling all profiles without listing them individually. | ||
| - | By using Set-NetFirewallProfile, | + | |
faq_1/defender_abschalten.1787036700.txt.gz · Zuletzt geändert: von 192.168.111.134 · Momentan gesperrt von: 216.73.216.196,192.168.111.8
