/
/

How to Hide or Show Firewall and Network Protection in Windows Security

by Miguelito Balba, IT Editorial Expert
Hide or Show Firewall and Network Protection in Windows Security in Windows 10 blog banner image

Instant Summary

This NinjaOne blog post offers a comprehensive basic CMD commands list and deep dive into Windows commands with over 70 essential cmd commands for both beginners and advanced users. It explains practical command prompt commands for file management, directory navigation, network troubleshooting, disk operations, and automation with real examples to improve productivity. Whether you’re learning foundational cmd commands or mastering advanced Windows CLI tools, this guide helps you use the Command Prompt more effectively.

Key Points

  • Firewall & Network Protection provides access to Microsoft Defender Firewall settings, network diagnostics, and advanced security options across domain, private, and public profiles.
  • You can hide or show Firewall & Network Protection using Group Policy (Windows 10/11 Pro, Enterprise, Education) or the Registry Editor (Home editions).
  • Hiding this section does not disable Microsoft Defender Firewall.
  • Firewall rules remain active unless manually changed.
  • Windows 11 uses updated navigation paths and slightly different Windows Security behavior.

Security settings in Windows are designed to protect your device and data from threats — and that’s exactly the goal of Windows Security. Under Windows Security, users will find the Firewall and Network Protection settings. This allows users to view and manage firewall settings for domain, private, and public profiles. It also offers other security-related settings such as network diagnostics, advanced firewall configurations, and Windows Defender Firewall.

While this setting plays a vital role in maintaining system security, some prefer to disable it. In this article, we’ll walk you through how to configure Firewall and Network Protection in Windows 10 and 11 using the built-in Windows Security settings.

For a visual guide, watch our video on how to hide or show firewall and network protection in Windows Security.

Network protection controls naturally weaken unless they’re actively maintained.

→ Add layers to your IT security with NinjaOne 🔒

How to hide Firewall & Network Protection in Windows Security

Method 1: Using Group Policy Editor (Windows 10 Pro & Enterprise)

  1. To open the Group Policy Editor, press the Windows key + R, type gpedit.msc, and press Enter.
  2. Navigate to: Computer Configuration > Administrative Templates > Windows Components > Windows Security > Firewall & Network Protection
  3. Double-click “Hide the Firewall & Network Protection area”.
  4. Select Enabled, then click Apply and OK.
  5. Run gpupdate /force to immediately apply the policy.
  6. Restart the computer to apply the changes.

Method 2: Using the Registry Editor (Windows 10 Home & other editions)

  1. Press the Windows key + R, type regedit, and press Enter.
  2. Navigate to:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender Security Center\Firewall and network protection
    • If the Firewall and Network Protection key does not exist, create it manually.
  3. Right-click on the right pane, choose New > DWORD (32-bit) Value, and name it UILockdown.
  4. Set its value to 1.
  5. Restart your system for the changes to take effect.

How to restore Firewall & Network Protection if hidden

Method 1: Using Group Policy Editor (Windows 10 Pro & Enterprise)

  1. To open the Group Policy Editor, press the Windows key + R, type gpedit.msc, and press Enter.
  2. Navigate to: Computer Configuration > Administrative TemplatesWindows Components > Windows Security > Firewall & Network Protection
  3. Double-click “Hide the Firewall & Network Protection area”.
  4. Set it to Not Configured or Disabled.
  5. Click Apply, then OK, and restart your computer.
  6. Run gpupdate /force for immediate policy refresh.

Method 2: Using the Registry Editor (Windows 10 Home & other editions)

  1. To open the Registry Editor, press the Windows key + R, type regedit, and press Enter.
  2. Navigate to:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender Security Center\Firewall and network protection
  3. Find the UILockdown entry.
  4. Set its value to 0 or delete the key entirely.
  5. Restart your system for the changes to take effect.

If changes do not take effect immediately, restart the computer or use Task Manager to restart Windows Security.

Why hide the Firewall & Network Protection section?

There are controlled environments that prohibit users from making changes to firewall settings. Here are some benefits of hiding Firewall & Network Protection:

  • Prevents unauthorized access and changes to firewall settings that could compromise system security.
  • Helps IT administrators manage multiple systems in an organization.
  • Restricts user access from unintentionally changing critical system configurations to maintain system security.

Who should consider hiding this section?

It is advisable for certain groups or organizations to hide the Firewall & Network Protection section. These groups may include:

  • Organizations and IT administrators enforcing mandatory firewall policies
  • Parents or guardians restricting changes on a family computer.
  • Users who want a cleaner Windows Security interface with fewer distractions.

