How to Enable Windows Defender Network Protection
Block malicious domains and risky outbound connections with Defender Network Protection, and use Kudu to help audit security.
By the Kudu Team
Fix this automatically with Kudu
Run a free system scan to detect and resolve this issue automatically — no manual steps required.
Download Kudu Free →What Causes This?
Windows Defender Network Protection is often disabled by default on personal PCs, or it may not be available because Microsoft Defender Antivirus is turned off or replaced by a third-party antivirus. In some cases, the setting exists but isn’t enforced because of Windows edition limits, Group Policy settings, or PowerShell configuration. Users also run into confusion because the feature doesn’t have a simple on/off switch in the standard Windows Security app.
Common Symptoms
- Malicious or suspicious websites are not being blocked
- Risky outbound connections are allowed without warning
- PowerShell reports that Network Protection is disabled
- Windows Security looks active, but web threat blocking seems incomplete
- You’re unsure whether Defender or another antivirus is controlling protection
How to Fix It Manually
-
Make sure Microsoft Defender Antivirus is active
- Press Windows + I to open Settings.
- Go to Privacy & security > Windows Security > Open Windows Security.
- Click Virus & threat protection.
- If you see that another antivirus is managing protection, Defender Network Protection may not be available until that product is removed or disabled.
-
Check your Windows version
- Press Windows + R, type
winver, then press Enter. - Network Protection is primarily supported on modern versions of Windows 10 and Windows 11 with Microsoft Defender active.
- If your PC is far behind on updates, install the latest Windows updates first from Settings > Windows Update.
- Press Windows + R, type
-
Enable Network Protection with PowerShell
- Click Start, type powershell.
- Right-click Windows PowerShell and choose Run as administrator.
- To enable the feature, run:
Set-MpPreference -EnableNetworkProtection Enabled - Press Enter.
- If you want to test first without fully blocking traffic, you can use audit mode instead:
Set-MpPreference -EnableNetworkProtection AuditMode
-
Verify that it was enabled
- In the same PowerShell window, run:
Get-MpPreference | Select-Object EnableNetworkProtection - Check the result:
1usually means Enabled2usually means Audit Mode0means Disabled
- In the same PowerShell window, run:
-
If the command fails, check for policy restrictions
- Press Windows + R, type
gpedit.msc, then press Enter. - Go to: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Microsoft Defender Exploit Guard > Network protection
- Open Prevent users and apps from accessing dangerous websites.
- Set it to Enabled, then choose Block from the options.
- Click Apply, then OK.
- If you’re using Windows Home and don’t have Group Policy Editor, use the PowerShell method above instead.
- Press Windows + R, type
-
Restart and test
- Restart your PC to make sure the setting is applied cleanly.
- After restart, open PowerShell as administrator again and rerun:
Get-MpPreference | Select-Object EnableNetworkProtection - If it still won’t stay enabled, check whether a third-party security suite or company policy is overriding Defender settings.
Fix It Automatically with Kudu
Kudu can help audit your Windows security setup, spot disabled or conflicting Defender protections, and guide you toward safe fixes without digging through PowerShell and policy settings yourself. It’s a quick way to check whether core protections are active and identify apps or settings that may be weakening your security.
Fix this automatically with Kudu
Run a free system scan to detect and resolve this issue automatically — no manual steps required.
Download Kudu Free →Related guides
How to Enable Windows Defender Real-Time Protection Properly
Learn how to turn on Defender real-time protection correctly and verify it stays active; Kudu can help spot security issues fast.
How to Enable Windows Defender SmartScreen for Apps and Web
Turn on SmartScreen to block risky downloads, apps, and websites, and use Kudu to help review Windows security settings.
How to Enable Exploit Protection Settings in Windows Security
Turn on exploit mitigations that help block memory-based attacks, and use Kudu to help review hardening options.
How to Fix Windows Defender Real-Time Protection Keeps Turning Off
If Defender real-time protection disables itself, this guide shows why it happens and how Kudu can help secure the PC again.