Troubleshooting common issues

Windows security still shows Firewall & Network Protection after hiding it

There are some instances when the Firewall & Network Protection is still present after hiding the section. Here’s how you can potentially solve the issue:

  1. Ensure changes were applied correctly in Group Policy or Registry Editor. To access these configurations, follow the “How to hide Firewall & Network Protection in Windows Security” guide above.
  2. Meanwhile, you can restart the system to refresh Windows Security settings. This is important, especially after changing the Firewall & Network Protection settings.

Error editing Group Policy or Registry

There are times when you encounter errors when configuring Firewall & Network Protection settings using Group Policy or Registry Editor. Here’s how you can address the problem:

  1. Run Group Policy Editor or Registry Editor as an administrator.
  2. Check if system policies prevent modifications.

Firewall still active even after hiding the section

Hiding Firewall & Network Protection only removes the UI in Windows Security. Microsoft Defender Firewall remains active unless you manually disable it or replace it with a third-party firewall solution.

Need help setting up your firewall? Watch what is a firewall configuration? How to set up your firewall now.

Inconsistent network protection settings slows down diagnostics at crucial times.

Discover endpoint security automation by NinjaOne

Hiding the Firewall & Network Protection section

Hiding the Firewall & Network Protection section can help IT administrators, parents, or users who want to limit access to firewall settings. Depending on the Windows 10 edition in use, Group Policy and the Registry Editor provide two effective methods to achieve this.

Keep in mind that even after hiding this section, the firewall remains active, ensuring security is maintained unless manually turned off. If needed, the section can be restored easily by reversing the changes in the Group Policy or the Registry. You can balance security and control with the right approach while keeping your system configuration streamlined.

Quick-Start Guide

Use this NinjaOne script to enable or disable Windows Firewall for Domain, Public, and Private profiles.

This script allows you to manage Windows Firewall profiles efficiently using PowerShell. Here are the key functionalities:

  • Provides granular control, letting you toggle each profile independently based on your network environment.
  • Ideal for bulk configuration across multiple devices, ensuring consistent security policies.
  • Requires Administrator privileges to execute successfully.
  • Offers flexible deployment via NinjaOne policies or direct script execution.

FAQs

No. Hiding the Firewall & Network Protection section only removes the page from Windows Security. Microsoft Defender Firewall remains active, and all existing firewall rules continue to function unless you disable the firewall separately.

You can hide the page using two methods:

For Group Policy:

  1. Navigate to Computer Configuration > Administrative Templates > Windows Components > Windows Security > Firewall & Network Protection
  2. Enable Hide the Firewall & Network Protection area.

Using Registry Editor:

  1. Create a DWORD named UILockdown under: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender Security Center\Firewall and Network Protection
  2. Set it to 1 and restart Windows.

Yes, but only through the Registry Editor. Windows 11 Home does not include the Group Policy Editor, so the GPO-based method is not available.

Organizations often hide this section to:

  • Prevent users from overriding Microsoft Defender Firewall settings
  • Enforce strict security baselines
  • Reduce help desk tickets caused by users disabling firewall profiles
  • Maintain consistent firewall rules in managed or domain-joined environments

Yes, unless additional restrictions are enforced. Hiding the UI does not remove access to:

  • wf.msc (Windows Defender Firewall with Advanced Security)
  • PowerShell (Set-NetFirewallProfile, New-NetFirewallRule)
  • netsh advfirewall commands

To fully restrict access, IT teams must apply additional GPO settings.

Yes. The Group Policy and Registry keys are supported in both operating systems.
The main difference is the Windows 11 navigation path:

Settings > Privacy & Security > Windows Security > Firewall & network protection

  • GPO: Set the policy to Not Configured or Disabled, then run gpupdate /force.
  • Registry: Delete the UILockdown value or set it to 0, then restart Windows to apply the change.

If you disable Microsoft Defender Firewall and hide this section, users lose access to firewall controls entirely. This configuration should only be used when you have a third-party firewall or endpoint security solution managing protections.

You can still open firewall configurations through:

  • Control Panel: Control Panel > System and Security > Microsoft Defender Firewall
  • Windows Defender Firewall with Advanced Security: Run wf.msc
  • PowerShell: Firewall management cmdlets
  • Command Prompt: netsh advfirewall commands

You might also like

Ready to simplify the hardest parts of IT?